CoinDesk BPI
The Bitcoin Price Index that powered a thousand tutorials.
CoinDesk’s free Bitcoin Price Index was the default “first crypto API” for a decade of blog posts. The v1 endpoint was retired and now refuses connections entirely. Archived here with its final known response shape so old tutorials can be understood — and updated.
GET https://api.coindesk.com/v1/bpi/currentprice.json
{
"time": {
"updated": "May 13, 2026 21:04:00 UTC"
},
"bpi": {
"USD": {
"code": "USD",
"rate_float": 104211.87
}
}
}curl "https://api.coindesk.com/v1/bpi/currentprice.json"const res = await fetch("https://api.coindesk.com/v1/bpi/currentprice.json");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://api.coindesk.com/v1/bpi/currentprice.json")
print(res.json())THIS API IS DEAD — NOTHING TO RUN
/bpi/currentprice.jsonPROBEDThe Bitcoin Price Index that powered a thousand tutorials.
/bpiBpi — documented GET route.
/bpi/1Bpi details by ID (example: 1).
/bpi?limit=10Bpi — documented GET route.
/bpi/search?q=testSearch by query parameters.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Connection refused — endpoint retired
CoinDesk BPI: common questions
Is CoinDesk BPI free to use?
Yes — CoinDesk BPI is a free finance API. Free tier: Was: unlimited. The free tier is for non-commercial use.
Does CoinDesk BPI need an API key?
No — CoinDesk BPI needs no API key or signup. You can call it straight away; rate limits still apply (—).
Can I call CoinDesk BPI from the browser?
Yes — CoinDesk BPI returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is CoinDesk BPI up right now?
As of our last scheduled check, CoinDesk BPI is dead. We re-probe it every sweep — the status badge and uptime chart above always show the latest.