Pushbuild

Coinbase Exchange API - Crypto Prices, 24h Stats, Candles

Coinbase Exchange public market data: live price, bid, ask, 24h open, high, low, change and volume (base and USD) and 30-day volume for any trading pair, OHLC candles from 1 minute to 1 day, and the full list of trading pairs with increments and status.

$0.08 per 1,000 rows

Get an API key

What it returns

Public market data from Coinbase Exchange, the largest US crypto exchange.

Common uses

Price feeds, portfolio trackers, charts, alerts and trading research. Pay per row returned.

Request

POST https://api.pushbuild.com/coinbase-exchange-prices/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
modestring: stats, candles, products24h stats, candles, or the pair list. Default: "stats".
productsstringComma separated, e.g. BTC-USD,ETH-USD,SOL-USD
intervalstring: 1m, 5m, 15m, 1h, 6h, 1dCandles only (up to 300 candles per pair). Default: "1h".
quotestringProducts list only, e.g. USD
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/coinbase-exchange-prices/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.08 per 1,000 rows. No charge for errors or empty searches.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.