Version 1.0.0
Base URL: https://api.quantsynergy.xyz/api
QuantSynergy API provides programmatic access to real-time and historical cryptocurrency market data, advanced quantitative metrics, and multi-exchange aggregation services. Our API enables developers to build sophisticated trading applications, analytics dashboards, and financial services platforms.
QuantSynergy API uses API Key authentication. All requests must include valid authentication headers.
Once registered on QuantSynergy, go to your Account Settings to find your Free tier API key, which is automatically generated when you create your account.
All API requests must include:
| Header | Required | Description |
|---|---|---|
Authorization | Yes | API Key: YOUR_API_KEY |
X-API-Secret | Yes | Your API secret key |
Content-Type | Yes (POST/PUT) | application/json |
curl -X GET "https://api.quantsynergy.xyz/api/currencies" \ -H "Authorization: YOUR_API_KEY" \ -H "X-API-Secret: YOUR_API_SECRET"
To ensure fair usage and system stability, QuantSynergy API implements rate limiting on all endpoints.
| Tier | Requests per Minute | Requests per Hour | Requests per Day |
|---|---|---|---|
| Free | 1 | 10 | 100 |
| Professional (Available on request) | 300 | 10,000 | 100,000 |
| Enterprise (Available on request) | 1,000 | 50,000 | 500,000 |
When you exceed your rate limit, you'll receive a 429 Too Many Requests response. Implement exponential backoff when receiving 429 responses.
Retrieve a list of all available cryptocurrencies with real-time prices and market data.
/currencies| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
exchange | string | No | all | Filter by exchange: binance, bybit, bitget, kraken, all |
curl -X GET "https://api.quantsynergy.xyz/api/currencies?exchange=all" \ -H "Authorization: YOUR_API_KEY" \ -H "X-API-Secret: YOUR_API_SECRET"
Retrieve paginated market data with comprehensive cryptocurrency information. Results are automatically sorted by market cap in descending order.
/currencies/markets| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
page | integer | No | 1 | Page number (starts at 1) |
per_page | integer | No | 100 | Items per page (max: 100) |
exchange | string | No | all | Filter by exchange: binance, bybit, bitget, kraken, all |
curl -X GET "https://api.quantsynergy.xyz/api/currencies/markets?page=1&per_page=100&exchange=all" \ -H "Authorization: YOUR_API_KEY" \ -H "X-API-Secret: YOUR_API_SECRET"
Retrieve global cryptocurrency market cap with 7-day trend data.
/currencies/global-market-capcurl -X GET "https://api.quantsynergy.xyz/api/currencies/global-market-cap" \ -H "Authorization: YOUR_API_KEY" \ -H "X-API-Secret: YOUR_API_SECRET"
Retrieve 7-day sparkline price data for a specific cryptocurrency.
/currencies/sparklines/:symbol| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Cryptocurrency symbol (e.g., BTC) |
curl -X GET "https://api.quantsynergy.xyz/api/currencies/sparklines/BTC" \ -H "Authorization: YOUR_API_KEY" \ -H "X-API-Secret: YOUR_API_SECRET"
Retrieve sparkline data for multiple cryptocurrencies in a single request.
/currencies/sparklines-batch{
"symbols": ["BTC", "ETH", "ADA", "SOL"]
}curl -X POST "https://api.quantsynergy.xyz/api/currencies/sparklines-batch" \
-H "Authorization: YOUR_API_KEY" \
-H "X-API-Secret: YOUR_API_SECRET" \
-H "Content-Type: application/json" \
-d '{"symbols": ["BTC", "ETH", "ADA"]}'Retrieve historical OHLCV (Open, High, Low, Close, Volume) candlestick data for a trading pair.
/pair| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
base | string | Yes | - | Base currency (e.g., BTC) |
quote | string | Yes | - | Quote currency (e.g., USDT) |
timeframe | string | No | 1d | Timeframe: 5m, 15m, 30m, 1h, 4h, 1d, 1w, 1M |
exchange | string | No | binance | Exchange: binance, bybit, bitget, kraken, all |
volumeType | string | No | base | Volume type: base, quote |
fullHistory | boolean | No | true | Return full available history |
curl -X GET "https://api.quantsynergy.xyz/api/pair?base=BTC"e=USDT&timeframe=1d&exchange=binance&fullHistory=true" \ -H "Authorization: YOUR_API_KEY" \ -H "X-API-Secret: YOUR_API_SECRET"
Retrieve real-time prices for all or specific cryptocurrencies.
/markets| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
exchange | string | No | all | Filter by exchange |
symbol | string | No | - | Specific cryptocurrency symbol |
curl -X GET "https://api.quantsynergy.xyz/api/markets?symbol=BTC" \ -H "Authorization: YOUR_API_KEY" \ -H "X-API-Secret: YOUR_API_SECRET"
Compare prices for a cryptocurrency across all supported exchanges.
/markets/compare/:symbol| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Cryptocurrency symbol |
curl -X GET "https://api.quantsynergy.xyz/api/markets/compare/BTC" \ -H "Authorization: YOUR_API_KEY" \ -H "X-API-Secret: YOUR_API_SECRET"
Retrieve statistics about market coverage and exchange distribution.
/markets/statscurl -X GET "https://api.quantsynergy.xyz/api/markets/stats" \ -H "Authorization: YOUR_API_KEY" \ -H "X-API-Secret: YOUR_API_SECRET"
Retrieve comprehensive quantitative metrics and market analysis for a cryptocurrency.
/synergy-metrics/comprehensive/:symbol| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Cryptocurrency symbol |
curl -X GET "https://api.quantsynergy.xyz/api/synergy-metrics/comprehensive/BTC" \ -H "Authorization: YOUR_API_KEY" \ -H "X-API-Secret: YOUR_API_SECRET"
Retrieve aggregated futures data (open interest and funding rates) from all supported exchanges.
/synergy-metrics/futures/all-exchanges| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
symbol | string | No | - | Filter by specific symbol |
curl -X GET "https://api.quantsynergy.xyz/api/synergy-metrics/futures/all-exchanges?symbol=BTC" \ -H "Authorization: YOUR_API_KEY" \ -H "X-API-Secret: YOUR_API_SECRET"
The Datafeed API provides TradingView UDF (Universal Data Feed) compatibility for integrating QuantSynergy data with TradingView charts.
Retrieve TradingView UDF datafeed configuration.
/datafeed/configcurl -X GET "https://api.quantsynergy.xyz/api/datafeed/config" \ -H "Authorization: YOUR_API_KEY" \ -H "X-API-Secret: YOUR_API_SECRET"
Retrieve historical OHLCV data in TradingView format.
/datafeed/history| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Trading pair (e.g., BTCUSDT) |
from | integer | Yes | Start timestamp (Unix seconds) |
to | integer | Yes | End timestamp (Unix seconds) |
resolution | string | Yes | Resolution: 5, 15, 30, 60, 240, D, W, M |
curl -X GET "https://api.quantsynergy.xyz/api/datafeed/history?symbol=BTCUSDT&from=1705276800&to=1705363200&resolution=D" \ -H "Authorization: YOUR_API_KEY" \ -H "X-API-Secret: YOUR_API_SECRET"
All API errors follow a consistent format:
{
"success": false,
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {
"field": "additional error details"
}
}
}| Code | Description |
|---|---|
200 | Success |
400 | Bad Request - Invalid parameters |
401 | Unauthorized - Invalid or missing authentication |
403 | Forbidden - Insufficient permissions |
404 | Not Found - Resource not found |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error - Server error |
| Code | Description |
|---|---|
AUTHENTICATION_FAILED | Invalid API key or secret |
AUTHENTICATION_REQUIRED | Missing authentication headers |
INVALID_PARAMETER | Invalid or missing required parameter |
RATE_LIMIT_EXCEEDED | Rate limit exceeded |
RESOURCE_NOT_FOUND | Requested resource not found |
EXCHANGE_NOT_SUPPORTED | Exchange not supported |
SYMBOL_NOT_FOUND | Cryptocurrency symbol not found |