Search your futures orders
Changed onFilter by pair, account, date range and status. This is also where OPEN orders come from: ask for status 10 (Created) to get limit orders that have not filled yet — the positions endpoint cannot return them, as it only ever reports open (50) or closed (20) positions. The response is a page { items, currentPage, pageSize, totalCount, totalPages, hasPreviousPage, hasNextPage }.
Request
- Base URLhttps://api.binibit.com
- URLhttps://api.binibit.com/api/futures/trade/orders-history
- Authnone declared
Query parameters
Restrict to one pair, e.g. BTC_USDT. Omit for every pair.
1-based page number; values below 1 fall back to 1.
Orders per page; values below 1 fall back to 100; capped at 1000.
Include only orders created at or after this moment (UTC).
Include only orders created at or before this moment (UTC).
Lifecycle stages to include; repeat the parameter for several. 10 alone returns the resting orders that have not filled yet.
Restrict to one Unified Trading Account. Omit to search across all of the caller's accounts.
Headers
Your API key, verbatim. Create one at https://azbit.com/dashboard/settings/api-settings.
Signature of THIS request — lower-case hex of HMAC-SHA256 over publicKey + fullUrl + body, keyed with your private key. It changes with every request, so it cannot be set once and reused. Full algorithm and code samples are at the top of this page.
Response
OK
Changes
- info
endpoint added
- info