> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tronrental.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Order

> Check the status of an energy or bandwidth order by ID

## Get Order

Returns the current status and full details of an energy or bandwidth order.

### Path parameters

<ParamField path="order_id" type="number" required>
  Order ID — the `id` returned by Buy Energy or Buy Bandwidth.
</ParamField>

### Response

Returns the full order object including `status`, `type`, `volume`, `price_trx`, `delegate_txid`, and timestamps.

### Order statuses

| Status      | Description                                                        |
| ----------- | ------------------------------------------------------------------ |
| `pending`   | Order received, delegation in progress                             |
| `filled`    | Energy or bandwidth successfully delegated                         |
| `failed`    | Delegation failed                                                  |
| `reclaimed` | Bandwidth returned after the rental period (bandwidth orders only) |

### Example

```bash theme={null}
curl https://api.tronrental.com/v1/orders/12345 \
  -H "X-API-Key: your_api_key"
```

```json Response theme={null}
{
  "id": 12345,
  "type": "energy",
  "target_address": "TRecipientAddress...",
  "volume": 65000,
  "duration": "1h",
  "price_trx": "1.79",
  "status": "filled",
  "delegate_txid": "a1b2c3d4e5f6...",
  "undelegate_txid": null,
  "reclaim_at": null,
  "source": "api",
  "created_at": "2026-06-10T04:30:00Z"
}
```
