MarketOverviewService
List Market Overviews
List ticker-style market overview rows with optional sparklines. Supports symbol filtering, sorting, and pagination controls.
Request
curl --request GET \ \ --url 'https://api.testnet.polyester.com/v1/spot/markets/overview?includeSparklines=false&include_sparklines=false&limit=100&orderBy=CHANGE_24H_BPS&order_by=CHANGE_24H_BPS&pageToken=eyJvZmZzZXQiOjEwMH0&sort=ASC&sparklineIntervals=1h&sparkline_intervals=1h&symbolId=1' \ --header 'Accept: */*'
Responses
{
"markets": [
{
"bestAskQtyScaled": "100000",
"bestAskTicks": "0.000000001",
"bestBidQtyScaled": "100000",
"bestBidTicks": "0.000000001",
"change24hBps": 123,
"high24hTicks": "0.000000001",
"indexPriceTicks": "0.005",
"lastPriceTicks": "0.005",
"lastTradeTsNs": "1735689600000000000",
"listedTsNs": "1735689600000000000",
"low24hTicks": "0.000000001",
"sparklines": [
{
"closeTicks": [
"0.000000001"
],
"interval": "1h"
}
],
"symbol": "BTC-USDT",
"volume24hBaseScaled": "123456",
"volume24hQuoteScaled": "123456",
"volume24hUsdScaled": "0.123456"
}
],
"nextPageToken": "eyJvZmZzZXQiOjIwMH0"
}When true, include sparklines in each MarketOverview.
When true, include sparklines in each market.
Maximum markets to return (server default 50, max 2000).
Sort key. When unset/UNSPECIFIED, defaults to descending 24h USD volume.
Sort key.
Opaque cursor from the previous response.
Sort direction.
Which sparklines to include. If empty and include_sparklines is true, server defaults to 24h.
Sparkline intervals; repeat query param.
Filter by stable numeric pair IDs from GetSpotConfig. When empty, returns all enabled markets.
Filter by specific symbols; repeat query param (e.g., ?symbols=BTC-USDT&symbols=ETH-USDT).
Best ask quantity scaled by the pair's base_quantity_scale from GetSpotConfig.
100000Current best ask price in quote units scaled by 1e9.
0.000000001Best bid quantity scaled by the pair's base_quantity_scale from GetSpotConfig.
100000Current best bid price in quote units scaled by 1e9.
0.000000001Rolling 24h change expressed in basis points (bp). Example: +123 = +1.23%.
123Rolling 24h stats. Highest traded price in the 24h window, in quote units scaled by 1e9.
0.000000001Current multi-venue index price in quote units scaled by 1e9. Zero when no fresh, valid index price is available.
0.005Last traded price in quote units scaled by 1e9.
0.005Last trade timestamp in nanoseconds since epoch.
1735689600000000000Listing timestamp in nanoseconds since epoch.
1735689600000000000Lowest traded price in the 24h window, in quote units scaled by 1e9.
0.000000001Newest-first close prices in quote units scaled by 1e9.
["0.000000001"]Time range and sampling resolution represented by these close prices.
1hTrading pair symbol, e.g. BTC-USDT.
BTC-USDT24h base volume; omitted if the scaled amount exceeds int64.
12345624h executed quote volume; omitted if the scaled amount exceeds int64.
123456Rolling 24h USD volume, scaled by 1e6 (one unit is 0.000001 USD). Applies the current quote/USD conversion to the rolling quote volume. When conversion is unavailable, USDT and USDC are valued at USD parity. Omitted for other quote assets when a current conversion is unavailable.
0.123456Opaque cursor for the next page. Empty when no more results exist.
eyJvZmZzZXQiOjIwMH0| Key | Status | Error | When |
|---|---|---|---|
| unauthenticated | 401 | Unauthenticated | Authentication required. |
| permission-denied | 403 | Permission Denied | Permission denied. |
| invalid-argument | 400 | Invalid Argument | Invalid argument. |
| not-found | 404 | Not Found | Not found. |
| unavailable | 503 | Unavailable | Service unavailable. |