skills/asterdex/aster-skills-hub/aster-api-account-v3

aster-api-account-v3

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).

Isolated position margin

  • POST /fapi/v3/positionMargin (Weight: 1): symbol, positionSide (optional; BOTH or LONG/SHORT in hedge), amount, type (1 = add, 2 = reduce). Only for isolated margin.
  • GET /fapi/v3/positionMargin/history (Weight: 1): symbol, type (optional), startTime, endTime, limit (default 500).

Transfer (futures ↔ spot)

  • POST /fapi/v3/asset/wallet/transfer (Weight: 5): amount, asset, clientTranId (unique, e.g. UUID), kindType (FUTURE_SPOT | SPOT_FUTURE), timestamp. Returns tranId, status.

Position and account mode

  • GET /fapi/v3/positionSide/dual (Weight: 30): returns dualSidePosition (true = hedge, false = one-way).
  • POST /fapi/v3/positionSide/dual (Weight: 1): dualSidePosition "true"|"false". Affects every symbol.
  • GET /fapi/v3/multiAssetsMargin (Weight: 30): returns multiAssetsMargin.
  • POST /fapi/v3/multiAssetsMargin (Weight: 1): multiAssetsMargin "true"|"false". Affects every symbol.

Other

  • GET /fapi/v3/income (Weight: 30): symbol, incomeType (optional), startTime, endTime, limit (default 100, max 1000). Default 7-day window if no time range. incomeType values: see reference.
  • GET /fapi/v3/leverageBracket (Weight: 1): symbol optional; notional brackets per symbol.
  • GET /fapi/v3/adlQuantile (Weight: 5): symbol optional; ADL queue (0–4).
  • GET /fapi/v3/forceOrders (Weight: 20/50): symbol, autoCloseType (LIQUIDATION | ADL), startTime, endTime, limit (default 50, max 100).
  • GET /fapi/v3/commissionRate (Weight: 20): symbol required; makerCommissionRate, takerCommissionRate.

Payload shapes: reference.md.

Weekly Installs
12
GitHub Stars
59
First Seen
10 days ago
Installed on
opencode11
github-copilot11
codex11
kimi-cli11
gemini-cli11
amp11