Crypto Price API logo
FinanceMAINTAINED10 tokens / call

Crypto Price API

Live Coinbase spot prices for 400+ crypto assets in 170+ currencies, with candles and 24h stats

Live cryptocurrency prices from Coinbase: spot prices for 400+ crypto assets in 170+ fiat currencies (or in other cryptos), dated daily spot lookups, batch pricing of up to 50 symbols, crypto↔fiat and crypto↔crypto conversion, 24h statistics with bid/ask, OHLCV candle history (1 minute to 1 day, up to 300 candles) and asset/pair directories — edge-cached for 60 seconds.

Every call needs an X-Api-Key header. A free key includes 500 tokens a month, no card required. 10 tokens per call, so the free plan covers about 50 calls a month.

No credit card requiredAccess to 125+ APIsCancel anytime
response.json
{
  "ok": true,
  "currency": "USD",
  "count": 3,
  "prices": {
    "BTC": 77245.47,
    "ETH": 2513.8,
    "SOL": 101.71
  },
  "unsupported_symbols": [
    "XYZ"
  ]
}
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 125+ APIs
Your DataAndAPIs subscription unlocks every API on the platform — anime, finance, sports, and more.

Use cases for Crypto Price API

  • Display live BTC, ETH and altcoin prices in a wallet, portfolio tracker or news site, refreshed every minute.

  • Convert between crypto and fiat, or crypto and crypto, at the current spot rate for checkout or settlement screens.

  • Draw price charts from OHLCV candles at any interval from one minute to one day.

  • Price a whole portfolio of up to 50 symbols in one request from a single rate table.

Crypto Price API endpoints

Every endpoint with its parameters and a real example response.

GETBatch Prices

https://api-crypto.dataandapis.com/v1/prices

Query parameters

ParameterExample
currencyUSDOptional
symbolsBTC,ETH,SOLRequired

Example request

curl "https://api-crypto.dataandapis.com/v1/prices?currency=USD&symbols=BTC%2CETH%2CSOL" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "currency": "USD",
  "count": 3,
  "prices": {
    "BTC": 77245.47,
    "ETH": 2513.8,
    "SOL": 101.71
  },
  "unsupported_symbols": [
    "XYZ"
  ]
}

GETConvert

https://api-crypto.dataandapis.com/v1/convert

Query parameters

ParameterExample
amount0.5Optional
fromBTCRequired
toEURRequired

Example request

curl "https://api-crypto.dataandapis.com/v1/convert?amount=0.5&from=BTC&to=EUR" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "from": "BTC",
  "to": "EUR",
  "amount": 0.5,
  "rate": 66630.69,
  "inverse_rate": 0.00001500809912,
  "result": 33315.345
}

GETData Sources

https://api-crypto.dataandapis.com/v1/sources

This endpoint takes no parameters.

Example request

curl "https://api-crypto.dataandapis.com/v1/sources" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "sources": [
    {
      "name": "Coinbase Prices API",
      "url": "https://docs.cdp.coinbase.com/coinbase-app/docs/api-prices",
      "provides": "Spot prices (live and dated) and exchange-rate tables for 400+ crypto assets and 170+ fiat currencies."
    },
    {
      "name": "Coinbase Exchange Market Data",
      "url": "https://docs.cdp.coinbase.com/exchange/reference/exchangerestapi_getproducts",
      "provides": "24h statistics, bid/ask and OHLCV candles for pairs traded on Coinbase Exchange."
    }
  ],
  "cache": {
    "prices_seconds": 60,
    "lists_seconds": 3600
  },
  "attribution": {
    "source": "Coinbase public price and exchange market data",
    "source_url": "https://docs.cdp.coinbase.com/coinbase-app/docs/api-prices",
    "note": "Live market data, edge-cached for up to 60 seconds. Spot prices come from Coinbase's price API; 24h statistics, bid/ask and candles come from Coinbase Exchange and exist only for pairs traded there (see /v1/pairs)."
  }
}

GETList Currencies

https://api-crypto.dataandapis.com/v1/currencies

Query parameters

ParameterExample
qbitOptional
typecryptoOptional

Example request

