$npx -y skills add asterdex/aster-skills-hub --skill aster-api-spot-market-data-v1Public REST market data for Aster Spot API v1. Ping, time, exchangeInfo, depth, trades, klines, tickers. Use when fetching spot market data via /api/v1/. No auth except historicalTrades (API key MARKET_DATA).
| 1 | # Aster Spot API Market Data (v1) |
| 2 | |
| 3 | **Base:** https://sapi.asterdex.com. All **GET**; query string params; no signature except **historicalTrades** (API key). |
| 4 | |
| 5 | ## Endpoints |
| 6 | |
| 7 | | Endpoint | Weight | Key parameters | |
| 8 | |----------|--------|-----------------| |
| 9 | | `GET /api/v1/ping` | 1 | None | |
| 10 | | `GET /api/v1/time` | 1 | None → `{ "serverTime": ms }` | |
| 11 | | `GET /api/v1/exchangeInfo` | 1 | None → symbols, filters, rateLimits, assets | |
| 12 | | `GET /api/v1/depth` | 2–20 | symbol (required), limit (5,10,20,50,100,500,1000; default 100) | |
| 13 | | `GET /api/v1/trades` | 1 | symbol, limit (default 500, max 1000) | |
| 14 | | `GET /api/v1/historicalTrades` | 20 | symbol, limit, fromId. **MARKET_DATA:** requires API key | |
| 15 | | `GET /api/v1/aggTrades` | 20 | symbol, fromId, startTime, endTime, limit (max 1000); startTime–endTime < 1h if both | |
| 16 | | `GET /api/v1/klines` | 1–10 | symbol, interval, startTime, endTime, limit (default 500, max 1500) | |
| 17 | | `GET /api/v1/ticker/24hr` | 1 or 40 | symbol (optional; no symbol = 40 weight) | |
| 18 | | `GET /api/v1/ticker/price` | 1 or 2 | symbol (optional) | |
| 19 | | `GET /api/v1/ticker/bookTicker` | 1 or 2 | symbol (optional) | |
| 20 | | `GET /api/v1/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). |