Spiral gives your agent every tool with one account. Browse the tools →

Codex · Finance

How to Use Coinbase Exchange currency details in Codex

Returns one currency's identity, precision, status, and supported networks. Use it to interpret an asset's amounts and network metadata without scanning the currency catalog.

Prompts to try with Coinbase Exchange currency details in Codex

Copy an example into Codex, or ask in your own words.

Use Coinbase Exchange currency details for ETH and add its status, precision, and supported networks to the project's internal asset inspector.

Coinbase Exchange currency detailsCodex
Try asking
  • Use Coinbase Exchange currency details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Coinbase Exchange currency details and tell me what changed since last week.

  • Check Coinbase Exchange currency details and summarize what you find in three bullet points.

  • Pull the newest data from Coinbase Exchange currency details and give me the result as a table.

How to set up Coinbase Exchange currency details in Codex

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Coinbase Exchange currency details

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "api-exchange-coinbase-com/markets/get_currency",
        "input": {
          "currency_id": "<currency_id>"
        }
      }'

Then paste one of the prompts above: Codex finds Coinbase Exchange currency details on Spiral, shows the price and runs it.

Coinbase Exchange currency details providers and prices

Spiral runs Coinbase Exchange currency details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
Coinbase Exchange · Get currency
api-exchange-coinbase-com/markets/get_currency

What can you do with Coinbase Exchange currency details in Codex?

Build an internal Coinbase research screen with asset metadata, market history, liquidity, and cbETH staking context. With Coinbase's written consent for AI use, connect those records to your project's data models.

Internal ETH market research brief

Combine ETH market history, recent executions, spreads, displayed depth, and volume with currency and pair metadata. Add cbETH conversion, supply, and APY to give the staking data its own context.

cbETH supply and staking watch

Compare cbETH's circulating supply and implied APY across saved observations. Keep its currency identity, precision, and supported networks alongside those observations.

Exchange catalog change audit

Compare saved currency and trading pair catalogs to find additions and changes. Inspect the affected currency and pair records for precision, network, status, and trading restriction changes.

Internal morning market report

Summarize BTC and ETH daily candles, current tickers, and market volume for colleagues. Resolve currency identities and available pairs before assembling the report.

Market data normalization checks

Check an internal data pipeline's handling of decimal amounts, timestamps, trade IDs, aggregated sizes, currency codes, and pair definitions. Check wrapped-asset conversion and supply records separately from exchange prices and volumes.

Questions about Coinbase Exchange currency details in Codex

Can Codex use Coinbase Exchange currency details?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Coinbase Exchange currency details like any built-in tool.

How much does Coinbase Exchange currency details cost in Codex?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

Do I need an Alexandria account to use Coinbase Exchange currency details in Codex?

No. Spiral runs Coinbase Exchange currency details on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Coinbase Exchange currency details in Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while Coinbase Exchange currency details runs?

Coinbase Exchange currency details runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

Does this cover the whole crypto market?

The data comes from Coinbase Exchange. Its prices, executions, and displayed liquidity describe that venue, rather than a consolidated view across crypto exchanges.

Does a currency appearing in Coinbase's catalog mean it currently trades?

Coinbase explicitly says some known currencies may not currently be used for trading. The currency catalog and trading pair catalog describe different things: assets and markets.

Is REST intended to capture every market change?

Coinbase describes REST as suitable for lower-frequency requests and provides a WebSocket feed for market data. A REST snapshot should not be treated as a continuous record of every intervening change.

Can Coinbase change a trading pair's details?

Yes. Coinbase says a product ID stays fixed once assigned, while the other product fields can change.

Do Coinbase's terms permit AI agent use?

Coinbase's current terms require prior express written consent for uses related to operating AI technologies. The restriction extends beyond model training.

Get started

Start using Coinbase Exchange currency details in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options