New here? Get a €25 bonus when you make your first trade
Data API

Blockchain and market data, one API

Real-time and historical prices, token balances, transfers and NFT data across major networks.

balances.sh
# Token balances for an address curl https://api.Coinbase.example/v1/balances \ -H "Authorization: Bearer $YB_KEY" \ -d network=ethereum \ -d address=0x8f3a…c21e

What you get

Prices

Tick-level and OHLC candles.

Balances

Tokens and NFTs for any address.

History

Full transaction history, decoded.

Webhooks

Get notified of onchain events.

Popular endpoints

EndpointDescription
GET /v1/prices/{pair}Latest price for a trading pair
GET /v1/candles/{pair}Historical OHLC candles
GET /v1/balancesToken balances for an address
GET /v1/transfersDecoded transfer history
POST /v1/webhooksSubscribe to onchain events

Quickstart

  1. Step 1

    Create an account

    Sign up for a free developer account.

  2. Step 2

    Generate API keys

    Create keys with the scopes you need.

  3. Step 3

    Install the SDK

    npm, pip or go get, whichever you prefer.

  4. Step 4

    Ship it

    Test on testnet, then switch to mainnet.

Start building in minutes

Create a free developer account and get API keys instantly.