> For the complete documentation index, see [llms.txt](https://rwaperp-1.gitbook.io/rwaperp-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rwaperp-1.gitbook.io/rwaperp-docs/rwa-perp-b2b-api/rest-api-reference/trading-and-orders/get-v1-algo-client-order-client-order-id.md).

# get v1 algo client order client order id

`GET /v1/algo/client/order/{client_order_id}`

**Authentication:** RWA

**Rate limit:** 10 requests per second

## Description

Get details of a single algo order by `client_order_id`.

## Parameters

| Name              | Location | Type   | Required | Description                    | Example |
| ----------------- | -------- | ------ | -------- | ------------------------------ | ------- |
| `client_order_id` | path     | string | Yes      | client\_order\_id of the order | —       |

## Responses

### HTTP 200

OK

| Field                          | Type                 | Required | Description                                                                                                                                                                                                           |
| ------------------------------ | -------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `success`                      | boolean              | Yes      | Indicates whether the request was successful. Example: `True`                                                                                                                                                         |
| `timestamp`                    | integer              | No       | Server timestamp in milliseconds. Example: `1702989203989`                                                                                                                                                            |
| `data`                         | object               | Yes      | —                                                                                                                                                                                                                     |
| `data.algo_order_id`           | number               | Yes      | Example: `168400010`                                                                                                                                                                                                  |
| `data.algo_status`             | string               | Yes      | Example: `NEW`                                                                                                                                                                                                        |
| `data.algo_type`               | string               | Yes      | Example: `STOP`                                                                                                                                                                                                       |
| `data.fee_asset`               | string               | Yes      | Example: `USDC`                                                                                                                                                                                                       |
| `data.is_triggered`            | string               | Yes      | Example: `false`                                                                                                                                                                                                      |
| `data.order_tag`               | string               | Yes      | Full tag stored on the algo order. Current custom-fee tags use `enum:<owning_broker_id>:<enum_id>`. Historical orders may contain a legacy `enum:<enum_id>` tag; do not rewrite it. Example: `enum:broker_b:GRID_PRO` |
| `data.parent_algo_order_id`    | number               | Yes      | Example: `0`                                                                                                                                                                                                          |
| `data.quantity`                | number               | Yes      | Example: `5.5`                                                                                                                                                                                                        |
| `data.root_algo_order_id`      | number               | Yes      | Example: `168400010`                                                                                                                                                                                                  |
| `data.root_algo_order_status`  | string               | Yes      | Example: `NEW`                                                                                                                                                                                                        |
| `data.side`                    | string               | Yes      | Example: `BUY`                                                                                                                                                                                                        |
| `data.symbol`                  | string               | Yes      | Example: `PERP_NEAR_USDC`                                                                                                                                                                                             |
| `data.margin_mode`             | `CROSS` / `ISOLATED` | No       | Example: `CROSS`                                                                                                                                                                                                      |
| `data.executed_quantity`       | number               | No       | Example: `0`                                                                                                                                                                                                          |
| `data.total_executed_quantity` | number               | Yes      | Example: `0`                                                                                                                                                                                                          |
| `data.total_fee`               | number               | Yes      | Aggregate fee across executed trades, including any custom trading fees. Use trade-level fields for reconciliation; this value is not a builder or affiliate payout basis. Example: `0`                               |
| `data.trigger_price`           | number               | Yes      | Example: `2.5`                                                                                                                                                                                                        |
| `data.trigger_price_type`      | string               | Yes      | Example: `MARK_PRICE`                                                                                                                                                                                                 |
| `data.type`                    | string               | Yes      | Example: `MARKET`                                                                                                                                                                                                     |
| `data.created_time`            | string               | Yes      | Example: `1702871974317`                                                                                                                                                                                              |
| `data.updated_time`            | string               | Yes      | Example: `1702871974317`                                                                                                                                                                                              |
| `data.visible_quantity`        | number               | Yes      | Example: `5.5`                                                                                                                                                                                                        |
| `data.realized_pnl`            | number               | No       | Example: `0.0`                                                                                                                                                                                                        |
| `data.child_orders`            | array                | No       | Array of `AlgoOrder`                                                                                                                                                                                                  |


---

# 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://rwaperp-1.gitbook.io/rwaperp-docs/rwa-perp-b2b-api/rest-api-reference/trading-and-orders/get-v1-algo-client-order-client-order-id.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.
