Aster Spot API Market Data (v3 — Testnet)
Base: https://sapi.asterdex-testnet.com. All GET; query string params. historicalTrades and commissionRate require signed request (user, signer, nonce, signature).
Endpoints
| Endpoint | Weight | Key parameters |
|---|---|---|
GET /api/v3/ping | 1 | None |
GET /api/v3/time | 1 | None → { "serverTime": ms } |
GET /api/v3/exchangeInfo | 1 | None → symbols, filters, rateLimits, assets |
GET /api/v3/depth | 2–20 | symbol (required), limit (5,10,20,50,100,500,1000; default 100) |
GET /api/v3/trades | 1 | symbol, limit (default 500, max 1000) |
GET /api/v3/historicalTrades | 20 | symbol, limit, fromId. Signed. |
GET /api/v3/aggTrades | 20 | symbol, fromId, startTime, endTime, limit (max 1000); startTime–endTime < 1h if both |
GET /api/v3/klines | 1–10 | symbol, interval, startTime, endTime, limit (default 500, max 1500) |
GET /api/v3/ticker/24hr | 1 or 40 | symbol (optional; no symbol = 40 weight) |
GET /api/v3/ticker/price | 1 or 2 | symbol (optional) |
GET /api/v3/ticker/bookTicker | 1 or 2 | symbol (optional) |
GET /api/v3/commissionRate | 20 | symbol (required). Signed. |
Depth weight by limit: 5, 10, 20, 50 → 2; 100 → 5; 500 → 10; 1000 → 20.
Intervals (klines): 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M.
Conventions: REST symbols uppercase; WS lowercase; timestamps ms.
Payload shapes: reference.md.