product_ticker

Pack: coinbase-exchange · Endpoint: https://gateway.pipeworx.io/coinbase-exchange/mcp

Coinbase Exchange (US-regulated crypto venue) — best bid/ask, last trade price, and volume for a crypto pair. Use for current pricing on a Coinbase-listed pair.

Parameters

NameTypeRequiredDescription
product_idstringyes

Example call

Arguments

{
  "product_id": "BTC-USD"
}

curl

curl -X POST https://gateway.pipeworx.io/coinbase-exchange/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"product_ticker","arguments":{"product_id":"BTC-USD"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('product_ticker', {
  "product_id": "BTC-USD"
});

Response shape

FieldTypeDescription
trade_idintegerTrade ID
pricestringLast trade price
sizestringLast trade size
timestringTrade time
bidstringBest bid price
askstringBest ask price
volumestring24h trading volume
Full JSON Schema
{
  "type": "object",
  "properties": {
    "trade_id": {
      "type": "integer",
      "description": "Trade ID"
    },
    "price": {
      "type": "string",
      "description": "Last trade price"
    },
    "size": {
      "type": "string",
      "description": "Last trade size"
    },
    "time": {
      "type": "string",
      "description": "Trade time"
    },
    "bid": {
      "type": "string",
      "description": "Best bid price"
    },
    "ask": {
      "type": "string",
      "description": "Best ask price"
    },
    "volume": {
      "type": "string",
      "description": "24h trading volume"
    }
  },
  "description": "Best bid/ask and last trade"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "coinbase-exchange": {
      "url": "https://gateway.pipeworx.io/coinbase-exchange/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 12, 2026