$npx -y skills add asterdex/aster-skills-hub --skill aster-api-market-data-v1Public REST market data for Aster Futures API v1. Ping, time, exchangeInfo, depth, trades, klines, tickers, funding. Use when fetching market data via /fapi/v1/. No auth except historicalTrades (API key MARKET_DATA).
| 1 | # Aster API Market Data (v1) |
| 2 | |
| 3 | **Base:** https://fapi.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 /fapi/v1/ping` | 1 | None | |
| 10 | | `GET /fapi/v1/time` | 1 | None → `{ "serverTime": ms }` | |
| 11 | | `GET /fapi/v1/exchangeInfo` | 1 | None → symbols, filters, rateLimits, assets | |
| 12 | | `GET /fapi/v1/depth` | 2–20 | symbol (required), limit (5,10,20,50,100,500,1000; default 500) | |
| 13 | | `GET /fapi/v1/trades` | 1 | symbol, limit (default 500, max 1000) | |
| 14 | | `GET /fapi/v1/historicalTrades` | 20 | symbol, limit, fromId. **MARKET_DATA:** requires API key | |
| 15 | | `GET /fapi/v1/aggTrades` | 20 | symbol, fromId, startTime, endTime, limit (max 1000); startTime–endTime < 1h if both sent | |
| 16 | | `GET /fapi/v1/klines` | 1–10 | symbol, interval, startTime, endTime, limit (default 500, max 1500) | |
| 17 | | `GET /fapi/v1/indexPriceKlines` | 1–10 | pair, interval, startTime, endTime, limit | |
| 18 | | `GET /fapi/v1/markPriceKlines` | 1–10 | symbol, interval, startTime, endTime, limit | |
| 19 | | `GET /fapi/v1/premiumIndex` | 1 | symbol (optional) → markPrice, indexPrice, lastFundingRate, nextFundingTime | |
| 20 | | `GET /fapi/v1/fundingRate` | 1 | symbol, startTime, endTime, limit (default 100, max 1000) | |
| 21 | | `GET /fapi/v1/fundingInfo` | 1 | symbol (optional) → fundingIntervalHours, fundingFeeCap, fundingFeeFloor | |
| 22 | | `GET /fapi/v1/ticker/24hr` | 1 or 40 | symbol (optional; no symbol = 40 weight) | |
| 23 | | `GET /fapi/v1/ticker/price` | 1 or 2 | symbol (optional) | |
| 24 | | `GET /fapi/v1/ticker/bookTicker` | 1 or 2 | symbol (optional) | |
| 25 | |
| 26 | ## Depth weight by limit |
| 27 | |
| 28 | - 5, 10, 20, 50 → 2 |
| 29 | - 100 → 5 |
| 30 | - 500 → 10 |
| 31 | - 1000 → 20 |
| 32 | |
| 33 | ## Kline weight by limit |
| 34 | |
| 35 | - [1, 100) → 1; [100, 500) → 2; [500, 1000] → 5; >1000 → 10 |
| 36 | |
| 37 | ## Intervals (klines) |
| 38 | |
| 39 | 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M |
| 40 | |
| 41 | **Conventions:** REST symbols uppercase; WS lowercase; timestamps ms. |
| 42 | |
| 43 | Payload shapes: [reference.md](reference.md). |