curl "https://api-crypto.dataandapis.com/v1/currencies?q=bit&type=crypto" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "type": "crypto",
  "count": 5,
  "currencies": [
    {
      "code": "ARB",
      "name": "Arbitrum",
      "color": "#12AAFF"
    },
    {
      "code": "BCH",
      "name": "Bitcoin Cash",
      "color": "#8DC351"
    },
    {
      "code": "BOBBOB",
      "name": "BOB (Build on Bitcoin)",
      "color": "#F25D00"
    },
    {
      "code": "BTC",
      "name": "Bitcoin",
      "color": "#F7931A"
    },
    {
      "code": "TAO",
      "name": "Bittensor",
…
Show full response
{
  "ok": true,
  "type": "crypto",
  "count": 5,
  "currencies": [
    {
      "code": "ARB",
      "name": "Arbitrum",
      "color": "#12AAFF"
    },
    {
      "code": "BCH",
      "name": "Bitcoin Cash",
      "color": "#8DC351"
    },
    {
      "code": "BOBBOB",
      "name": "BOB (Build on Bitcoin)",
      "color": "#F25D00"
    },
    {
      "code": "BTC",
      "name": "Bitcoin",
      "color": "#F7931A"
    },
    {
      "code": "TAO",
      "name": "Bittensor",
      "color": "#0A0B0D"
    }
  ]
}

GETPair Spot Price

https://api-crypto.dataandapis.com/v1/price/{pair}

Path parameters

ParameterExample
pairBTC-USDRequired

Query parameters

ParameterExample
dateOptional

Example request

curl "https://api-crypto.dataandapis.com/v1/price/BTC-USD" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "pair": "BTC-USD",
  "symbol": "BTC",
  "currency": "USD",
  "price": 77247.385,
  "bid": 77249.16,
  "ask": 77249.17,
  "last_trade_at": "2026-09-12T06:36:46.014591103Z",
  "stats_24h": {
    "open": 77265.11,
    "high": 79852.22,
    "low": 76030,
    "last": 77245.47,
    "volume": 6747.76900845,
    "volume_30d": 209324.00018318,
    "change": -19.64,
    "change_pct": -0.03
  },
  "exchange_traded": true
}

GETPrice History

https://api-crypto.dataandapis.com/v1/history/{pair}

Path parameters

ParameterExample
pairBTC-USDRequired

Query parameters

ParameterExample
endOptional
interval1dOptional
limit7Optional
startOptional

Example request

curl "https://api-crypto.dataandapis.com/v1/history/BTC-USD?interval=1d&limit=7" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "pair": "BTC-USD",
  "interval": "1d",
  "start": "2026-09-06T00:00:00.000Z",
  "end": "2026-09-12T00:00:00.000Z",
  "count": 7,
  "summary": {
    "open": 79833.86,
    "close": 77247.38,
    "high": 80564.24,
    "low": 76030,
    "volume": 29911.93442,
    "change": -2586.48,
    "change_pct": -3.24
  },
  "candles": [
    {
      "time": "2026-09-06T00:00:00.000Z",
      "open": 79833.86,
      "high": 80564.24,
      "low": 79250,
      "close": 80339.13,
      "volume": 2000.39186862
    },
    {
      "time": "2026-09-07T00:00:00.000Z",
      "open": 80339.13,
…
Show full response
{
  "ok": true,
  "pair": "BTC-USD",
  "interval": "1d",
  "start": "2026-09-06T00:00:00.000Z",
  "end": "2026-09-12T00:00:00.000Z",
  "count": 7,
  "summary": {
    "open": 79833.86,
    "close": 77247.38,
    "high": 80564.24,
    "low": 76030,
    "volume": 29911.93442,
    "change": -2586.48,
    "change_pct": -3.24
  },
  "candles": [
    {
      "time": "2026-09-06T00:00:00.000Z",
      "open": 79833.86,
      "high": 80564.24,
      "low": 79250,
      "close": 80339.13,
      "volume": 2000.39186862
    },
    {
      "time": "2026-09-07T00:00:00.000Z",
      "open": 80339.13,
      "high": 80462.23,
      "low": 78666,
      "close": 79091.97,
      "volume": 3292.97954149
    },
    {
      "time": "2026-09-08T00:00:00.000Z",
      "open": 79091.97,
      "high": 79477.07,
      "low": 77589,
      "close": 78447.11,
      "volume": 5149.1413426
    },
    {
      "time": "2026-09-09T00:00:00.000Z",
      "open": 78449.28,
      "high": 79752.73,
      "low": 77727,
      "close": 78283.98,
      "volume": 5255.8427141
    },
    {
      "time": "2026-09-10T00:00:00.000Z",
      "open": 78283.98,
      "high": 78554.18,
      "low": 76440,
      "close": 76536.55,
      "volume": 6390.76117588
    },
    {
      "time": "2026-09-11T00:00:00.000Z",
      "open": 76536.55,
      "high": 79852.22,
      "low": 76030,
      "close": 77208.55,
      "volume": 7310.99918713
    },
    {
      "time": "2026-09-12T00:00:00.000Z",
      "open": 77208.55,
      "high": 77372.86,
      "low": 77152.54,
      "close": 77247.38,
      "volume": 511.81858622
    }
  ]
}

GETTrading Pairs

https://api-crypto.dataandapis.com/v1/pairs

Query parameters

ParameterExample
qBTCOptional
quoteEUROptional
statusOptional

Example request

curl "https://api-crypto.dataandapis.com/v1/pairs?q=BTC&quote=EUR" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "count": 1,
  "pairs": [
    {
      "pair": "BTC-EUR",
      "base": "BTC",
      "quote": "EUR",
      "status": "online"
    }
  ]
}

Where the data comes from

Source
Coinbase public price API and Coinbase Exchange market data.
Freshness
Live, with a 60-second edge cache on prices and one hour on directories.

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
7endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses — auto-completion in your IDE
  • Tracks the API in lockstep — new endpoints land same day
  • One key works across 125+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  'https://api-crypto.dataandapis.com/v1/prices',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

Crypto Price API · X-Api-Key

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Headers

X-Api-Key

Query Parameters

currency(Optional)
symbols(Required)
import axios from 'axios';

const url = 'https://api-crypto.dataandapis.com/v1/prices';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

One subscription. Every API.

Tokens unlock this API and 125+ others on DataAndAPIs. Switch APIs any time — we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales →

Questions about Crypto Price API

Ship Crypto Price API this afternoon.

500 free tokens. No card. Plus 125+ other APIs on the same key.