$npx -y skills add asterdex/aster-skills-hub --skill aster-api-spot-market-data-v3Public REST market data for Aster Spot Testnet API v3. Ping, time, exchangeInfo, depth, trades, klines, tickers. Use when fetching spot testnet market data via /api/v3/. historicalTrades and commissionRate require signature.
| 1 | # Aster Spot API Market Data (v3 — Testnet) |
| 2 | |
| 3 | **Base:** https://sapi.asterdex-testnet.com. All **GET**; query string params. **historicalTrades** and **commissionRate** require signed request (user, signer, nonce, signature). |
| 4 | |
| 5 | ## Endpoints |
| 6 | |
| 7 | | Endpoint | Weight | Key parameters | |
| 8 | |----------|--------|-----------------| |
| 9 | | `GET /api/v3/ping` | 1 | None | |
| 10 | | `GET /api/v3/time` | 1 | None → `{ "serverTime": ms }` | |
| 11 | | `GET /api/v3/exchangeInfo` | 1 | None → symbols, filters, rateLimits, assets | |
| 12 | | `GET /api/v3/depth` | 2–20 | symbol (required), limit (5,10,20,50,100,500,1000; default 100) | |
| 13 | | `GET /api/v3/trades` | 1 | symbol, limit (default 500, max 1000) | |
| 14 | | `GET /api/v3/historicalTrades` | 20 | symbol, limit, fromId. **Signed.** | |
| 15 | | `GET /api/v3/aggTrades` | 20 | symbol, fromId, startTime, endTime, limit (max 1000); startTime–endTime < 1h if both | |
| 16 | | `GET /api/v3/klines` | 1–10 | symbol, interval, startTime, endTime, limit (default 500, max 1500) | |
| 17 | | `GET /api/v3/ticker/24hr` | 1 or 40 | symbol (optional; no symbol = 40 weight) | |
| 18 | | `GET /api/v3/ticker/price` | 1 or 2 | symbol (optional) | |
| 19 | | `GET /api/v3/ticker/bookTicker` | 1 or 2 | symbol (optional) | |
| 20 | | `GET /api/v3/commissionRate` | 20 | symbol (required). Signed. | |
| 21 | |
| 22 | **Depth weight by limit:** 5, 10, 20, 50 → 2; 100 → 5; 500 → 10; 1000 → 20. |
| 23 | |
| 24 | **Intervals (klines):** 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M. |
| 25 | |
| 26 | **Conventions:** REST symbols uppercase; WS lowercase; timestamps ms. |
| 27 | |
| 28 | Payload shapes: [reference.md](reference.md). |