Read every crypto pair's price
curl --request GET \
--url https://api.darvas.app/v1/crypto/prices/snapshot/market \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/crypto/prices/snapshot/market"
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/prices/snapshot/market', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"exchange": "darvas",
"market_type": null,
"quote": null,
"sort": "volume_24h",
"order": "desc",
"snapshots": [
{
"ticker": "BTC-USDT-SWAP",
"base": "BTC",
"quote": "USDT",
"market_type": "swap",
"price": 97811.4,
"change_24h_percent": 1.3378,
"quote_volume_24h": 18412093311.4,
"time": "2026-11-28T11:59:00.000Z",
"time_milliseconds": 1795867140000,
"constituents": [
"binance",
"bybit",
"okx"
]
}
]
}{
"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
Crypto Market Snapshot API Across All Pairs
Fetch latest prices, 24h returns, quote volumes and market breadth across supported crypto spot and perpetual pairs in one structured request.
Read every crypto pair's price
curl --request GET \
--url https://api.darvas.app/v1/crypto/prices/snapshot/market \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/crypto/prices/snapshot/market"
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/prices/snapshot/market', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"exchange": "darvas",
"market_type": null,
"quote": null,
"sort": "volume_24h",
"order": "desc",
"snapshots": [
{
"ticker": "BTC-USDT-SWAP",
"base": "BTC",
"quote": "USDT",
"market_type": "swap",
"price": 97811.4,
"change_24h_percent": 1.3378,
"quote_volume_24h": 18412093311.4,
"time": "2026-11-28T11:59:00.000Z",
"time_milliseconds": 1795867140000,
"constituents": [
"binance",
"bybit",
"okx"
]
}
]
}{
"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 returns the latest price, 24-hour percentage change, and 24-hour quote-currency traded volume for every active pair on one exchange or across Darvas aggregated pairs (exchange=darvas, the default). Data is served from a warm snapshot refreshed every 15 seconds, holding up to the 2,000 busiest pairs per exchange.
| Coverage | Details |
|---|---|
| Aggregated feed | darvas (default) returns Darvas aggregated spot, perpetual swap and ALLUSD pairs, each with its constituents list |
| Single exchanges | okx, binance, bybit, hyperliquid, coinbase, kraken, bitstamp, deribit and bitfinex |
| Filters | Optional market_type (spot, swap or futures) and quote (currency such as USDT, USD, USDC, or ALLUSD on darvas) |
| Ranking | sort by volume_24h (default), change_24h, or price; order is desc (default) or asc |
| Row limit | limit from 1 to 2000 pairs (default 100) |
| MCP tool | get_crypto_market_snapshot on the data API MCP server |
Filtering, sorting and volume units
Filters apply before sorting and slicing tolimit, with alphabetical ticker tie-breaking.
- Quote-currency volume.
quote_volume_24his reported in each pair’s ownquotecurrency. Passquote=USDT,quote=USD, orquote=ALLUSDwhen sorting byvolume_24hso every ranked pair shares a common dollar unit. - Snapshot fields. Each row in
snapshotsreturnsticker,base,quote,market_type,price,change_24h_percent(rounded to four decimal places),quote_volume_24h,time(ISO 8601 UTC minute timestamp), andtime_milliseconds. Aggregated rows onexchange=darvasalso includeconstituents; single-exchange rows omit it. - Related endpoints. For one pair’s full UTC day OHLCV candle, see
/crypto/prices/snapshot. For the full instrument catalog with tick and lot sizes, see/crypto/tickers. For single-pair cross-venue perpetual volume breakdown, see/crypto/volume/aggregated.
Examples
import os
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
resp = requests.get(
"https://api.darvas.app/v1/crypto/prices/snapshot/market",
headers=headers,
params={
"exchange": "darvas",
"market_type": "swap",
"quote": "USDT",
"sort": "change_24h",
"order": "desc",
"limit": 15,
},
).json()
for row in resp["snapshots"]:
print(row["ticker"], "price:", row["price"], "24h %:", row["change_24h_percent"], "vol:", row["quote_volume_24h"])
# Top 25 ALLUSD spot pairs on Darvas ranked by 24-hour dollar volume
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/crypto/prices/snapshot/market?exchange=darvas&market_type=spot"e=ALLUSD&sort=volume_24h&order=desc&limit=25"
Authorizations
apiKeybearerKey
Query Parameters
Response
Read every crypto pair's price: one page.
The answer of GET /crypto/prices/snapshot/market.