XBT API
Free XBT data for your app, bot, wallet or spreadsheet. No key, no sign-up. JSON over HTTPS with CORS open, so it works from a browser too.
Endpoints
Live price
GET https://xbt.live/api/priceXBT price from every market, 24h high, low and volume. Refreshes every 10 seconds.Widget (small)
GET https://xbt.live/api/widgetPrice, 24h change, XBT/BTC, hash rate, difficulty, next retarget, last 6 blocks and top 5 pools in one small payload.Full snapshot
GET https://xbt.live/api/snapshotEverything on the homepage: chain tip, supply, halving, difficulty, retarget, hash rate, pools, fees, mempool, markets and all-time high.Price history
GET https://xbt.live/api/historyPrice points for the homepage chart.Chart series
GET https://xbt.live/api/series?m=hashrate&p=1mTime series behind our charts. m = price, xbtbtc, hashrate, difficulty, pools, nodes or prefork. p = 24h, 3d, 1w, 1m, 3m, 6m, 1y.Markets
GET https://xbt.live/api/marketsEach exchange market with price, spread and volume, plus FX rates.Nodes
GET https://xbt.live/api/nodesReachable XBT nodes by version, and how many enforce the coinbase lock.Wallet price feed
GET https://xbt.live/api/v1/pricesMempool-style rates ({"USD": ...}) for wallets like Shrike. Also at /v2/exchange-rates in Coinbase format.Reference price, all days
GET https://xbt.live/api/v1/reference/dailyDaily reference rate since Sept 1, 2026. Add ?start=&end= or ?format=csv.Reference price, one day
GET https://xbt.live/api/v1/reference/day?date=2026-10-01One finalized day.Reference price, latest
GET https://xbt.live/api/v1/reference/latestLast finalized day plus the live price.News
GET https://xbt.live/news/articles.jsonOur published stories with title, summary, image and date.Try it
curl https://xbt.live/api/widget
fetch("https://xbt.live/api/price").then(r => r.json()).then(d => console.log(d))
Fair use
- Responses are cached at the edge for 10 seconds to 15 minutes. Polling faster than that just returns the same data.
- Please cache on your side and keep it under about one request per 10 seconds per app.
- Credit "Data: xbt.live" with a link where you show the numbers.
- Fields may be added over time. We try not to rename or remove existing ones. The reference-price endpoints are versioned and stable.
How the reference price is calculated: methodology. Building something with it? Tell us on X at @Xbt_Live and we'll add it to tools.
Data is provided as-is from public exchange and block explorer data. Not financial advice.