aster-api-spot-websocket-v3
Installation
SKILL.md
Aster Spot API WebSocket (v3 — Testnet)
Base: wss://sstream.asterdex-testnet.com. Raw: /ws/<streamName>. Combined: /stream?streams=name1/name2/... → {"stream":"<name>","data":<payload>}. Stream names lowercase (e.g. asterusdt).
Limits: Connection 24h; 5 msg/s; max 1024 streams.
Market: subscribe / unsubscribe
JSON: Subscribe {"method":"SUBSCRIBE","params":["asterusdt@aggTrade","asterusdt@depth"],"id":1} → {"result":null,"id":1}. Unsubscribe: UNSUBSCRIBE + params. List: LIST_SUBSCRIPTIONS.