aster-api-account-v3
Installation
SKILL.md
Aster API Account
Base: https://fapi.asterdex.com. All signed.
Balance and account
- GET /fapi/v3/balance (Weight: 5). No params beyond auth. Returns: see reference.
- GET /fapi/v3/account (Weight: 5). Returns: see reference.
Positions
- GET /fapi/v3/positionRisk (Weight: 5). Params: symbol (optional). Returns per-symbol/positionSide; one-way = BOTH, hedge = LONG/SHORT. Fields: see reference.
Leverage and margin type
- POST /fapi/v3/leverage (Weight: 1): symbol, leverage (1–125). Returns leverage, maxNotionalValue, symbol.
- POST /fapi/v3/marginType (Weight: 1): symbol, marginType (ISOLATED | CROSSED). Fails if open orders or position exist when changing (see error codes).