[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Coinbase Exchange currency list](https://spiral.ai/integrations/opencode/coinbase-exchange-currency-list)

# How to Use Coinbase Exchange currency list in opencode

Returns Coinbase Exchange's known currencies with status, precision, and network metadata. Use it to discover asset codes or build an asset directory, remembering that a known currency may not currently trade.

|  |  |
| --- | --- |
| Model | Coinbase Exchange currency list |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Coinbase Exchange currency list in opencode

- Use Coinbase Exchange currency list 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 list and tell me what changed since last week.
- Check Coinbase Exchange currency list and summarize what you find in three bullet points.
- Pull the newest data from Coinbase Exchange currency list and give me the result as a table.
- Check Coinbase Exchange currency list every morning and tell me only when something changed.

## How to set up Coinbase Exchange currency list in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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.

```bash
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 list**: One request; the result comes back by polling or a webhook.

```bash
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/list_currencies",
    "input": {
      "type": "crypto"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Coinbase Exchange currency list tools and prices

- [Coinbase Exchange · List currencies](https://spiral.ai/tools/alexandria/api-exchange-coinbase-com/markets/list_currencies) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| type | crypto, fiat | — | type |
| limit | 1 to 500 | 100 | Rows per page (client-side paging; the exchange returns the whole list). |
| query |  | — | Case-insensitive substring match on the id, name or display name. |
| offset | 0 to … | 0 | Rows to skip; use `next_offset` from the previous page. |
| status | online, delisted, all | all | status |

## What can you do with Coinbase Exchange currency list in opencode?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Coinbase Exchange currency list in other agents

- [Amp](https://spiral.ai/integrations/amp/coinbase-exchange-currency-list)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/coinbase-exchange-currency-list)
- [Claude](https://spiral.ai/integrations/claude-desktop/coinbase-exchange-currency-list)
- [Claude Code](https://spiral.ai/integrations/claude-code/coinbase-exchange-currency-list)
- [Cline](https://spiral.ai/integrations/cline/coinbase-exchange-currency-list)
- [Codex](https://spiral.ai/integrations/codex/coinbase-exchange-currency-list)
- [Cursor](https://spiral.ai/integrations/cursor/coinbase-exchange-currency-list)
- [Devin](https://spiral.ai/integrations/devin/coinbase-exchange-currency-list)
- [dots](https://spiral.ai/integrations/dots/coinbase-exchange-currency-list)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/coinbase-exchange-currency-list)
- [Gemini](https://spiral.ai/integrations/gemini/coinbase-exchange-currency-list)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/coinbase-exchange-currency-list)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/coinbase-exchange-currency-list)
- [goose](https://spiral.ai/integrations/goose/coinbase-exchange-currency-list)
- [Grok](https://spiral.ai/integrations/grok/coinbase-exchange-currency-list)
- [Grok Build](https://spiral.ai/integrations/grok-build/coinbase-exchange-currency-list)
- [Hermes](https://spiral.ai/integrations/hermes/coinbase-exchange-currency-list)
- [Instinct](https://spiral.ai/integrations/instinct/coinbase-exchange-currency-list)
- [Manus](https://spiral.ai/integrations/manus/coinbase-exchange-currency-list)
- [Muse](https://spiral.ai/integrations/muse/coinbase-exchange-currency-list)
- [Muse Code](https://spiral.ai/integrations/muse-code/coinbase-exchange-currency-list)
- [n8n](https://spiral.ai/integrations/n8n/coinbase-exchange-currency-list)
- [Notion](https://spiral.ai/integrations/notion/coinbase-exchange-currency-list)
- [OpenClaw](https://spiral.ai/integrations/openclaw/coinbase-exchange-currency-list)
- [Perplexity](https://spiral.ai/integrations/perplexity/coinbase-exchange-currency-list)
- [Raycast](https://spiral.ai/integrations/raycast/coinbase-exchange-currency-list)
- [VS Code](https://spiral.ai/integrations/vscode/coinbase-exchange-currency-list)
- [Windsurf](https://spiral.ai/integrations/windsurf/coinbase-exchange-currency-list)
- [Zapier](https://spiral.ai/integrations/zapier/coinbase-exchange-currency-list)

## More opencode guides

- [Coinbase Exchange currency details](https://spiral.ai/integrations/opencode/coinbase-exchange-currency-details)
- [Coinbase Exchange order book](https://spiral.ai/integrations/opencode/coinbase-exchange-order-book)
- [CNBC video details](https://spiral.ai/integrations/opencode/cnbc-video-details)
- [Coinbase Exchange price candles](https://spiral.ai/integrations/opencode/coinbase-exchange-price-candles)
- [CNBC topic news](https://spiral.ai/integrations/opencode/cnbc-topic-news)
- [Coinbase Exchange recent trades](https://spiral.ai/integrations/opencode/coinbase-exchange-recent-trades)

## Questions about Coinbase Exchange currency list in opencode

**Can opencode use Coinbase Exchange currency list?**

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

**How much does Coinbase Exchange currency list cost in opencode?**

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

**Do I need an Alexandria account to use Coinbase Exchange currency list in opencode?**

No. Spiral runs Coinbase Exchange currency list 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 list in opencode?**

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

**Does opencode wait while Coinbase Exchange currency list runs?**

Coinbase Exchange currency list runs in the background. opencode 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.

