get_transactions_range
Fetch transactions within an inclusive ID range with optional type filters and limits. Returns transaction details like time, type, and type-specific fields for targeted account history.
Instructions
Get the transactions in an inclusive ID range.
This is the endpoint that returns actual transactions — use it with
the ID ranges from list_transactions page links, or directly when
you know the IDs. Returns {"transactions": [...], "lastTransactionID": "..."}; each transaction carries id,
time (RFC3339), type, and its type-specific fields (see
get_transaction). Monetary values and units/price are
decimal strings; units is signed (positive = long, negative =
short). Keep ranges modest — the API serves at most 1000 transactions
per request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of transactions to return. | |
| to_id | Yes | Last transaction ID of the range (inclusive). | |
| from_id | Yes | First transaction ID of the range (inclusive). | |
| transaction_types | No | Optional transaction type filters, e.g. ['ORDER_FILL', 'DAILY_FINANCING']. Accepts TransactionFilter values such as ORDER, FUNDING, ADMIN, CREATE, CLOSE, TRANSFER_FUNDS, CLIENT_CONFIGURE, MARKET_ORDER, LIMIT_ORDER, STOP_ORDER, MARKET_IF_TOUCHED_ORDER, TAKE_PROFIT_ORDER, STOP_LOSS_ORDER, TRAILING_STOP_LOSS_ORDER, ORDER_FILL, ORDER_CANCEL, DAILY_FINANCING, MARGIN_CALL_ENTER, MARGIN_CALL_EXIT. Omit for all types. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||