Get user order history
Retrieve paginated perp and spot order history for a specific user including filled, cancelled, and expired orders. Supports filtering by one concrete market address, order type, status, side, reduce-only, and timestamp range. Supports sorting by timestamp (default: descending). Page size is capped at 200.
Authorizations
Bearer token from Geomi. See Authentication for setup instructions.
Query Parameters
User account address (user query alias is also accepted)
Optional asset_type filter ("perp" | "spot"). Omit to UNION both;
each row carries an asset_type field for client-side demux.
Discriminator carried on DTOs that can mix perp and spot rows (markets,
orders, trades, bulk orders, bulk order fills, and WebSocket payloads).
Also accepted as a query parameter on REST endpoints that can filter to one
product.
Wire format is lowercase ("perp" / "spot") and accepted
case-insensitively on the request side via [impl_case_insensitive_deserialize].
perp, spot Page size
0 <= x <= 200Page offset
0 <= x <= 10000Sort key for history endpoints
timestamp ASC, DESC Filter by one concrete market address.
Filter by order type
Filter by order status
Filter by side
Order side filter: buy (long) or sell (short).
For orders, maps to is_buy column. For trades/funding, maps to
action IN ('OpenLong','CloseShort') (buy) or action IN ('CloseLong','OpenShort') (sell).
buy, sell Filter by reduce-only flag (perp-only; ignored for spot rows)

