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

# orderStatus | Hyperliquid Info API

> Hyperliquid orderStatus: look up the status of a single order for a user, by order id (oid) or client order id (cloid).

> [card] Credit Cost
>
> 1 per call

> [card] Processing
>
> Realtime

The Hyperliquid info endpoint with `type: "orderStatus"` is used to look up the status of a single order for a user, by order id (oid) or client order id (cloid).

> [!TIP]
>
> Estimate your monthly cost for this API using the [Pricing Calculator](https://goldrush.dev/docs/pricing-calculator.md?endpoint=%2Fapi-reference%2Fhyperliquid-info%2Forder-status).

> [!NOTE]
>
> * Wire-equal to `POST api.hyperliquid.xyz/info` with `{"type": "orderStatus", "user": "0x...", "oid": ...}`.
> * `oid` accepts either a numeric order id or a client order id (`cloid`, a hex string).
> * If the order is not found for that user, the response is `{"status": "unknownOid"}` (no `order` field).
> * To fetch many orders at once, use `historicalOrders` instead.

Returns the status of one order together with the order itself. Use it to poll a specific order you placed - by its exchange oid or the cloid you supplied - without pulling the user's whole order history.

## Endpoint

```
POST https://hypercore.goldrushdata.com/info
Authorization: Bearer <GOLDRUSH_API_KEY>
Content-Type: application/json
```

## Request

**type** `string` *required* (default: orderStatus)

Always `"orderStatus"`.

**user** `string` *required*

The account address in 42-character hex format, e.g. `"0x0000000000000000000000000000000000000000"`.

**oid** `int | string` *required*

The order identifier. Pass the numeric **order id** (e.g. `513957677284`) or a **client order id** (`cloid`) as a hex string (e.g. `"0x..."`).

### Example

```bash cURL theme={null}
curl -X POST https://hypercore.goldrushdata.com/info \
  -H "Authorization: Bearer $GOLDRUSH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "orderStatus",
    "user": "0x31ca8395cf837de08b24da3f660e77761dfb974b",
    "oid": 513957677284
  }'
```

```typescript TypeScript theme={null}
const response = await fetch("https://hypercore.goldrushdata.com/info", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.GOLDRUSH_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    type: "orderStatus",
    user: "0x31ca8395cf837de08b24da3f660e77761dfb974b",
    oid: 513957677284,
  }),
});

const result = await response.json();
if (result.status === "order") {
  console.log(result.order.status, result.order.order.coin, result.order.order.oid);
} else {
  console.log("not found:", result.status); // "unknownOid"
}
```

```python Python theme={null}
import os, requests

response = requests.post(
    "https://hypercore.goldrushdata.com/info",
    headers={"Authorization": f"Bearer {os.environ['GOLDRUSH_API_KEY']}"},
    json={"type": "orderStatus", "user": "0x31ca8395cf837de08b24da3f660e77761dfb974b", "oid": 513957677284},
)

result = response.json()
if result["status"] == "order":
    print(result["order"]["status"], result["order"]["order"]["coin"])
else:
    print("not found:", result["status"])
```

## Response

When the order is found, `status` is `"order"` and `order` contains the order plus its status. When it is not, `status` is `"unknownOid"` and there is no `order`.

```json theme={null}
{
  "status": "order",
  "order": {
    "order": {
      "coin": "POPCAT",
      "side": "A",
      "limitPx": "0.043668",
      "sz": "16812.0",
      "oid": 513957677284,
      "timestamp": 1786384269962,
      "triggerCondition": "N/A",
      "isTrigger": false,
      "triggerPx": "0.0",
      "children": [],
      "isPositionTpsl": false,
      "reduceOnly": false,
      "orderType": "Limit",
      "origSz": "16812.0",
      "tif": "Alo",
      "cloid": null
    },
    "status": "canceled",
    "statusTimestamp": 1786384274789
  }
}
```

Not found:

```json theme={null}
{ "status": "unknownOid" }
```

### Field descriptions

> [!NOTE]
>
> `limitPx`, `sz`, `origSz`, and `triggerPx` are returned as **decimal strings**, preserving upstream precision. Do not parse them as floats.

**status** `string`

`"order"` when the order is found, `"unknownOid"` when there is no such order for this user.

**order** `object`

Present only when `status` is `"order"`.

**order fields**

**order** `object`

The order itself.

**order fields**

**coin** `string`

Asset symbol.

**side** `string`

`"B"` = bid (buy), `"A"` = ask (sell).

**limitPx** `string`

Limit price (decimal string).

**sz** `string`

Remaining size (decimal string).

**origSz** `string`

Original size (decimal string).

**oid** `int`

Order id.

**cloid** `string | null`

Client order id (hex) if supplied, else `null`.

**timestamp** `int`

Order creation time (ms since epoch).

**orderType** `string`

e.g. `"Limit"`, `"Stop Market"`.

**tif** `string | null`

Time-in-force, e.g. `"Alo"`, `"Gtc"`, `"Ioc"`.

**reduceOnly** `bool`

Whether the order is reduce-only.

**isTrigger** `bool`

Whether it is a trigger order.

**triggerCondition** `string`

Trigger condition, or `"N/A"`.

**triggerPx** `string`

Trigger price (decimal string).

**isPositionTpsl** `bool`

Whether it is a position-level TP/SL.

**children** `array`

Child orders attached to this order.

**status** `string`

The order's current or terminal status. Hyperliquid defines many values; observed examples include `"open"`, `"filled"`, `"canceled"`, `"selfTradeCanceled"`, and `"iocCancelRejected"`.

**statusTimestamp** `int`

Millisecond timestamp when the status took effect.

## Related endpoints

> [card] [frontendOpenOrders](https://goldrush.dev/docs/api-reference/hyperliquid-info/frontend-open-orders.md)
>
> fetch a user's currently open orders enriched with frontend metadata.

> [card] [historicalOrders](https://goldrush.dev/docs/api-reference/hyperliquid-info/historical-orders.md)
>
> fetch a user's recent orders - both open and finalized - each with its current status and status timestamp.

> [card] [openOrders](https://goldrush.dev/docs/api-reference/hyperliquid-info/open-orders.md)
>
> list a user's resting open orders.

See all Hyperliquid endpoints: [Overview hub](https://goldrush.dev/docs/goldrush-hyperliquid/overview.md) · [Info API reference](https://goldrush.dev/docs/goldrush-hyperliquid/info-api/overview.md)

*Last reviewed: 2026-08-17*


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.