$npx -y skills add asterdex/aster-skills-hub --skill aster-api-spot-account-v3Account, balances, user trades, spot–futures transfer, withdraw, API key for Aster Spot Testnet API v3. Use when reading/updating spot testnet account or transferring. Signed; see aster-api-spot-auth-v3.
| 1 | # Aster Spot API Account (v3 — Testnet) |
| 2 | |
| 3 | **Base:** https://sapi.asterdex-testnet.com. Endpoints signed unless noted. |
| 4 | |
| 5 | ## Account and trades |
| 6 | |
| 7 | - **GET /api/v3/account** (W: 5): No params beyond auth. Returns balances (asset, free, locked). |
| 8 | - **GET /api/v3/userTrades** (W: 10): symbol (required), orderId, startTime, endTime, limit (default 500, max 1000). |
| 9 | |
| 10 | ## Transfer |
| 11 | |
| 12 | - **POST /api/v3/asset/wallet/transfer** (W: 5): amount, asset, clientTranId (required, unique), kindType (FUTURE_SPOT | SPOT_FUTURE). Returns tranId, status. |
| 13 | |
| 14 | ## Withdraw and API key |
| 15 | |
| 16 | - **GET /api/v3/aster/withdraw/estimateFee** (NONE): chainId, asset. Returns tokenPrice, gasCost, gasUsdValue. |
| 17 | - **POST /api/v3/aster/user-withdraw** (USER_DATA): See reference for params; returns withdrawId, hash. |
| 18 | - **POST /api/v3/getNonce**, **POST /api/v3/createApiKey**: See reference for params. |
| 19 | |
| 20 | Payload shapes: [reference.md](reference.md). |