Market Data API
Access real-time and historical cryptocurrency market data through our REST API and WebSocket feeds.
Market Data API
CoinAPI Market Data API provides access to real-time and historical cryptocurrency market data from 300+ exchanges.
Overview
The Market Data API offers two main interfaces:
- REST API — Request/response model for historical and current data
- WebSocket — Real-time streaming for live market data
Key Features
- OHLCV — Open, High, Low, Close, Volume candlestick data
- Trades — Individual trade execution data
- Order Books — Market depth snapshots and updates
- Exchange Rates — Cross-rate calculations
Quick Start
curl -X GET "https://rest.coinapi.io/v1/exchanges" \
-H "X-CoinAPI-Key: YOUR_API_KEY"[!NOTE] All API responses are returned in JSON format with UTF-8 encoding.
Rate Limits
| Plan | Requests/second | Requests/day |
|---|---|---|
| Startup | 10 | 1,000 |
| Streamer | 100 | 10,000 |
| Pro | 100 | 100,000 |
| Enterprise | Custom | Custom |
Next Steps
- REST API Reference — Full endpoint documentation
- WebSocket Guide — Real-time data streaming