Get Historical Orders
Retrieve a list of orders placed by a trading account with specified filters.
- On a single query request you can retrieve data over a 7 day window, with the data available for the last 90 days
This endpoint requires authentication and supports pagination. To filter by createdAtDatetime and createdAtTimestamp, additional parameters are required. For detailed instructions, see the Filtering Support section. Additionally, this endpoint is subjected to rate limiting.
Request
- Base URLhttps://api.exchange.bullish.com/trading-api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
market symbol. E.g. BTCUSDC
Unique numeric (i64) identifier generated on the client side expressed as a string value
order side
order status
unique trading account ID
Id of the trading account
ISO 8601 with millisecond as string
start timestamp of period, ISO 8601 with millisecond as string
ISO 8601 with millisecond as string
end timestamp of period, ISO 8601 with millisecond as string
Response
OK
Example response
[
{
"clientOrderId": "299834741023572480",
"orderId": "297735387747975680",
"symbol": "BTCUSDC",
"price": "1.00000000",
"averageFillPrice": "1.00000000",
"stopPrice": "1.00000000",
"quantity": "1.00000000",
"quantityFilled": "1.00000000",
"quoteAmount": "1.00000000",
"baseFee": "1.00000000",
"quoteFee": "1.00000000",
"borrowedBaseQuantity": "1.00000000",
"borrowedQuoteQuantity": "1.00000000",
"side": "BUY",
"type": "LMT",
"timeInForce": "GTX",
"status": "OPEN",
"statusReason": "User cancelled",
"statusReasonCode": "1002",
"createdAtDatetime": "2025-05-20T01:01:01.000Z",
"createdAtTimestamp": "1621490985000"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.