Messari API
Crypto market data, metrics and research with a free developer tier.
What it does
Messari focuses on crypto fundamentals: vetted asset profiles, supply schedules, tokenomics, on-chain and market metrics, research-grade time series, and news. Good when you want context and data quality over raw exchange feeds.
Base URL
Authentication
Sign up for a free account and pass your key as the x-messari-api-key header. Unauthenticated requests work but at a very low shared rate; the free key raises it and unlocks more metrics.
Code examples
curl -s "https://data.messari.io/api/v1/assets/bitcoin/metrics" \ -H "x-messari-api-key: $MESSARI_KEY"
import requests
r = requests.get("https://data.messari.io/api/v1/assets/ethereum/metrics/market-data",
headers={"x-messari-api-key": KEY}, timeout=10)
md = r.json()["data"]["market_data"]
print(md["price_usd"], md["percent_change_usd_last_24_hours"])Rate limits & quotas
Free tier is roughly 20 requests/minute and a few thousand per day, with premium metrics and long historical ranges reserved for paid plans. The response envelope always has a status object; status.error_code is non-zero on failure.
Key response fields
| data.market_data.price_usd | Current USD price |
| data.marketcap.current_marketcap_usd | Market cap |
| data.supply.circulating | Circulating supply |
| data.roi_data.percent_change_last_1_year | Longer-horizon returns |
| status.error_code / error_message | Failure details |
Common errors
| 401 | Missing or invalid x-messari-api-key. |
| 429 | Per-minute rate limit exceeded — back off. |
| 404 | Unknown asset slug — use lowercase names like bitcoin. |
| 402 / 403 | Metric or history range is premium-only. |
When to use it (and alternatives)
Reach for Messari when building research tools, dashboards that need tokenomics and supply data, or anything where data provenance matters. For fast-moving prices pair it with an exchange API like Binance or an aggregator like CoinGecko.
FAQ
Is there still a free Messari API?
Yes — a free account gives you an API key with a modest rate limit and access to core metrics. Advanced metrics, intraday granularity and deep history are paid.
What is the asset 'slug'?
A lowercase identifier, usually the project name: bitcoin, ethereum, solana. You can also use the symbol for major assets. List them via /api/v2/assets.
How do I get a single metric instead of the whole blob?
Use the sub-paths, e.g. /assets/{slug}/metrics/market-data or /assets/{slug}/metrics/{metric_id}/time-series/..., to avoid pulling the full metrics object every call.
New to APIs?
Short guides for working with this API — and any other.