CoinCap API
Real-time crypto prices and market data with a clean, free, no-key REST API.
What it does
CoinCap provides real-time prices, market caps, 24h volume, supply and historical time series for a few thousand crypto assets, aggregated across many exchanges, plus fiat exchange rates and per-market data.
Base URL
Authentication
CoinCap 3.0 requires a free API key — sign up at pro.coincap.io and pass it as Authorization: Bearer YOUR_KEY or ?apiKey=YOUR_KEY. The old key-less api.coincap.io/v2 endpoints have been retired.
Code examples
curl -s "https://rest.coincap.io/v3/assets?limit=5" \ -H "Authorization: Bearer $COINCAP_KEY"
import requests
r = requests.get("https://rest.coincap.io/v3/assets/bitcoin",
headers={"Authorization": f"Bearer {KEY}"}, timeout=10)
d = r.json()["data"]
print(d["priceUsd"], d["changePercent24Hr"])Rate limits & quotas
The free plan allows a set number of requests per month (in the low hundreds of thousands) with a per-minute cap; higher tiers raise both. History endpoints (/assets/{id}/history) take an interval (m1…d1) and a time range.
Key response fields
| data.priceUsd | Volume-weighted average price across markets |
| data.changePercent24Hr | 24h percentage change |
| data.marketCapUsd / data.supply | Cap and circulating supply |
| data[].rank | Market-cap rank |
| timestamp | Server time the response was generated |
Common errors
| 401 | Missing or invalid API key (v3 requires one). |
| 404 | Retired v2 endpoint, or unknown asset id. |
| 429 | Rate or monthly quota exceeded. |
When to use it (and alternatives)
A clean, simple alternative to CoinGecko for prices and basic history. If you specifically want a no-key option, CoinPaprika still offers one.
FAQ
Does the old api.coincap.io/v2 still work?
No. CoinCap 2.0 has been shut down. Migrate to rest.coincap.io/v3 and add a free API key.
Is CoinCap still free?
Yes, there is a free tier — but it now requires signing up for an API key and stays within a monthly request quota.
How do I get an hourly price history?
Call /v3/assets/bitcoin/history?interval=h1&start=&end= with millisecond timestamps. Intervals range from m1 to d1.
New to APIs?
Short guides for working with this API — and any other.