Search trades
Query Parameters
Supported in both views; typed bounds described here. Inclusive minimum ledger. Defaults to max_ledger minus 63, or the ledger encoded in an operation/trade ID.
1 <= valueSupported in both views; typed bounds described here. Inclusive maximum ledger. Defaults to the greatest published parsed ledger, or the ledger encoded in an operation/trade ID.
1 <= valueTyped only (view=typed). Inclusive UTC ISO timestamp ending in Z. Narrows the selected ledger window; not an all-history date search.
date-timeTyped only (view=typed). Exclusive UTC ISO timestamp ending in Z.
date-timeSupported in both views; typed bounds described here. Maximum returned rows, with one lookahead row for nextOffset.
1 <= value <= 10025Supported in both views; typed bounds described here. Zero-based offset. Follow nextOffset with unchanged filters; narrow the window once offset exceeds 10000.
0 <= value <= 100000Supported in both views; typed bounds described here. Exact seller.
Supported in both views; typed bounds described here. Exact buyer.
Typed only (view=typed). native or CODE:ISSUER.
Typed only (view=typed). native or CODE:ISSUER.
Typed only (view=typed). Exact operation id.
^-?[0-9]+$Legacy only; omit view. Rejected with view=typed.
Legacy only; omit view. Rejected with view=typed.
Legacy only; omit view. Rejected with view=typed.
Legacy only; omit view. Rejected with view=typed.
Legacy only; omit view. Rejected with view=typed.
Omit to retain the legacy response and limits. typed selects the bounded parsed explorer representation documented here.
Value in
- "typed"
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/trades"{ "columns": [ "string" ], "dataset": "history_trades", "elapsedMilliseconds": 0, "limit": 1, "offset": 0, "nextOffset": 0, "rows": [ { "history_operation_id": "272689036992143360", "order": 0, "selling_account_address": "string", "buying_account_address": "string", "selling_amount": "string", "buying_amount": "string", "price_n": "272689036992143360", "price_d": "272689036992143360", "ledger_closed_at": "string" } ]}