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

Gemini · Finance

How to Use Coinbase Exchange recent trades in Gemini

Returns individual executions with trade IDs, timestamps, prices, sizes, and maker order sides. Use it to inspect trading activity or build a trade history with cursor pagination.

Prompts to try with Coinbase Exchange recent trades in Gemini

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

Use Coinbase Exchange recent trades to show the latest 100 ETH-USD executions, including their times, prices, sizes, and maker order sides.

Coinbase Exchange recent tradesGemini
Try asking
  • Use Coinbase Exchange recent trades to look this up and give me the result as a table.

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

  • Check Coinbase Exchange recent trades and summarize what you find in three bullet points.

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

How to set up Coinbase Exchange recent trades in Gemini

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

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini 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 recent trades

    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/list_trades",
        "input": {
          "product_id": "<product_id>"
        }
      }'

Then paste one of the prompts above: Gemini finds Coinbase Exchange recent trades on Spiral, shows the price and runs it.

Coinbase Exchange recent trades providers and prices

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

AlexandriaFinance
Coinbase Exchange · List trades
api-exchange-coinbase-com/markets/list_trades

Settings you can ask for

Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Aftera number from 1

Return trades with an id lower than this (older). Use next_after from the previous page. Mutually exclusive with before.

Limit1 to 1000100

Trades per page.

Beforea number from 1

Return trades with an id higher than this (newer). Mutually exclusive with after.

Every API field of Coinbase Exchange · List trades is on its tool page: open its card above.

What can you do with Coinbase Exchange recent trades in Gemini?

Get an internal Coinbase research brief explaining market activity, asset definitions, and cbETH staking context. With Coinbase's written consent for AI use, ask follow-up questions about the returned records in plain English.

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.

Candle aggregation audit

For a bounded BTC-USD interval, compare candle OHLC and volume with the executions retrieved for the same interval. Use the pair's precision rules when checking numerical differences.

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 recent trades in Gemini

Can Gemini use Coinbase Exchange recent trades?

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run Coinbase Exchange recent trades like any built-in tool.

How much does Coinbase Exchange recent trades cost in Gemini?

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

Do I need an Alexandria account to use Coinbase Exchange recent trades in Gemini?

No. Spiral runs Coinbase Exchange recent trades 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 recent trades in Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while Coinbase Exchange recent trades runs?

Coinbase Exchange recent trades runs in the background. Gemini 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 recent trades in Gemini

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

Paste this into Gemini:

Set up Gemini

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