---
title: "Get order history"
method: GET
path: "/v2/history/order"
tags: ["History"]
---

# Get order history

`GET /v2/history/order`

Returns persisted order history for the resolved account, newest first. Use fromOrderID for backward cursor pagination. Public account selectors do not require authentication; sub_account_id and the no-selector caller context do. Selector precedence is account_id, vault_id, blockchain address, then authenticated caller/subaccount.

## Query parameters

- `symbol` string
- `side` 'buy' | 'sell'
- `type` 'market' | 'limit' | 'stop' | 'stop_limit' | 'take_profit' | 'take_profit_limit' | 'trailing_stop_market'
- `status` integer
- `order_id` integer
- `source` 'twap' | 'grid' | 'copy'
- `startTime` integer
- `endTime` integer
- `limit` integer
- `fromOrderID` integer
- `account_id` string, uuid
- `sub_account_id` string, uuid
- `vault_id` string
- `blockchain` 'cardano' | 'ethereum' | 'solana'
- `blockchain_address` string

## Response `200`

Order history

- OrderHistoryResponse
  - `orders` OrderHistoryResult[], required
    - `id` integer, required — Order ID
    - `client_order_id` string, required — Client order ID
    - `account_id` string, uuid, required — Account ID
    - `symbol` string, required — Trading pair
    - `strategy_id` string, nullable, required — Strategy ID
    - `is_primary` boolean, nullable, required — Whether this is a strategy's primary order
    - `close_reason` string, nullable, required — Strategy close reason
    - `side` 'buy' | 'sell', required — Order side
    - `status` 'pending' | 'open' | 'filled' | 'canceled' | 'untriggered' | 'rejected' | 'expired', required — Order status
    - `type` 'market' | 'limit' | 'stop' | 'stop_limit' | 'take_profit' | 'take_profit_limit' | 'trailing_stop_market', required — Order type
    - `origin_type` '' | 'market' | 'limit' | 'stop' | 'stop_limit' | 'take_profit' | 'take_profit_limit' | 'trailing_stop_market', nullable, required — Original order type before any trigger conversion; empty or null when not applicable
    - `auto_close_type` '' | 'liquidation' | 'adl' | 'bankrupt' | 'if_transfer' | 'vault_withdrawal', nullable, required — System auto-close reason; null for ordinary orders
    - `time_in_force` 'GTC' | 'FOK' | 'IOC', nullable, required — Time in force
    - `working_type` 'none' | 'contract_price' | 'mark_price', nullable, required — Trigger working price
    - `size` string, required — Requested size
    - `filled` string, required — Filled size
    - `price` string, required — Order price
    - `stop_price` string, required — Trigger price
    - `post_only` boolean, required — Whether the order is post-only
    - `reduce_only` boolean, required — Whether the order is reduce-only
    - `close_position` boolean, required — Whether the order closes the full position
    - `price_protect` boolean, required — Whether trigger price protection is enabled
    - `callback_rate` string — Trailing-stop callback rate; omitted for other order types
    - `activation_price` string — Trailing-stop activation price; omitted for other order types
    - `trailing_extreme` string — Current trailing extreme; omitted for other order types
    - `trailing_activated` boolean — Whether the trailing stop has activated; omitted for other order types
    - `create_timestamp` integer, required — Creation time in Unix milliseconds
    - `entry_timestamp` integer, required — Engine entry time in Unix milliseconds
    - `event_timestamp` integer, required — Last event time in Unix milliseconds
  - `count` integer, required — Number of orders returned

## Other responses

- `400` — Invalid query parameter
- `401` — Authentication is missing, invalid, or does not own the selected subaccount
- `404` — Account, vault, or requested resource not found

---

[API](https://skmtc.net/strikefinance/apis/strike-finance-staking-api.md) · [All operations](https://skmtc.net/strikefinance/apis/strike-finance-staking-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/strikefinance/strike-finance-staking-api/revisions/6b7d8bd51050/schema)
