Crypto price API
Get USD prices, volume, change and candles from a REST/JSON crypto pricing API in CoinGecko's answer shapes.
curl "https://api.coinprice.dev/v2/simple/price?ids=bitcoin,ethereum&vs_currencies=usd&include_24hr_vol=true&include_24hr_change=true&include_last_updated_at=true" \ -H "Authorization: Bearer $API_KEY"const res = await fetch('https://api.coinprice.dev/v2/simple/price?ids=bitcoin,ethereum&vs_currencies=usd&include_24hr_vol=true&include_24hr_change=true&include_last_updated_at=true', { headers: { Authorization: `Bearer ${process.env.API_KEY}` },})console.log(await res.json())import os, requestsres = requests.get( 'https://api.coinprice.dev/v2/simple/price?ids=bitcoin,ethereum&vs_currencies=usd&include_24hr_vol=true&include_24hr_change=true&include_last_updated_at=true', headers={'Authorization': f"Bearer {os.environ['API_KEY']}"},)print(res.json())package mainimport ( "fmt" "io" "net/http" "os")func main() { req, _ := http.NewRequest("GET", "https://api.coinprice.dev/v2/simple/price?ids=bitcoin,ethereum&vs_currencies=usd&include_24hr_vol=true&include_24hr_change=true&include_last_updated_at=true", nil) req.Header.Set("Authorization", "Bearer "+os.Getenv("API_KEY")) res, err := http.DefaultClient.Do(req) if err != nil { panic(err) } defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body))}Response
{
"bitcoin": {
"last_updated_at": 1795505227,
"usd": 60367.42462,
"usd_24h_change": -1.6653681008539922,
"usd_24h_vol": 6943458273
},
"ethereum": {
"last_updated_at": 1795505227,
"usd": 1695.115,
"usd_24h_change": -1.5692684683010771,
"usd_24h_vol": 2754355534
}
}Start with a free crypto API
Get 50,000 calls a month with an API key and no card. Commercial use needs a visible link back.
- 50,000calls a month
- 100calls a minute
- 1API key
- Stream: 1 × 10 channels, 5 s
Every coin we price
The coins below lead by 24h volume. The coverage page lists every coin.
Choose how to connect
An endpoint for each job
Price data for the apps you build
Frequently asked questions
Is there a free crypto price API?
Yes, the Free plan includes 50,000 calls a month and 100 calls a minute. You need an API key, but no card.
What is the best crypto price API?
Compare coin coverage, freshness, history and usage limits. Every price here is the median of up to seven exchanges and carries the time it was seen.
Which coins does the API support?
Every coin traded on two or more of seven exchanges, with stablecoins and leveraged tokens left out. The coverage page lists each one. Coins on fewer than three exchanges are priced but kept out of rankings.
How fresh are the prices?
Prices are worked out every second. Each answer carries last_updated_at, the Unix time we saw the price. If no new price arrives in time, the last price stays with its old time.
How much candle history is available?
Hourly and daily candles start on 1 Jan 2023, or when the coin began. Minute candles are kept 30 days on Free and 90 days on paid plans, and minute history begins on 23 Nov 2026.
Can I use the API commercially?
Yes, on every plan. Free needs a visible link back to us. Starter is $29 a month, Basic $79 and Pro $299.
What happens when I reach a limit?
Every plan stops at its monthly limit (Free: 50,000 calls) and nothing is billed extra; we email you at 80% and 100%. Going over the per-minute limit returns HTTP 429 with a Retry-After header.
Start with a free API key
50,000 requests a month on the free plan. No card needed.