Free bitcoin price APIs you can call right now

Coinbase's spot price endpoint (api.coinbase.com/v2/prices/BTC-USD/spot) returns the bitcoin price as JSON with no key and no account. Kraken, Binance and CoinGecko also have free public endpoints for BTC. All four rate-limit heavy use, so cache the price for 30 to 60 seconds instead of asking on every page view.

Try it free Crypto Price Lookup API — 25 coins per call, $0.002 · $0.002 / call

Four URLs to paste into a browser

# Coinbase: spot price in USD
https://api.coinbase.com/v2/prices/BTC-USD/spot

# Kraken: ticker (Kraken calls bitcoin XBT)
https://api.kraken.com/0/public/Ticker?pair=XBTUSD

# Binance: last trade price against USDT
https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDT

# CoinGecko: average across many exchanges, with 24h change
https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd&include_24hr_change=true

Which number you're getting

For a website ticker, any of them is fine. For accounting or invoices, pick one source and write down which, so your numbers are repeatable.

SourceWhat the price isNotes
Coinbase spotCoinbase's own reference priceNo authentication, per Coinbase's docs
Kraken tickerLast trade, bid and ask on KrakenReturns arrays; the last price is c[0]
Binance tickerLast trade on Binance, quoted in USDTUSDT is close to, but not exactly, USD; Binance isn't reachable from every country
CoinGecko simple priceA volume-weighted average of many exchangesFree key raises the limit; keyless use is slower

Read it in JavaScript

const r = await fetch("https://api.coinbase.com/v2/prices/BTC-USD/spot");
const { data } = await r.json();
console.log(`BTC: $${Number(data.amount).toLocaleString()}`);

Cache it once, serve it many times

If a page shows the BTC price to every visitor, fetch it on your server once a minute and store the number with its time. Visitors read your copy, so 10,000 page views still cost one request a minute and you never hit a rate limit. Show the time next to the price so nobody mistakes it for a live trading quote.

What "free" doesn't cover

A paid option for agents and multi-coin calls

Our Crypto Price Lookup API returns bitcoin and up to 24 other coins in one call with price, 24h change, 24h volume, market cap and updated_at, in USD or 15 other currencies including EUR, GBP, JPY and INR. It isn't free: each call is $0.002, paid per call in USDC on Base via x402. You can try it 5 times a day without a wallet on the listing page. If all you need is one BTC price, the free endpoints above are the better choice.

The product

Questions

Which free bitcoin API is most accurate?

None is "the" price; each reports its own market or an average. CoinGecko and CoinMarketCap average many exchanges, which smooths out one venue's spikes.

How often can I call these for free?

Each sets its own limits and few publish a fixed number for keyless use. Once a minute per server is safe almost everywhere.

Is there a free bitcoin price history API?

Yes. CoinGecko has market_chart endpoints and exchanges have candle endpoints. Our Price Lookup API is live prices only.

Related

Updated 2026-12-02