API Documentation
Free crypto data API for developers - No API key required
Getting Started
Base URL: https://opencryptodata.com/api
All endpoints return JSON. No authentication required.
Coins
GET
/api/coins
Get all coins with aggregated prices from multiple exchanges.
Query Parameters
search- Filter by symbol or namelimit- Max results (default: 100)offset- Pagination offset
Example
curl https://opencryptodata.com/api/coins?limit=10
GET
/api/coins/:symbol
Get detailed data for a single coin.
Example
curl https://opencryptodata.com/api/coins/BTC
GET
/api/coins/:symbol/history
Get price history for a coin.
Query Parameters
period- Time period: 1h, 24h, 7d, 30d, 1y, all (default: 7d)
Example
curl https://opencryptodata.com/api/coins/ETH/history?period=24h
Market Data
GET
/api/global
Get global market statistics.
GET
/api/trending
Get trending coins (top gainers, losers, most traded).
GET
/api/exchanges
Get all exchanges with statistics.
GET
/api/fear-greed
Get the current Fear & Greed Index.
DeFi
GET
/api/defi/overview
Get DeFi overview stats (total TVL, top protocols).
GET
/api/defi/protocols
Get top DeFi protocols by TVL.
Query Parameters
limit- Max results (default: 20)
GET
/api/defi/chains
Get TVL by blockchain.
Data Downloads
GET
/api/data/archives
List all available data archives (CSV files).
GET
/api/data/download/:filename
Download a specific archive file (gzip compressed CSV).
Other Endpoints
GET
/api/news
Get crypto news articles.
GET
/api/exchange-rates
Get fiat exchange rates (base USD).
GET
/api/sparklines
Get sparkline data for multiple coins.
Query Parameters
symbols- Comma-separated list of symbols (required)