Read a perpetual's volume across exchanges
curl --request GET \
--url https://api.darvas.app/v1/crypto/volume/aggregated \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/crypto/volume/aggregated"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/crypto/volume/aggregated', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ticker": "BTC-USDT-SWAP",
"base_asset": "BTC",
"quote_asset": "USDT",
"market_type": "swap",
"notional_volume_usd_24h": 28331904120.8,
"base_volume_24h": 289662.1,
"complete": true,
"time": "2026-11-28T12:00:00.000Z",
"time_milliseconds": 1795867200000,
"exchanges": [
{
"exchange": "binance",
"symbol": "BTCUSDT",
"status": "ok",
"notional_volume_usd_24h": 14820331201.5,
"base_volume_24h": 151524.3,
"share_percent": 52.31
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Crypto Markets
Aggregated Multi-Exchange Crypto Volume API
Sum rolling 24-hour crypto perpetual USD notional and base trading volume across OKX, Binance, Bybit and Hyperliquid with per-venue market shares.
Read a perpetual's volume across exchanges
curl --request GET \
--url https://api.darvas.app/v1/crypto/volume/aggregated \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/crypto/volume/aggregated"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/crypto/volume/aggregated', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ticker": "BTC-USDT-SWAP",
"base_asset": "BTC",
"quote_asset": "USDT",
"market_type": "swap",
"notional_volume_usd_24h": 28331904120.8,
"base_volume_24h": 289662.1,
"complete": true,
"time": "2026-11-28T12:00:00.000Z",
"time_milliseconds": 1795867200000,
"exchanges": [
{
"exchange": "binance",
"symbol": "BTCUSDT",
"status": "ok",
"notional_volume_usd_24h": 14820331201.5,
"base_volume_24h": 151524.3,
"share_percent": 52.31
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Overview
This endpoint sums rolling 24-hour traded volume for a crypto perpetual contract across OKX, Binance, Bybit, and Hyperliquid in both US dollars (notional_volume_usd_24h) and base asset units (base_volume_24h). The exchanges array reports each venue’s symbol, availability status, dollar and base turnover, and percentage share of total dollar volume.
| Coverage | Details |
|---|---|
| Venues summed | okx, binance, bybit and hyperliquid perpetual swap contracts |
| Ticker format | Canonical BASE-QUOTE-SWAP in any case (default BTC-USDT-SWAP); non-swap formats return 400 |
| Totals | notional_volume_usd_24h and base_volume_24h sum only exchanges with status: "ok" |
| Freshness | Live exchange tickers cached for 30 seconds per perpetual contract |
| MCP tool | get_crypto_aggregated_volume on the data API MCP server |
Venue statuses and completeness
Darvas maps the requestedBASE-QUOTE-SWAP ticker to each venue’s native contract symbol (BTC-USDT-SWAP on OKX, BTCUSDT on Binance and Bybit, and base coin BTC on Hyperliquid) and queries all four venues in parallel.
- Per-exchange status. Each item in
exchangesreportsstatusas"ok","not_found"(the venue does not list the perpetual), or"unavailable"(the venue did not respond in time). Volume andshare_percentfields arenullunlessstatusis"ok". - Completeness flag.
completeistruewhen zero venues returned"unavailable", even if one venue does not list the contract ("not_found"). Whencompleteisfalse, totals andshare_percentreflect only the venues that answered. - Error responses. If no exchange lists the contract, the endpoint returns
404. If no venue returned"ok"and at least one venue was"unavailable", it returns503. - Related endpoints. For live funding and open interest per venue, see
/crypto/derivatives/snapshotand/crypto/context. For market-wide pair rankings by 24-hour volume, see/crypto/prices/snapshot/market.
Examples
import os
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
resp = requests.get(
"https://api.darvas.app/v1/crypto/volume/aggregated",
headers=headers,
params={"ticker": "ETH-USDT-SWAP"},
).json()
print(resp["ticker"], "24h USD:", round(resp["notional_volume_usd_24h"], 2), "complete:", resp["complete"])
for venue in resp["exchanges"]:
print(" ", venue["exchange"], venue["status"], "share %:", venue["share_percent"], "USD:", venue["notional_volume_usd_24h"])
# Default BTC-USDT-SWAP 24-hour perpetual volume breakdown across all four exchanges
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/crypto/volume/aggregated"
Authorizations
apiKeybearerKey
Query Parameters
Response
Read a perpetual's volume across exchanges: one page.
The answer of GET /crypto/volume/aggregated.