📚 API Documentation
Comprehensive guide to integrating CryptoTap
🔐 Authentication
All API requests require authentication using your API key in the header. This ensures secure access to real-time cryptocurrency data across all supported exchanges.
Required Header:
X-API-Key: your_api_key_here
💡 Pro Tip: Keep your API key secure and never expose it in client-side code or public repositories.
🌐 Base URL
All API endpoints are accessed through our secure base URL. This ensures reliable connectivity and optimal performance.
https://api.cryptotap.com/v1
📈 Available Endpoints
Our REST API provides access to real-time market data across multiple cryptocurrency exchanges. Each endpoint is optimized for speed and reliability.
Purpose: Get aggregated ticker data for a trading pair from all supported exchanges. Returns current prices, bid/ask spreads, volumes, and exchange latencies.
Parameters:
Example Request:
curl -H "X-API-Key: your_key" \
https://api.cryptotap.com/v1/api/ticker/BTCUSDT
Example Response:
{
"timestamp": 1750217644000,
"exchanges": [
{"id": "binance", "status": "success", "latency": 120},
{"id": "coinbase", "status": "success", "latency": 85},
{"id": "kraken", "status": "success", "latency": 95}
],
"data": {
"binance": {
"last": 107617.49,
"bid": 107616.50,
"ask": 107618.00,
"volume": 35428.67,
"timestamp": 1750217644000
},
"coinbase": {
"last": 107615.20,
"bid": 107614.80,
"ask": 107616.50,
"volume": 12847.33,
"timestamp": 1750217643000
},
"kraken": {
"last": 107618.75,
"bid": 107617.25,
"ask": 107619.50,
"volume": 8934.12,
"timestamp": 1750217643500
}
},
"status": "success",
"credits": 995
}
Purpose: Get aggregated order book depth for a trading pair from all exchanges. Returns top 20 bid/ask levels per exchange with timestamps and latencies.
Parameters:
Example Request:
curl -H "X-API-Key: your_key" \
https://api.cryptotap.com/v1/api/orderbook/BTCUSDT
Example Response:
{
"timestamp": 1750217644000,
"exchanges": [
{"id": "binance", "status": "success", "latency": 95},
{"id": "coinbase", "status": "success", "latency": 110}
],
"data": {
"binance": {
"bids": [
[107600.00, 0.5],
[107599.50, 1.2],
[107598.75, 0.8]
],
"asks": [
[107601.00, 0.7],
[107601.50, 1.1],
[107602.25, 0.9]
],
"timestamp": 1750217644000
},
"coinbase": {
"bids": [
[107599.80, 0.3],
[107599.20, 0.9]
],
"asks": [
[107601.20, 0.6],
[107601.80, 1.4]
],
"timestamp": 1750217643500
}
},
"status": "success",
"credits": 994
}
Purpose: Get recent trades for a trading pair from all exchanges. Returns the most recent 50 executed trades per exchange with prices, amounts, sides, and timestamps.
Parameters:
Example Request:
curl -H "X-API-Key: your_key" \
https://api.cryptotap.com/v1/api/trades/BTCUSDT
Example Response:
{
"timestamp": 1750217644000,
"exchanges": [
{"id": "binance", "status": "success", "latency": 88},
{"id": "coinbase", "status": "success", "latency": 105}
],
"data": {
"binance": [
{
"price": 107601.00,
"amount": 0.5,
"side": "buy",
"timestamp": 1750217644000
},
{
"price": 107600.50,
"amount": 1.2,
"side": "sell",
"timestamp": 1750217643800
},
{
"price": 107602.25,
"amount": 0.8,
"side": "buy",
"timestamp": 1750217643500
}
],
"coinbase": [
{
"price": 107599.80,
"amount": 0.3,
"side": "sell",
"timestamp": 1750217643900
},
{
"price": 107601.20,
"amount": 0.9,
"side": "buy",
"timestamp": 1750217643600
}
]
},
"status": "success",
"credits": 993
}
Purpose: Get OHLCV (Open, High, Low, Close, Volume) candlestick data for a trading pair from all exchanges. Returns the most recent 100 candles per exchange with timestamps.
Parameters:
Example Request:
curl -H "X-API-Key: your_key" \
https://api.cryptotap.com/v1/api/ohlcv/BTCUSDT
Example Response:
{
"timestamp": 1750217644000,
"exchanges": [
{"id": "binance", "status": "success", "latency": 125},
{"id": "okx", "status": "success", "latency": 98}
],
"data": {
"binance": [
{
"timestamp": 1750217640000,
"open": 107595.50,
"high": 107620.75,
"low": 107590.25,
"close": 107618.00,
"volume": 847.32
},
{
"timestamp": 1750217580000,
"open": 107580.25,
"high": 107598.50,
"low": 107575.00,
"close": 107595.50,
"volume": 623.18
}
],
"okx": [
{
"timestamp": 1750217640000,
"open": 107596.00,
"high": 107619.25,
"low": 107591.50,
"close": 107617.75,
"volume": 521.67
}
]
},
"status": "success",
"credits": 992
}
🏢 Supported Exchanges
CryptoTap aggregates data from major cryptocurrency exchanges worldwide, ensuring comprehensive market coverage and reliable data availability. All exchanges are monitored 24/7 for optimal performance.
📊 Coverage: Our API covers 95%+ of global cryptocurrency trading volume across these major exchanges.
⚡ Rate Limits & Performance
To ensure optimal performance and fair usage across all users, we implement intelligent rate limiting. Our limits are designed to support both development and production use cases.
🆓 Free Tier
- 60 requests per minute
- 1,000 free API calls
- Perfect for testing & development
🚀 Pro Tier
- 1,000 requests per minute
- Pay-per-use pricing
- Production ready
🏢 Enterprise
- Custom limits available
- Dedicated support
- SLA guarantees
🚀 Ready to Get Started?
Join thousands of developers building with CryptoTap's reliable cryptocurrency data API