# Order ## Rate limits * 2400 requests/min or 40 requests/sec per IP address. (**weight = 1**) {% hint style="info" %} See more details in [API Rate limits](https://docs.nado.xyz/developer-resources/api/rate-limits) {% endhint %} ## Request {% tabs %} {% tab title="Websocket" %} **Connect** `WEBSOCKET [GATEWAY_WEBSOCKET_ENDPOINT]` **Message** ```json { "type": "order", "product_id": 1, "digest": "0x0000000000000000000000000000000000000000000000000000000000000000" } ``` {% endtab %} {% tab title="REST (GET)" %} **GET** `[GATEWAY_REST_ENDPOINT]/query?type=order&product_id={product_id}&digest={digest}` {% endtab %} {% tab title="REST (POST)" %} `POST [GATEWAY_REST_ENDPOINT]/query` **Body** ```json { "type": "order", "product_id": 1, "digest": "0x0000000000000000000000000000000000000000000000000000000000000000" } ``` {% endtab %} {% endtabs %} ## Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| product_id | number | Yes | Id of spot / perp product for which to retrieve order. |
| digest | string | Yes | Order digest to retrieve. |