Coinbase Exchange

liveCryptoMarkets

Coinbase Exchange public API — trading pairs, orderbooks, tickers, recent trades, OHLC candles, and 24h stats for crypto markets.

10tools
0msauth
free tier50 calls/day

Tools

products

Coinbase Exchange — list all available trading pairs (products) with base/quote currency, min order size, status, and trading rules.

No parameters required.

▶Try it
product

Single product.

No parameters required.

▶Try it
product_book

Coinbase Exchange (US-regulated crypto venue) live order book — bids + asks for a crypto pair like "BTC-USD". Levels 1-3 control depth. Use for spread analysis, liquidity assessment, market making.

No parameters required.

▶Try it
product_ticker

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.

No parameters required.

▶Try it
product_trades

Coinbase Exchange — recent trade tape for a crypto pair (e.g. 'BTC-USD'): trade ID, price, size, side, and timestamp. Supports limit and before/after cursor pagination.

No parameters required.

▶Try it
product_candles

Coinbase Exchange OHLC candles for a crypto pair. Granularity 1m, 5m, 15m, 1h, 6h, 1d. Use for charting and backtesting on Coinbase-listed pairs.

No parameters required.

▶Try it
product_stats

Coinbase Exchange 24-hour rolling stats for a crypto pair: open, high, low, last, volume, 30-day volume. Use for daily summary.

No parameters required.

▶Try it
currencies

List currencies.

No parameters required.

▶Try it
currency

Single currency.

No parameters required.

▶Try it
time

Server time.

No parameters required.

▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/coinbase-exchange/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/coinbase-exchange/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"products","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("products", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("coinbase exchange public api — trading pairs, orderbooks, tickers, recent trades, ohlc candles, and 24h stats for crypto markets");