[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [Coinbase Exchange ticker](https://spiral.ai/integrations/vscode/coinbase-exchange-ticker)

# How to Use Coinbase Exchange ticker in VS Code

Returns a trading pair's last trade, best bid and ask, and 24-hour volume. Use it for a compact market snapshot when you do not need deeper bids and asks or individual trade history.

|  |  |
| --- | --- |
| Model | Coinbase Exchange ticker |
| 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 ticker in VS Code

- Use Coinbase Exchange ticker to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Coinbase Exchange ticker and tell me what changed since last week.
- Check Coinbase Exchange ticker and summarize what you find in three bullet points.
- Pull the newest data from Coinbase Exchange ticker and give me the result as a table.
- Check Coinbase Exchange ticker every morning and tell me only when something changed.

## How to set up Coinbase Exchange ticker in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **Sign in**: VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

### Use the Spiral skill

1. **Send VS Code 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 ticker**: 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/get_ticker",
    "input": {
      "product_id": "<product_id>"
    }
  }'
```

Then paste one of the prompts above: VS Code finds Coinbase Exchange ticker on Spiral, shows the price and runs it.

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

## Coinbase Exchange ticker tools and prices

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

## What can you do with Coinbase Exchange ticker in VS Code?

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 market and conversion comparison

Find available cbETH pairs and compare their quoted market activity with Coinbase's staking conversion rate. Include recent trades and displayed bids and asks to explain what the exchange is showing.

### Displayed liquidity comparison

Compare BTC-USD and ETH-USD spreads, aggregated depth, recent trade sizes, and market volume. Include trading restrictions and increments so the comparison retains each pair's market context.

### 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 VS Code guides](https://spiral.ai/integrations/vscode)

## Coinbase Exchange ticker in other agents

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

## More VS Code guides

- [Coinbase Exchange recent trades](https://spiral.ai/integrations/vscode/coinbase-exchange-recent-trades)
- [Coinbase Exchange trading pair details](https://spiral.ai/integrations/vscode/coinbase-exchange-trading-pair-details)
- [Coinbase Exchange price candles](https://spiral.ai/integrations/vscode/coinbase-exchange-price-candles)
- [Coinbase Exchange trading pair list](https://spiral.ai/integrations/vscode/coinbase-exchange-trading-pair-list)
- [Coinbase Exchange order book](https://spiral.ai/integrations/vscode/coinbase-exchange-order-book)
- [Coinbase Exchange volume summary](https://spiral.ai/integrations/vscode/coinbase-exchange-volume-summary)

## Questions about Coinbase Exchange ticker in VS Code

**Can VS Code use Coinbase Exchange ticker?**

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Coinbase Exchange ticker like any built-in tool.

**How much does Coinbase Exchange ticker cost in VS Code?**

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

**Do I need an Alexandria account to use Coinbase Exchange ticker in VS Code?**

No. Spiral runs Coinbase Exchange ticker 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 ticker in VS Code?**

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

**Does VS Code wait while Coinbase Exchange ticker runs?**

Coinbase Exchange ticker runs in the background. VS Code 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.

