Get Order by Order ID
GET
https://api.onetrading.com/fast/v1/account/orders/{order_id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.onetrading.com/fast/v1/account/orders/'
Response Response Example
200 - Example 1
{
"order": {
"account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
"order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
"client_id": "5b3fa7ba-57d3-4017-a65b-d57dcd2db643",
"amount": "string",
"side": "BUY",
"instrument_code": "string",
"price": "string",
"time": "2019-08-24T14:15:22Z",
"sequence": "string",
"total_fee": "string",
"fee_currency": "string",
"time_last_updated": "string",
"order_book_sequence": "string",
"filled_amount": "string",
"status": "BOOKED",
"average_price": "string"
},
"trades": [
{
"fee": {
"fee_amount": "string",
"fee_currency": "string"
},
"trade": {
"trade_id": "716cb486-5256-4659-973c-189b58daa723",
"order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
"account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
"amount": "string",
"side": "BUY",
"instrument_code": "string",
"price": "string",
"time": "2019-08-24T14:15:22Z",
"sequence": "string",
"matched_as": "MAKER"
}
}
]
}
Request
Path Params
order_id
string <uuid>
required