Skip to content

Order book and order status

List today's orders, read one order, and know when an order is complete.

Order book

GET /v1/orders · limit 10 per minute, shared with Get order

Today's orders, by New York date

The order book returns orders created today in New York time (midnight to midnight), whatever their status. Open GTC orders from earlier days don't appear here; read them with Get order.

Query Value
status all (default), open, or one exact status such as FILLED
symbol Ticker, any case
txn_type BUY or SELL
order_type MARKET or LIMIT, any case
sort desc (default, newest first) or asc, by creation time
limit 1 to 10, default 10
offset 0 to 10,000, default 0

Send each parameter once. Unknown or repeated parameters return 400 invalid_query.

Bash
curl --location 'https://api.indmoneyglobal.com/v1/orders?status=open&limit=10' \
  --header 'Authorization: YOUR_ACCESS_TOKEN'
JSON
{
  "status": "success",
  "data": {
    "orders": [ { "order_id": "90144646", "order_status": "NEW", "...": "see Order fields" } ],
    "limit": 10,
    "offset": 0,
    "next_offset": 1,
    "total": 1,
    "has_more": false
  }
}

To get the next page, call again with offset = next_offset while has_more is true. If orders are placed while you page through, pages can shift. The order book can take a few seconds to show the latest status; for one order, Get order is the quickest way to see it.

Get order

GET /v1/orders/{order_id}

Returns one order, from any day. Use it to follow an order after you place or cancel it.

Bash
curl --location 'https://api.indmoneyglobal.com/v1/orders/91900732' \
  --header 'Authorization: YOUR_ACCESS_TOKEN'
JSON
{
  "status": "success",
  "data": {
    "order_id": "91900732",
    "root_order_id": "91900732",
    "latest_order_id": "91900732",
    "connected_order_id": null,
    "order_class": null,
    "security_id": "116532",
    "symbol": "VTI",
    "txn_type": "BUY",
    "order_type": "MARKET",
    "order_status": "FILLED",
    "quantity": null,
    "amount": 10,
    "net_amount": 9.28,
    "price": null,
    "stop_limit_price": null,
    "filled_quantity": 0.024789238,
    "filled_amount": 9.279999980728,
    "avg_fill_price": 374.356,
    "fees": 0.72,
    "commission": 0.72,
    "validity": "DAY",
    "gtc_expiry_date": null,
    "reject_reason": null,
    "sl_trigger_price": null,
    "tgt_limit_price": null,
    "extended_hours": false,
    "created_at": "2026-11-11T20:42:22.374511+05:30",
    "updated_at": "2026-11-11T20:42:26.170273+05:30",
    "last_executed_at": "2026-11-11T20:42:22.969313+05:30",
    "modifications": []
  }
}

An order that doesn't exist, or isn't yours, returns 404.

Order fields

A field with no value is null.

Field Meaning
order_id This order
root_order_id, latest_order_id First and latest order in a chain of changes; the same as order_id for most orders
connected_order_id, order_class Link and class for bracket orders; null for other orders
security_id, symbol Instrument
txn_type BUY or SELL
order_type MARKET or LIMIT
order_status See order statuses
quantity Shares requested; null for dollar orders
amount USD requested; null for share orders
net_amount Order value net of fees
price Limit price; null for MARKET
stop_limit_price Reserved; currently null
filled_quantity, filled_amount Shares and USD executed so far
avg_fill_price Average execution price
fees, commission Charges in USD
validity DAY or GTC. An extended-hours DAY order can show GTX
gtc_expiry_date GTC only: expiry date YYYY-MM-DD, New York
reject_reason Why the order was REJECTED or FAILED
sl_trigger_price, tgt_limit_price Bracket prices sent with the order
extended_hours true if placed for extended hours
created_at, updated_at, last_executed_at ISO 8601 times
modifications Changes made to the order; empty for most orders

Order statuses

Read order_status to know where your order stands.

Status Meaning
FILLED The order is fully executed.
CANCELLED The order is cancelled. Any shares executed before the cancel are in filled_quantity.
REJECTED The order wasn't accepted. See reject_reason.
FAILED The order couldn't be placed. See reject_reason.
EXPIRED A DAY or GTC order reached the end of its validity without filling.
Any other status The order is in transit: it is being processed or is open in the market. Keep checking until it shows one of the statuses above. filled_quantity shows any shares executed so far.

FILLED, CANCELLED, REJECTED, FAILED and EXPIRED are final: the order won't change after that. status=open in the order book returns orders that are still in transit.

Tip

After you place or cancel an order, check Get order every few seconds until the status is final. Stay within the limit of 10 calls per minute.

Errors

HTTP Code When
400 invalid_query Unknown, repeated or invalid query parameter
404 — Order not found, or not yours (Get order)
429 rate_limit_exceeded Over the limit; wait for Retry-After
503 orders_unavailable / order_unavailable Temporarily unavailable; try again after a short wait
503 security_unavailable Instrument details are temporarily unavailable; your order isn't affected