API Directory › ₿ Cryptocurrency › CoinCap
No authHTTPSCORS

CoinCap API

Real-time crypto prices and market data with a clean, free, no-key REST API.

Auth
No auth needed
HTTPS
Yes
CORS
Yes
Open CoinCap docs ↗

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

https://rest.coincap.io/v3

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
curl -s "https://rest.coincap.io/v3/assets?limit=5" \
  -H "Authorization: Bearer $COINCAP_KEY"
Python
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.priceUsdVolume-weighted average price across markets
data.changePercent24Hr24h percentage change
data.marketCapUsd / data.supplyCap and circulating supply
data[].rankMarket-cap rank
timestampServer time the response was generated

Common errors

401Missing or invalid API key (v3 requires one).
404Retired v2 endpoint, or unknown asset id.
429Rate 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.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

Crypto PriceCryptoLarz app

Related Cryptocurrency APIs

← Back

More Cryptocurrency APIs · All 196 APIs