> For the complete documentation index, see [llms.txt](https://docs.ticko.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ticko.xyz/api-documentation/trade/rest-api/get-active-orders.md).

# Get Active Orders

## Get Active Orders

> Returns active orders for an address. This endpoint uses cursor pagination.\
> \
> \*\*Rate-limit weight\*\*\
> \
> \- \*\*By IP:\*\* \`2\`

```json
{"openapi":"3.1.0","info":{"title":"Ticko API","version":"1.0"},"tags":[{"name":"Trade","description":"Order lifecycle: place, modify, cancel (single and batch), chase, cancel-all, plus open orders, order history, and executions. All write endpoints are signed (Signing Type A)."}],"servers":[{"url":"https://api.testnet.ticko.xyz/v1","description":"Testnet"}],"paths":{"/trade/orders":{"get":{"operationId":"getActiveOrders","summary":"Get Active Orders","tags":["Trade"],"description":"Returns active orders for an address. This endpoint uses cursor pagination.\n\n**Rate-limit weight**\n\n- **By IP:** `2`","parameters":[{"name":"address","in":"query","required":true,"description":"Account address.","schema":{"type":"string"}},{"name":"symbol_id","in":"query","required":false,"description":"Trading pair ID.","schema":{"type":"integer"}},{"name":"order_filter","in":"query","required":false,"description":"`market`, `limit`, `conditional`, `partial_tpsl`, `full_tpsl`; comma-separated values are supported.","schema":{"type":"string","enum":["market","limit","conditional","partial_tpsl","full_tpsl"]}},{"name":"limit","in":"query","required":false,"description":"Default `50`, maximum `500`.","schema":{"type":"integer"}},{"name":"cursor","in":"query","required":false,"description":"Pagination cursor.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Envelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"list":{"type":"array","description":"Order objects.","items":{"type":"object","properties":{"order_id":{"type":"string","description":"System order ID."},"client_order_id":{"type":["string","null"],"description":"Client order ID."},"address":{"type":"string","description":"Account address."},"created_time":{"type":"integer","description":"Creation timestamp."},"updated_time":{"type":"integer","description":"Last update timestamp."},"symbol_id":{"type":"integer","description":"Trading pair ID."},"is_buy":{"type":"boolean","description":"`true` for buy, `false` for sell."},"order_type":{"type":"string","enum":["market","limit"],"description":"`market` or `limit`."},"algo_order_type":{"type":["string","null"],"enum":["conditional","tpsl","attached_tpsl",null],"description":"`conditional`, `tpsl`, `attached_tpsl`, or `null`."},"time_in_force":{"type":["string","null"],"enum":["gtc","ioc","fok",null],"description":"`gtc`, `ioc`, `fok`, or `null`."},"quantity":{"type":"string","description":"Order quantity."},"price":{"type":["string","null"],"description":"Order price."},"price_match":{"type":["string","null"],"description":"Price match strategy."},"position_side":{"type":["string","null"],"enum":["both","long","short",null],"description":"`both`, `long`, `short`, or `null`."},"margin_mode":{"type":["string","null"],"enum":["cross","isolated",null],"description":"`cross`, `isolated`, or `null`."},"market_order_type":{"type":["string","null"],"enum":["base","quote",null],"description":"Market order quote type: `base`, `quote`, or `null`."},"stp_mode":{"type":["string","null"],"description":"Self-trade prevention mode."},"flags":{"type":["array","null"],"description":"Order flags such as `post_only` or `reduce_only`."},"state":{"type":"string","description":"Order state."},"cum_filled_quantity":{"type":"string","description":"Cumulative filled quantity."},"cum_filled_amount":{"type":"string","description":"Cumulative filled amount."},"remaining_quantity":{"type":"string","description":"Remaining quantity."},"original_quantity":{"type":"string","description":"Original order quantity."},"cum_fee":{"type":"string","description":"Cumulative fee."},"order_source":{"type":["string","null"],"description":"Order source."},"conditional":{"type":["object","null"],"description":"Conditional-order parameters, or `null`.","properties":{"trigger_price":{"type":"string","description":"Trigger price, present when `conditional` is returned."},"trigger_by":{"type":"string","description":"Trigger price source, present when `conditional` is returned."},"is_trigger_up":{"type":"boolean","description":"Whether the order triggers upward, present when `conditional` is returned."}}},"tpsl":{"type":["object","null"],"description":"TP/SL parameters, or `null`.","properties":{"tpsl_mode":{"type":"string","enum":["full","partial"],"description":"`full` or `partial`, present when `tpsl` is returned."},"tp_trigger_price":{"type":["string","null"],"description":"Take-profit trigger price."},"tp_trigger_by":{"type":["string","null"],"description":"Take-profit trigger price source."},"tp_order_type":{"type":["string","null"],"enum":["market","limit",null],"description":"Take-profit order type: `market`, `limit`, or `null`."},"tp_order_price":{"type":["string","null"],"description":"Take-profit limit price."},"sl_trigger_price":{"type":["string","null"],"description":"Stop-loss trigger price."},"sl_trigger_by":{"type":["string","null"],"description":"Stop-loss trigger price source."},"sl_order_type":{"type":["string","null"],"enum":["market","limit",null],"description":"Stop-loss order type: `market`, `limit`, or `null`."},"sl_order_price":{"type":["string","null"],"description":"Stop-loss limit price."},"triggered_by_tp":{"type":"boolean","description":"Whether TP triggered the order, present when relevant."}}},"parent_order_id":{"type":["string","null"],"description":"Parent order ID."},"leverage":{"type":"integer","description":"Leverage."},"slippage":{"type":["string","null"],"description":"Slippage."},"tx_hash":{"type":"string","description":"Transaction hash for creation or last update."}}}},"next_cursor":{"type":["string","null"],"description":"Cursor for the next page."},"has_more":{"type":"boolean","description":"Whether another page is available."}}}}}]}}}}}}}},"components":{"schemas":{"Envelope":{"type":"object","description":"Standard success response envelope. `data` is defined per endpoint.","properties":{"code":{"type":"string","description":"`\"0\"` on success."},"msg":{"type":"string","description":"Empty on success."},"trace_code":{"type":"string","description":"Backend trace identifier. Empty on success."}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ticko.xyz/api-documentation/trade/rest-api/get-active-orders.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
