CoinMarketCap API - Complete Developer Guide
API Provider: CoinMarketCap
Website: coinmarketcap.com
Overview
CoinMarketCap (CMC) is one of the most recognized cryptocurrency data aggregators, providing comprehensive market data, pricing, and metadata for thousands of cryptocurrencies. Their API is widely used by exchanges, portfolio trackers, and financial applications.
Pricing Plans
| Plan | Price | Requests/month |
|---|---|---|
| Free | $0 | 10,000 |
| Hobbyist | $29/mo | 100,000 |
| Startup | $79/mo | 1,000,000 |
| Enterprise | Custom | Unlimited |
Key Features
- Cryptocurrency Listings: Access data for 10,000+ cryptocurrencies
- Market Data: Real-time and historical price data
- Exchange Data: Trading volume, liquidity metrics
- Global Market Metrics: Market cap, 24h volume, dominance
- Historical Data: OHLCV historical data
- Cryptocurrency Metadata: Logos, descriptions, URLs
API Endpoints
GET https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest
GET https://pro-api.coinmarketcap.com/v1/cryptocurrency/quotes/latest
GET https://pro-api.coinmarketcap.com/v1/cryptocurrency/info
GET https://pro-api.coinmarketcap.com/v1/global-metrics/quotes/latest
Authentication
API Key in header:
curl -H "X-CMC_PRO_API_KEY: YOUR_API_KEY" \
https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest
Response Example
{
"status": {
"timestamp": "2026-02-25T12:00:00.000Z",
"error_code": 0,
"error_message": null
},
"data": [
{
"id": 1,
"name": "Bitcoin",
"symbol": "BTC",
"slug": "bitcoin",
"quote": {
"USD": {
"price": 97500.00,
"volume_24h": 35000000000,
"market_cap": 1920000000000,
"percent_change_24h": 2.5
}
}
}
]
}
Pros & Cons
Pros
- Industry standard, high trust
- Comprehensive coin coverage
- Good documentation
- Extensive historical data
Cons
- Credit-based pricing system confusing
- Rate limits can be restrictive
- Free tier very limited
- Some endpoints require higher tiers
Best Use Cases
- Cryptocurrency portfolio trackers
- Price alert applications
- Exchange rate calculators
- Cryptocurrency news platforms
- Market analysis tools