binance_get_all_order_lists
Retrieve account-wide order lists — working, completed, and cancelled — across all symbols with optional from_id cursor or 24-hour time window for history reconstruction.
Instructions
List this account's order lists — working, completed and cancelled — across symbols.
Calls GET /api/v3/allOrderList (SIGNED, IP weight 20). There is no symbol filter:
the endpoint is account-wide. Narrow it with from_id (lists with orderListId >= it)
or a start_time/end_time window — Binance forbids combining them, and that is
rejected locally. The window may not exceed 24 hours, also checked here so you get
a clear message instead of Binance's -1127.
When to Use:
Reconstructing which brackets existed during a given day.
Paging list history forward with a
from_idcursor.
When NOT to Use:
For what is armed right now —
binance_get_open_order_listscosts weight 6.For one known list —
binance_get_order_listcosts weight 4.For plain (non-list) orders —
binance_get_all_orders(spot_orders.py).
Returns:
A markdown table (time, symbol, orderListId, contingencyType, listStatusType,
listOrderStatus, listClientOrderId, leg count) capped at 50 rows, or the raw array
with response_format="json".
Pagination:
limit is 1-1000 (Binance default 500) and at most 50 rows are rendered; use
response_format="json" or narrow the window for the rest. from_id pages forward:
pass the last orderListId you saw, plus one.
Windows:
start_time/end_time accept epoch ms or ISO-8601 and must span 24 h or less
together. Omit everything to get the most recent limit lists.
Examples: params = {"limit": 10} params = {"start_time": "2026-09-22T00:00:00Z", "end_time": "2026-09-22T23:59:59Z"} params = {"from_id": 27}
Error Handling:
A window wider than 24 h, and from_id combined with a time bound, are both rejected
locally. -1127 from Binance means a too-wide window reached it anyway; -1128 is an
invalid parameter combination. -2015 means the key lacks permission or this IP is not
allowlisted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |