This repository was archived by the owner on Dec 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Endpoints
MtkN1 edited this page Jul 16, 2021
·
5 revisions
| Method Name | Http Method | Endpoint URL | Description |
|---|---|---|---|
| public_orderbook_l2 | GET | /v2/public/orderBook/L2 | Order book |
| public_kline_list | GET | /v2/public/kline/list | Query Kline |
| public_tickers | GET | /v2/public/tickers | Latest Information for Symbol |
| public_tradingrecords | GET | /v2/public/trading-records | Public Trading Records |
| public_symbols | GET | /v2/public/symbols | Query Symbol |
| public_liqrecords | GET | /v2/public/liq-records | Liquidated Orders |
| public_markpricekline | GET | /v2/public/mark-price-kline | Query Mark Price Kline |
| public_indexpricekline | GET | /v2/public/index-price-kline | Query Index Price Kline |
| public_premiumindexkline | GET | /v2/public/premium-index-kline | Query Premium Index Kline |
| public_openinterest | GET | /v2/public/open-interest | Open Interest |
| public_bigdeal | GET | /v2/public/big-deal | Latest Big Deal |
| public_accountratio | GET | /v2/public/account-ratio | Long-Short Ratio |
| private_order_create | POST | /v2/private/order/create | Place Active Order |
| private_order_list | GET | /v2/private/order/list | Get Active Order |
| private_order_cancel | POST | /v2/private/order/cancel | Cancel Active Order |
| private_order_cancelall | POST | /v2/private/order/cancelAll | Cancel All Active Orders |
| private_order_replace | POST | /v2/private/order/replace | Replace Active Order |
| private_order | GET | /v2/private/order | Query Active Order (real-time) |
| private_stoporder_create | POST | /v2/private/stop-order/create | Place Conditional Order |
| private_stoporder_list | GET | /v2/private/stop-order/list | Get Conditional Order |
| private_stoporder_cancel | POST | /v2/private/stop-order/cancel | Cancel Conditional Order |
| private_stoporder_cancelall | POST | /v2/private/stop-order/cancelAll | Cancel All Conditional Orders |
| private_stoporder_replace | POST | /v2/private/stop-order/replace | Replace Conditional Order |
| private_stoporder | GET | /v2/private/stop-order | Query Conditional Order (real-time) |
| private_position_list | GET | /v2/private/position/list | My Position |
| private_position_changepositionmargin | POST | /v2/private/position/change-position-margin | Change Margin |
| private_position_tradingstop | POST | /v2/private/position/trading-stop | Set Trading-Stop |
| private_position_leverage_save | POST | /v2/private/position/leverage/save | Set Leverage |
| private_execution_list | GET | /v2/private/execution/list | User Trade Records |
| private_trade_closedpnl_list | GET | /v2/private/trade/closed-pnl/list | Closed Profit and Loss |
| private_tpsl_switchmode | POST | /v2/private/tpsl/switch-mode | Full/Partial Position SL/TP Switch |
| private_position_switchisolated | POST | /v2/private/position/switch-isolated | Cross/Isolated Margin Switch |
| public_risklimit_list | GET | /v2/public/risk-limit/list | Get Risk Limit |
| private_position_risklimit | POST | /v2/private/position/risk-limit | Set Risk Limit |
| public_funding_prevfundingrate | GET | /v2/public/funding/prev-funding-rate | Get the Last Funding Rate |
| private_funding_prevfunding | GET | /v2/private/funding/prev-funding | My Last Funding Fee |
| private_funding_predictedfunding | GET | /v2/private/funding/predicted-funding | Predicted Funding Rate and My Funding Fee |
| private_account_apikey | GET | /v2/private/account/api-key | API Key Info |
| private_account_lcp | GET | /v2/private/account/lcp | LCP Info |
| private_wallet_balance | GET | /v2/private/wallet/balance | Get Wallet Balance |
| private_wallet_fund_records | GET | /v2/private/wallet/fund/records | Wallet Fund Records |
| private_wallet_withdraw_list | GET | /v2/private/wallet/withdraw/list | Withdraw Records |
| private_exchangeorder_list | GET | /v2/private/exchange-order/list | Asset Exchange Records |
| public_time | GET | /v2/public/time | Server Time |
| public_announcement | GET | /v2/public/announcement | Announcement |
| Method Name | Http Method | Endpoint URL | Description |
|---|---|---|---|
| public_kline | GET | /public/linear/kline | Query Kline |
| public_recenttradingrecords | GET | /public/linear/recent-trading-records | Public Trading Records |
| public_funding_prevfundingrate | GET | /public/linear/funding/prev-funding-rate | Get the Last Funding Rate |
| public_markpricekline | GET | /public/linear/mark-price-kline | Query Mark Price Kline |
| public_indexpricekline | GET | /public/linear/index-price-kline | Query Index Price Kline |
| public_premiumindexkline | GET | /public/linear/premium-index-kline | Query Premium Index Kline |
| private_order_create | POST | /private/linear/order/create | Place Active Order |
| private_order_list | GET | /private/linear/order/list | Get Active Order |
| private_order_cancel | POST | /private/linear/order/cancel | Cancel Active Order |
| private_order_cancelall | POST | /private/linear/order/cancel-all | Cancel All Active Orders |
| private_order_replace | POST | /private/linear/order/replace | Replace Active Order |
| private_order_search | GET | /private/linear/order/search | Query Active Order (real-time) |
| private_stoporder_create | POST | /private/linear/stop-order/create | Place Conditional Order |
| private_stoporder_list | GET | /private/linear/stop-order/list | Get Conditional Order |
| private_stoporder_cancel | POST | /private/linear/stop-order/cancel | Cancel Conditional Order |
| private_stoporder_cancelall | POST | /private/linear/stop-order/cancel-all | Cancel All Conditional Orders |
| private_stoporder_replace | POST | /private/linear/stop-order/replace | Replace Conditional Order |
| private_stoporder_search | GET | /private/linear/stop-order/search | Query Conditional Order (real-time) |
| private_position_list | GET | /private/linear/position/list | My Position |
| private_position_setautoaddmargin | POST | /private/linear/position/set-auto-add-margin | Set Auto Add Margin |
| private_position_switchisolated | POST | /private/linear/position/switch-isolated | Cross/Isolated Margin Switch |
| private_tpsl_switchmode | POST | /private/linear/tpsl/switch-mode | Full/Partial Position SL/TP Switch |
| private_position_addmargin | POST | /private/linear/position/add-margin | Add/Reduce Margin |
| private_position_setleverage | POST | /private/linear/position/set-leverage | Set Leverage |
| private_position_tradingstop | POST | /private/linear/position/trading-stop | Set Trading-Stop |
| private_trade_execution_list | GET | /private/linear/trade/execution/list | User Trade Records |
| private_trade_closedpnl_list | GET | /private/linear/trade/closed-pnl/list | Closed Profit and Loss |
| public_risklimit | GET | /public/linear/risk-limit | Get Risk Limit |
| private_position_setrisk | POST | /private/linear/position/set-risk | Set Risk Limit |
| private_funding_predictedfunding | GET | /private/linear/funding/predicted-funding | Predicted Funding Rate and My Funding Fee |
| private_funding_prevfunding | GET | /private/linear/funding/prev-funding | My Last Funding Fee |
| public_time | GET | /v2/public/time | Server Time |
| public_announcement | GET | /v2/public/announcement | Announcement |
| Method Name | Http Method | Endpoint URL | Description |
|---|---|---|---|
| private_order_create | POST | /futures/private/order/create | Place Active Order |
| private_order_list | GET | /futures/private/order/list | Get Active Order |
| private_order_cancel | POST | /futures/private/order/cancel | Cancel Active Order |
| private_order_cancelall | POST | /futures/private/order/cancelAll | Cancel All Active Orders |
| private_order_replace | POST | /futures/private/order/replace | Replace Active Order |
| private_order | GET | /futures/private/order | Query Active Order (real-time) |
| private_stoporder_create | POST | /futures/private/stop-order/create | Place Conditional Order |
| private_stoporder_list | GET | /futures/private/stop-order/list | Get Conditional Order |
| private_stoporder_cancel | POST | /futures/private/stop-order/cancel | Cancel Conditional Order |
| private_stoporder_cancelall | POST | /futures/private/stop-order/cancelAll | Cancel All Conditional Orders |
| private_stoporder_replace | POST | /futures/private/stop-order/replace | Replace Conditional Order |
| private_stoporder | GET | /futures/private/stop-order | Query Conditional Order (real-time) |
| private_position_list | GET | /futures/private/position/list | My Position |
| private_position_changepositionmargin | POST | /futures/private/position/change-position-margin | Change Margin |
| private_position_tradingstop | POST | /futures/private/position/trading-stop | Set Trading-Stop |
| private_position_leverage_save | POST | /futures/private/position/leverage/save | Set Leverage |
| private_position_switchmode | POST | /futures/private/position/switch-mode | Position Mode Switch |
| private_tpsl_switchmode | POST | /futures/private/tpsl/switch-mode | Full/Partial Position SL/TP Switch |
| private_position_switchisolated | POST | /futures/private/position/switch-isolated | Cross/Isolated Margin Switch |
| private_execution_list | GET | /futures/private/execution/list | User Trade Records |
| private_trade_closedpnl_list | GET | /futures/private/trade/closed-pnl/list | Closed Profit and Loss |
| private_position_risklimit | POST | /futures/private/position/risk-limit | Set Risk Limit |
| public_time | GET | /v2/public/time | Server Time |
| public_announcement | GET | /v2/public/announcement | Announcement |