Market data¶
GET /markets¶
Use this to discover chartable markets and intervals.
Market data is only available in the form:
<asset_key> / USD
Arbitrary base/quote market pairs are not supported.
Example response:
{
"request_id": "req_01J...",
"markets": [
{
"market_id": "mkt_native_btc_usd",
"asset_key": "native.btc",
"denom": "USD",
"intervals": [
"1m",
"5m",
"1h",
"1d"
]
}
]
}
GET /markets/candles¶
Use this to retrieve OHLC series for a chartable asset_key against USD.
Required query parameters:
asset_keyintervalstart_msend_ms
Example response:
{
"request_id": "req_01J...",
"series": {
"asset_key": "native.btc",
"denom": "USD",
"interval": "1m",
"candles": [
{
"t_ms": 1730000000000,
"o": "65000.0",
"h": "65100.0",
"l": "64900.0",
"c": "65050.0"
}
]
}
}
Arbitrary asset-vs-asset candles are not supported.
Market data is not guaranteed for every asset.
If unavailable: 404 with code=not_available.