CoinMarketCap API
Crypto data from Binance — high accuracy and prices from hundreds of exchanges.
About this API
CoinMarketCap (owned by Binance) is CoinGecko's direct rival. Pros: broader exchange coverage, more accurate short-term prices. Cons: requires an API key (Basic tier is free with 333 calls/day).
Who it's for
Trading bots needing accuracy
Low-volume projects
Settlement systems
How to use it
- 1Register at pro.coinmarketcap.com for a key.
- 2Send header X-CMC_PRO_API_KEY.
- 3Call /v1/cryptocurrency/quotes/latest.
Installation & setup
None. Plain HTTP. Store the key in env.
Code examples
curl -H "X-CMC_PRO_API_KEY: YOUR_KEY" \
"https://pro-api.coinmarketcap.com/v1/cryptocurrency/quotes/latest?symbol=BTC,ETH&convert=ILS"Sample response
{
"data": {
"BTC": {
"quote": {
"ILS": {
"price": 236207,
"percent_change_24h": 1.3
}
}
},
"ETH": {
"quote": {
"ILS": {
"price": 11211,
"percent_change_24h": -0.4
}
}
}
}
}FAQ
333 calls/day.
Tips & pitfalls
Store history yourself — the basic plan returns no history.
Use convert=ILS — no manual conversion.
Guides
Related APIs
Bank of Israel FX Rates
Official Bank of Israel exchange rates (USD, EUR, GBP, more) with full history, in JSON and XML.
CoinGecko API
Leading crypto API — prices, trading volumes and history for 10,000+ coins.
Alpha Vantage
Free API for global stock data — NASDAQ, NYSE, Asia, forex and crypto.
ExchangeRate-API
Currency rates for 161 currencies with a free tier of 1,500 calls/month.
Polygon.io
Real-time market data for NASDAQ, NYSE and options — industry standard for algo trading.