This guide provides a quick overview of all trading actions and their corresponding API endpoints. Use this as a reference to quickly find the right endpoint for your trading workflow.
Wallet Management
Action
Method
Endpoint
Description
Check spot balance
GET
/wallet/funds
Get your spot wallet balance including total, rewards, withdrawable
Check futures balance
POST
/futures/funds
Get futures wallet balance and available transfer amount
Transfer funds
POST
/wallet/futures/transfer
Move funds between spot and futures wallets
Asset Discovery
Action
Method
Endpoint
Description
List all assets
GET
/futures
List all tradable futures contracts with sorting/pagination
Get asset details
GET
/futures/{asset_id}
Get detailed contract specs (min/max contract, leverage limits, fees)
Leverage Management
Action
Method
Endpoint
Description
Get leverage
GET
/futures/{asset_id}/leverage
Check current leverage and margin type for an asset
Set leverage
POST
/futures/{asset_id}/leverage
Set leverage (within asset's min/max range) and margin type
Order Management
Action
Method
Endpoint
Description
Place order
POST
/futures/{asset_id}/order
Create market or limit order (LONG/SHORT) with optional SL/TP
View open orders
GET
/futures/orders
List all your open orders
Get order details
GET
/futures/orders/{order_id}
Retrieve details of a specific order
Cancel order
DELETE
/futures/orders/{order_id}
Cancel an open order
Amend order
PATCH
/futures/orders/{order_id}
Modify an existing order (price, quantity, etc.)
Order history
GET
/futures/orders/history
View your historical orders
Position Management
Action
Method
Endpoint
Description
View open positions
GET
/futures/positions
Get all open positions with entry price, quantity, leverage, PnL
Close position
POST
/futures/positions/{position_id}/close
Fully close a position
Partial close
POST
/futures/positions/{position_id}/close/partial
Close a portion of your position
Reverse position
POST
/futures/positions/{position_id}/reverse
Switch from LONG to SHORT or vice versa
Position history
GET
/futures/positions/history
View your closed position history
Risk Management (Stop-Loss & Take-Profit)
Action
Method
Endpoint
Description
Set SL/TP
POST
/futures/positions/{position_id}/riskorder
Attach stop-loss and/or take-profit to a position
Edit SL/TP
PATCH
/futures/positions/{position_id}/riskorder
Modify existing stop-loss or take-profit levels
Monitoring & History
Action
Method
Endpoint
Description
Fee history
GET
/futures/fee/history
Retrieve your trading fee history
Quick Trading Workflow
Here's a typical trading workflow using the APIs above:
Check balance → GET /wallet/funds to see available funds
Transfer to futures → POST /wallet/futures/transfer if needed
Discover assets → GET /futures to find tradable instruments
Set leverage → POST /futures/{asset_id}/leverage for your chosen asset
Place order → POST /futures/{asset_id}/order to open a position
Monitor position → GET /futures/positions to track PnL
Manage risk → POST /futures/positions/{position_id}/riskorder to set SL/TP
Close position → POST /futures/positions/{position_id}/close or use partial close
For detailed API documentation, parameters, and examples, refer to the API Reference section.