> For the complete documentation index, see [llms.txt](https://docs.niza.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.niza.io/authenticated-endpoints/orders/get-order.md).

# Get Order

## Get order

<mark style="color:green;">`GET`</mark> `/orders/:order_id`

Get an order details

**Headers**

| Name       | Value                 |
| ---------- | --------------------- |
| X-API-Key  | `API Key`             |
| X-API-Sign | `Generated Signature` |

**Path Params**

<table><thead><tr><th>Name</th><th>Type</th><th data-type="checkbox">Required</th><th>Description</th></tr></thead><tbody><tr><td><code>order_id</code></td><td>number</td><td>true</td><td>The order id to get</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "success": true,
    "message": "Request processed successfully",
    "data": {
        "id": 422,
        "user_id": 16,
        "transaction_id": "OPOXV7-5N2VX-E4A58A",
        "status": "canceled",
        "open_time": "1711558585.0000",
        "close_time": "1711584893.6048",
        "expire_time": "0.0000",
        "reason": "User requests",
        "pair": "NIZAEUR",
        "type": "buy",
        "order_type": "limit",
        "description": {
            "pair": "NIZAEUR",
            "type": "buy",
            "close": "",
            "order": "buy 1600.00000000 NIZAEUR @ limit",
            "price": "0.00812000",
            "leverage": "none",
            "orderType": "limit",
            "secondaryPrice": null
        },
        "volume": {
            "amount": "1600.00000000",
            "currency": "NIZA"
        },
        "volume_executed": {
            "amount": "0.00000000",
            "currency": "NIZA"
        },
        "fee": null,
        "price": {
            "amount": "0.00812000",
            "currency": "EUR"
        },
        "secondary_price": null,
        "limit_price": null,
        "cost": null,
        "asset_pair": {
            "id": 679,
            "name": "NIZAEUR",
            "display_name": "NIZA/EUR",
            "base_name": "NIZA",
            "quote_name": "EUR"
        },
        "trigger_conditions": "--",
        "trades": []
    },
    "code": 200
}
```

{% endtab %}

{% tab title="404" %}

```json
{
    "success": false,
    "message": "No query results for model 4224",
    "error": {
        "message": "No query results for model 4224",
        "code": 404
    }
}
```

{% endtab %}
{% endtabs %}
