Skip to Content
Trading

Get Exotic Orders (TP/SL)

GET
/v2/account/exotic-orders

Get Exotic Orders (TP/SL)

Warning: Ensure your API key has the TRADE scope. You can generate an API key through the One Trading UI.

This endpoint is rate-limited per account holder (see 429).

Returns the account's exotic orders, its take profit / stop loss orders (TP/SLs), that are still live: PENDING, ACTIVE or TRIGGERED. This is where a TP/SL attached with Create Order is read back: it is held in a separate service, not on the exchange itself, until a level is reached, so it never appears in Get Orders.

  • With no parameters, every live TP/SL of the account, a page at a time: pass the cursor of one page to get the next.
  • instrument_code and status narrow the list. A narrowed list is returned in one page, and its cursor is null. limit still applies, so a narrowed list can end early with no cursor to fetch the rest: raise limit (up to 100) to see more.
  • client_id returns that one TP/SL in orders, whatever its status, finished ones included. The other parameters are ignored.

Each TP/SL carries a version, which Update Exotic Order (TP/SL) needs.

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key created in the One Trading UI, sent as Authorization: Bearer <token>. Each endpoint lists the key permission it needs.

Query Parameters

client_id?string

Return this one TP/SL, in any status. For a TP/SL attached to an order, the order's client_id.

Formatuuid
instrument_code?string

Only TP/SLs on this instrument.

status?string

Only TP/SLs in this status.

Value in"PENDING""ACTIVE""TRIGGERED"
limit?integer

The most TP/SLs to return, from 1 to 100.

Range1 <= value <= 100
cursor?string

The cursor of the previous page.

Response Body

OK

application/json
  1. response
orders*array<>

The TP/SLs. Empty when there are none.

cursor*|

Pass it as cursor to get the next page. null on the last page, and on a list narrowed by instrument_code, status or client_id.

Example Request
curl -X GET 'https://api.onetrading.com/fast/v2/account/exotic-orders?instrument_code=BTC_USD_P'
Example Response
{  "orders": [    {      "client_id": "0d0b1f0c-7f0e-4f55-9a53-6f6f3c1c2a10",      "instrument_code": "BTC_USD_P",      "order_kind": "TPSL",      "tpsl_mode": "position",      "status": "ACTIVE",      "take_profit": null,      "stop_loss": {        "value": "65000",        "type": "MID"      },      "slippage_bps": 500,      "version": 2,      "side": "BUY",      "market_type": "FUTURES",      "position_id": "1b0f6f5e-2a59-4f0a-9d0e-5f7f3f0f6a11",      "order_id": null,      "type": "MARKET",      "price": null,      "filled_amount": "1.5",      "tp_client_id": "c2a7a1de-6d0b-11f0-8de9-0242ac120002",      "sl_client_id": "1f06d0b6-a7a1-6e20-8de9-0242ac120002",      "created_at": "2026-11-16T10:15:00.000Z",      "filled_at": "2026-11-16T10:15:00.000Z",      "completed_at": null,      "cancelled_at": null    }  ],  "cursor": null}