asterdex/aster-skills-hub/aster-api-spot-websocket-v3

Claude Code and agent skill by asterdex/aster-skills-hub

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

WebSocket market + user data streams for Aster Spot Testnet API v3. Subscription model, stream names, listenKey (/api/v3/listenKey). Use when implementing real-time spot testnet market or user events. listenKey = signed; see aster-api-spot-auth-v3.

Install

npx vskill@latest install asterdex/aster-skills-hub/aster-api-spot-websocket-v3

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.

Stream names (market)

StreamDescription
<symbol>@aggTradeAggregate trades
<symbol>@tradeTick-by-tick trades
<symbol>@kline_<interval>Kline (e.g. 1m, 1h)
<symbol>@depth, @depth@100msDiff. book depth (1000ms or 100ms)
<symbol>@miniTicker24h mini ticker
!miniTicker@arrAll mini tickers
<symbol>@ticker24h ticker
!ticker@arrAll tickers
<symbol>@bookTickerBest bid/ask
!bookTickerAll book tickers

User data stream (signed)

  1. Start: POST /api/v3/listenKey (signed: user, signer, nonce, signature) → { "listenKey": "..." }. Extends 60 min if valid key exists.
  2. Connect: wss://sstream.asterdex-testnet.com/ws/<listenKey>.
  3. Keepalive: PUT /api/v3/listenKey with listenKey (e.g. every 30 min). Signed.
  4. Close: DELETE /api/v3/listenKey with listenKey. Signed.

Events: outboundAccountPosition (balance), executionReport (order update).

Order book sync (depth)

  1. Subscribe to <symbol>@depth; buffer events.
  2. Snapshot: GET /api/v3/depth?symbol=SYMBOL&limit=1000.
  3. Discard events with u ≤ lastUpdateId; first valid: U ≤ lastUpdateId+1 and u ≥ lastUpdateId+1.
  4. Each event: pu = previous u; else re-sync. Qty absolute; 0 = remove level.

Payload shapes: reference.md.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
62
Repository forks
10
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/asterdex/aster-skills-hub/aster-api-spot-websocket-v3/badge)](https://verified-skill.com/skills/asterdex/aster-skills-hub/aster-api-spot-websocket-v3)

Something wrong with this skill or its page? Tell us.