Loading...
Loading...
WebSocket market + user data streams for Aster Futures API v3. Subscription model, stream names, listenKey. Use when implementing real-time market or user events (orders, balance, positions). listenKey = signed; see aster-api-auth-v3.
npx skill4agent add asterdex/aster-skills-hub aster-api-websocket-v3/ws/<streamName>/stream?streams=name1/name2/...{"stream":"<name>","data":<payload>}{"method":"SUBSCRIBE","params":["btcusdt@aggTrade","btcusdt@depth"],"id":1}{"result":null,"id":1}UNSUBSCRIBELIST_SUBSCRIPTIONSid| Stream | Description |
|---|---|
| Aggregate trades (100ms) |
| Diff. book depth (250/500/100ms: |
| Partial book depth |
| Kline (e.g. 1m, 1h); interval as in REST |
| Mark price (3s or 1s) |
| All symbols mark price |
| 24h mini ticker (500ms) |
| All mini tickers (1000ms) |
| 24h ticker (500ms) |
| All tickers (1000ms) |
| Best bid/ask (real-time) |
| All book tickers |
| Liquidation snapshot (1000ms) |
| All liquidations |
POST /fapi/v3/listenKey{ "listenKey": "..." }wss://fstream.asterdex.com/ws/<listenKey>PUT /fapi/v3/listenKeyDELETE /fapi/v3/listenKeyEACCOUNT_UPDATEORDER_TRADE_UPDATEACCOUNT_CONFIG_UPDATEMARGIN_CALLlistenKeyExpiredbtcusdt@depthGET /fapi/v3/depth?symbol=BTCUSDT&limit=1000ulastUpdateIdUlastUpdateIdulastUpdateIdpuu