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

# Order Status

> Query individual order status and details

Query the status and details of a specific order.

<Info>
  The examples on this page use **Hyperliquid** (`provider: 'hyperliquid'`). Replace the `provider` value with any supported DEX from `getProviders()`.
</Info>

```typescript theme={null}
import { getOrder } from '@lifi/perps-sdk';

const order = await getOrder(client, {
  provider: 'hyperliquid',
  address: userAddress,
  id: '12345678',
});

console.log(order.status);       // 'FILLED'
console.log(order.averagePrice); // '95050.00'
console.log(order.filledSize);   // '0.1'
```

## Order Status Values

| Status             | Description                     |
| ------------------ | ------------------------------- |
| `PENDING`          | Submitted, not yet on orderbook |
| `OPEN`             | Resting on orderbook            |
| `PARTIALLY_FILLED` | Some quantity filled            |
| `FILLED`           | Fully filled                    |
| `CANCELLED`        | Cancelled by user               |
| `REJECTED`         | Rejected by DEX                 |
| `EXPIRED`          | GTT order expired               |
| `TRIGGERED`        | Trigger order activated (TP/SL) |

**Reference:** [Account — Orders](/api-reference/account#getorders) (account reads are served by the SDK, not as HTTP endpoints)
