List crypto instruments
curl --request GET \
--url https://api.darvas.app/v1/crypto/tickers \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/crypto/tickers"
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/tickers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"resource": "crypto",
"tickers": [
{
"ticker": "BTC-USDT",
"exchange": "okx",
"market_type": "spot",
"display_symbol": "BTC/USDT",
"base": "BTC",
"quote": "USDT",
"tick_size": 0.1,
"lot_size": 0.0001,
"capabilities": [
"candles",
"trades",
"footprint"
]
}
]
}{
"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 Exchanges & Supported Symbols API
List spot and perpetual crypto tickers across OKX, Binance, Bybit, Hyperliquid, Coinbase, Kraken, Bitstamp, Deribit, Bitfinex and Darvas pairs.
List crypto instruments
curl --request GET \
--url https://api.darvas.app/v1/crypto/tickers \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/crypto/tickers"
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/tickers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"resource": "crypto",
"tickers": [
{
"ticker": "BTC-USDT",
"exchange": "okx",
"market_type": "spot",
"display_symbol": "BTC/USDT",
"base": "BTC",
"quote": "USDT",
"tick_size": 0.1,
"lot_size": 0.0001,
"capabilities": [
"candles",
"trades",
"footprint"
]
}
]
}{
"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 lists every crypto instrument Darvas serves across nine primary exchanges plus every Darvas aggregated pair (exchange=darvas), sorted by exchange and ticker. Filter the catalog server-side by exchange, market_type, quote, and query, and read optional base, quote, tick_size, lot_size, and capabilities metadata on each instrument.
| Coverage | Details |
|---|---|
| Aggregated pairs | exchange=darvas returns canonical spot (BASE-QUOTE), perpetual (BASE-QUOTE-SWAP), and multi-dollar (BASE-ALLUSD, BASE-ALLUSD-SWAP) pairs with constituents |
| Single exchanges | okx, binance, bybit, hyperliquid, coinbase, kraken, bitstamp, deribit and bitfinex |
| Filters | Optional exchange, market_type (spot, swap, futures, option), quote (such as USDT, USD, ALLUSD), and query (case-insensitive substring up to 512 chars) |
| Formulas | A query that is a formula (USDTBTC, BTCUSDT*USDTETH, BTCUSDT/NVDAUSDT, COINBASE:BTCUSD - BINANCE:BTCUSDT) lists it first on exchange=formula, with its legs |
| Metadata fields | ticker, exchange, market_type, display_symbol, plus optional base, quote, tick_size, lot_size, capabilities, and constituents (on darvas) |
| Updated | Binance and Bybit refresh every minute; all other exchange catalogs refresh every four hours |
| MCP tool | list_crypto_tickers on the data API MCP server |
Filters, metadata and symbol conventions
- Filtering. Combine any subset of
exchange,market_type,quote, andquery.quotematches the pair’s quote currency (USDT,USDC,USD, orALLUSDondarvas).queryruns a case-insensitive substring match againstticker,display_symbol,base, andquote. - Instrument metadata. When published by the exchange catalog, items include
baseandquotecurrency codes,tick_size(minimum price increment),lot_size(minimum order quantity step on single exchanges; omitted ondarvas), andcapabilities(available data feeds such ascandles,trades, andfootprint; ondarvas, the sorted union of its constituents’ capabilities). Unavailable metadata fields are omitted. - Pair naming. An
ALLUSDpair is listed whenever a base asset trades in two or more of USD, USDT, and USDC within the same market type (spotorswap). On single exchanges, OKX usesBTC-USDTandBTC-USDT-SWAP, Hyperliquid usesETH-USDC-SWAP, Coinbase usesBTC-USD, and Binance and Bybit prefix the market asspot:BTCUSDTandperpetual:BTCUSDT. - Formula queries. When
queryis a formula over listed instruments, the answer lists it first, the way the chart’s pair search offers it:exchangeisformula,market_typeissynthetic,tickeris the canonical formula (such as1 / [darvas:BTC-USDT-SWAP]),display_symbolis the name Darvas shows (such asUSDTBTC), andlegsnames each listed instrument it reads. Inverses (USDTBTC,1/BTCUSDT), ratios (BTC/NVDA,BTCNVDA,BTCUSDT*USDTETH), cross-exchange spreads (COINBASE:BTCUSD - BINANCE:BTCUSDT) and arithmetic ((BTCUSDT + ETHUSDT) / 2) all resolve. An emptyqueryor a plain symbol such asBTCorETHnever adds a formula, and neither does a request withquote. With a singleexchange, every leg is that exchange’s;exchange=formulalists only the formula;market_typepicks the market legs are read in first. Every leg is a crypto instrument: CFD and partner broker symbols never appear in a formula. Pass the canonicaltickerto/crypto/prices,/crypto/prices/snapshot,/crypto/indicatorsor/crypto/market-structure. - Related endpoints. Use this catalog to discover IDs and capabilities before calling
/crypto/prices,/crypto/prices/snapshot,/crypto/prices/snapshot/market,/crypto/order-flow,/crypto/footprint,/crypto/indicators, or/crypto/market-structure.
Examples
import os
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
resp = requests.get(
"https://api.darvas.app/v1/crypto/tickers",
headers=headers,
params={"exchange": "darvas", "market_type": "swap", "quote": "ALLUSD", "query": "BTC"},
).json()
for item in resp["tickers"]:
print(
item["ticker"],
"constituents:", item.get("constituents"),
"tick:", item.get("tick_size"),
"capabilities:", item.get("capabilities"),
)
# List USDT perpetual swap instruments on OKX matching ETH
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/crypto/tickers?exchange=okx&market_type=swap"e=USDT&query=ETH"
# Resolve the inverse of BTC/USDT and the BTC to NVDA ratio as formula tickers
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/crypto/tickers?exchange=formula&query=USDTBTC"
curl -H "X-API-KEY: $DARVAS_API_KEY" -G \
"https://api.darvas.app/v1/crypto/tickers" --data-urlencode "query=BTCUSDT/NVDAUSDT"
Authorizations
apiKeybearerKey
Query Parameters
Only this exchange's instruments, or with darvas only Darvas's aggregated pairs. A formula query reads its legs on this exchange; with formula only the formula a query names is listed.
Available options:
darvas, okx, binance, bybit, hyperliquid, coinbase, kraken, bitstamp, deribit, bitfinex, formula Case-insensitive substring search matching ticker id, display symbol, base asset, or quote currency. A query that is a formula, such as USDTBTC (the inverse of BTC-USDT), BTCUSDT*USDTETH, BTCUSDT/NVDAUSDT, BTC/NVDA, COINBASE:BTCUSD - BINANCE:BTCUSDT or (BTCUSDT + ETHUSDT) / 2, or a canonical formula such as 1 / [okx:BTC-USDT-SWAP], also lists that formula first unless quote is sent.
Maximum string length:
512Pattern:
^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$