CryptoCompare API
Overview
CryptoCompare (now served via the CoinDesk Data API) provides one of the most comprehensive free cryptocurrency datasets, including multi-exchange price aggregates, OHLCV historical candles, orderbook depth, and social sentiment signals. A no-key public tier lets you fetch current prices for any coin-to-currency pair instantly, while a free registered key unlocks higher rate limits and historical data. It is widely used in trading bots, research tools, and price comparison widgets.
Beginner Tip
The simplest call requires no key at all — fsyms (from-symbols) and tsyms (to-symbols) are the only required parameters. Register for a free API key at min-api.cryptocompare.com to remove the anonymous rate limit before you outgrow the public tier.
Available Data
Example Response
{
"id": "bitcoin",
"symbol": "btc",
"current_price": 65432.1,
"market_cap": 1280000000000,
"price_change_24h": 1250.5,
"price_change_percentage_24h": 1.95,
"total_volume": 28500000000
} Field Reference
USD Current price of the queried coin in US Dollars at the time of the request. EUR Current price of the queried coin in Euros; only present when EUR is included in the tsyms parameter. GBP Current price in British Pounds; the response dynamically includes a key for each currency symbol you request. Implementation Example
// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://www.cryptocompare.com/api";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Alternatives to CryptoCompare
Technical alternatives for different use cases.
Larger free tier with DeFi and NFT data coverage
Free comprehensive crypto data including DeFi
Granular historical OHLCV data
Deeper historical data and social metrics
Simple price lookups for a few coins
Crypto analytics and historical analysis
Industry-standard rankings and market metrics
Market cap data and global crypto statistics
Social media sentiment and mining data
Recipes Using CryptoCompare
Build something with this API. Each recipe includes step-by-step instructions and code outlines.
Similar APIs
View All →0x
0x provides programmatic access to api for querying token and pool stats across various liquidity pools via REST API.
1inch
⭐ Beginner's Pick1inch is a decentralized exchange (DEX) aggregator that finds the best swap routes across protocols like Uniswap, SushiSwap, and Curve.
Bitcambio
⭐ Beginner's PickBitcambio is a Brazilian cryptocurrency exchange that exposes a public REST API to retrieve all currently traded asset pairs and their market data.
BitcoinCharts
⭐ Beginner's PickBitcoinCharts provides financial and technical data about the Bitcoin network, including historical market data from dozens of exchanges worldwide.
CoinCap
⭐ Beginner's PickCoinCap delivers real-time cryptocurrency prices and market data for thousands of assets through a straightforward REST API.