Coinbase Exchange
liveCryptoMarketsCoinbase Exchange public API — trading pairs, orderbooks, tickers, recent trades, OHLC candles, and 24h stats for crypto markets.
Tools
coinbase_exchange_productsCoinbase Exchange — list all available trading pairs (products) with base/quote currency, min order size, status, and trading rules.
No parameters required.
Try it
coinbase_exchange_productSingle product.
No parameters required.
Try it
product_bookCoinbase 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_tickerCoinbase 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_tradesCoinbase 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_candlesCoinbase 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_statsCoinbase 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
coinbase_exchange_currenciesList currencies.
No parameters required.
Try it
coinbase_exchange_currencySingle currency.
No parameters required.
Try it
coinbase_exchange_timeServer 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.
curl -X POST https://gateway.pipeworx.io/coinbase-exchange/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'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":"coinbase_exchange_products","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("coinbase_exchange_products", {});// 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");