Markets
Cross-asset market data — assets, quotes, klines, and tickers across crypto, stocks, ETFs, forex, and commodities.
The Markets endpoints extend d.pro's analytics beyond HyperLiquid to all asset classes — CRYPTO, STOCK, ETF, FOREX, COMMODITY. For shared conventions (envelope, pagination, rate limits, credits, errors) see Conventions. For authentication see Authentication.
List assets
GET /assets — assets of one class, ranked. Credits: 1
| Param | Required | Default | Notes |
|---|---|---|---|
type | yes | — | ALL · CRYPTO · STOCK · ETF · FOREX · COMMODITY |
page | no | 1 | |
limit | no | 20 | max 100 |
sort | no | — | Sort field (e.g. marketCap, volume24h) |
order | no | desc | asc · desc |
market | no | — | For stocks: US · HK · JP · KR |
category | no | — | Sector / tag slug |
Example response for GET /assets?type=CRYPTO&limit=1&sort=marketCap:
{
"code": "0",
"msg": "success",
"data": {
"items": [
{
"id": 1,
"symbol": "BTC",
"name": "Bitcoin",
"type": "CRYPTO",
"price": "61284.5",
"change1h": "0.12",
"change24h": "-1.83",
"change7d": "4.21",
"volume24h": "28450000000",
"marketCap": "1208000000000",
"high24h": "62010.0",
"low24h": "60110.2",
"sparkline7d": ["59800.1", "60210.4", "61010.9", "61284.5"]
}
],
"page": 1,
"limit": 1,
"total": 9876,
"hasMore": true
}
}Asset detail
GET /assets/{symbol} — a single asset's metadata + market data. Credits: 1
Example request: GET /assets/NVDA-US. Returns one Asset object (same fields as a list item, plus extended metadata).
Search
GET /search — fuzzy asset search by symbol or name. Credits: 2
| Param | Required | Default | Notes |
|---|---|---|---|
q | yes | — | Query, 2–64 chars |
type | no | — | ALL · CRYPTO · STOCK · ETF · FOREX · COMMODITY |
Example response for GET /search?q=tesla&type=STOCK:
{
"code": "0",
"msg": "success",
"data": {
"items": [
{ "id": 4412, "symbol": "TSLA-US", "name": "Tesla, Inc.", "type": "STOCK" }
],
"page": 1,
"limit": 10,
"total": 1,
"hasMore": false
}
}Global stats
GET /global-stats — total market cap, volume, and BTC/ETH dominance. No params. Credits: 1
{
"code": "0",
"msg": "success",
"data": {
"totalMarketCap": "2410000000000",
"totalVolume24h": "98000000000",
"btcDominance": "50.13",
"ethDominance": "17.42"
}
}Trending gainers
GET /trending-gainers — price-momentum ranking. Credits: 1
| Param | Required | Default | Notes |
|---|---|---|---|
type | no | ALL | ALL · CRYPTO · STOCK · ETF · FOREX · COMMODITY |
page | no | 1 | |
limit | no | 20 | max 100 |
Returns { items: [Asset], page, limit, total, hasMore }.
Klines (OHLCV)
GET /assets/{symbol}/klines — candlestick data. Credits: 2
| Param | Required | Default | Notes |
|---|---|---|---|
interval | no | H1 | Candle period — H1 (hourly) or D1 (daily) |
limit | no | 100 | 1–500 |
Example response for GET /assets/BTC/klines?interval=H1&limit=2:
{
"code": "0",
"msg": "success",
"data": [
{
"assetId": 1,
"interval": "H1",
"openTime": "2026-06-26T07:00:00.000Z",
"open": "60980.0",
"high": "61120.5",
"low": "60810.1",
"close": "61010.0",
"volume": "418.22"
},
{
"assetId": 1,
"interval": "H1",
"openTime": "2026-06-26T08:00:00.000Z",
"open": "61010.0",
"high": "61350.5",
"low": "60890.1",
"close": "61284.5",
"volume": "512.34"
}
]
}Tickers
GET /assets/{symbol}/tickers — exchange tickers across venues. Credits: 1
| Param | Required | Default | Notes |
|---|---|---|---|
page | no | 1 | |
limit | no | 20 | 1–100 |
venue | no | all | all · cex · dex |
marketType | no | all | all · spot · perp · futures |
{
"code": "0",
"msg": "success",
"data": {
"items": [
{
"pair": "BTC/USDT",
"venue": "Binance",
"marketType": "spot",
"price": "61284.5",
"volume24h": "4200000000"
}
],
"page": 1,
"limit": 1,
"total": 312,
"hasMore": true
}
}