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

List trading pairs.

No parameters required.

▶Try it
product

Single product.

No parameters required.

▶Try it
product_book

Orderbook.

No parameters required.

▶Try it
product_ticker

Best bid/ask + last trade.

No parameters required.

▶Try it
product_trades

Recent trades.

No parameters required.

▶Try it
product_candles

OHLC candles.

No parameters required.

▶Try it
product_stats

24h stats.

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");