Trading Endpoints
Get Order Details
Get details of a specific order by its order ID.
GET
/
trading
/
order
/
{order_id}
Header
Path
curl --request GET \
--url https://sandbox.featherhq.com/trading/order/{order_id} \
--header 'x-api-key: <x-api-key>'
{
"account_id": "AB1234",
"order_currency": "USD",
"order_direction": "BUY",
"order_qty": 100,
"order_sec_type": "STK",
"order_status": "Received",
"order_symbol": "MSFT",
"order_type": "MKT",
"order_uuid": "abcd-1234-efgh-5678"
}
Headers
x-api-key
string
requiredAPI Key for authentication
Path Parameters
order_id
string
requiredThe order ID
Response
200 - application/json
account_id
string
Unique identifier for the account.
order_currency
string
Currency of the order.
order_direction
enum<string>
Direction of the order (BUY/SELL).
Available options:
BUY
, SELL
order_qty
integer
Quantity of the order.
order_sec_type
enum<string>
Security type of the order (STK).
Available options:
STK
order_status
enum<string>
Status of the order (Received).
Available options:
Received
, Pending
, Filled
, Rejected
, Error
order_symbol
string
Symbol of the order.
order_type
enum<string>
Type of the order.
Available options:
MKT
, LMT
order_uuid
string
Unique identifier for the order.
curl --request GET \
--url https://sandbox.featherhq.com/trading/order/{order_id} \
--header 'x-api-key: <x-api-key>'
{
"account_id": "AB1234",
"order_currency": "USD",
"order_direction": "BUY",
"order_qty": 100,
"order_sec_type": "STK",
"order_status": "Received",
"order_symbol": "MSFT",
"order_type": "MKT",
"order_uuid": "abcd-1234-efgh-5678"
}