# openOrders

## POST /info

> Request open orders.

```json
{"openapi":"3.1.1","info":{"title":"Hyperliquid API - info/openOrders","version":"1.0.0"},"tags":[{"name":"openOrders"}],"servers":[{"url":"https://api.hyperliquid.xyz","description":"Mainnet"},{"url":"https://api.hyperliquid-testnet.xyz","description":"Testnet"}],"paths":{"/info":{"post":{"tags":["openOrders"],"description":"Request open orders.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"description":"Type of request.","enum":["openOrders"]},"user":{"type":"string","pattern":"^0[xX][0-9a-fA-F]+$","minLength":42,"maxLength":42,"description":"User address."},"dex":{"type":"string","description":"DEX name (empty string for main dex)."}},"required":["type","user"],"description":"Request open orders."}}},"required":true},"responses":{"200":{"description":"Array of open orders.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"coin":{"type":"string","description":"Asset symbol."},"side":{"enum":["B","A"],"description":"Order side (\"B\" = Bid/Buy, \"A\" = Ask/Sell)."},"limitPx":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"Limit price."},"sz":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"Size."},"oid":{"type":"integer","minimum":0,"description":"Order ID."},"timestamp":{"type":"integer","minimum":0,"description":"Timestamp when the order was placed (in ms since epoch)."},"origSz":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"Original size at order placement."},"cloid":{"type":"string","pattern":"^0[xX][0-9a-fA-F]+$","minLength":34,"maxLength":34,"description":"Client Order ID."},"reduceOnly":{"description":"Indicates if the order is reduce-only.","enum":[true]}},"required":["coin","side","limitPx","sz","oid","timestamp","origSz"],"description":"Order details."},"description":"Array of open orders."}}}},"422":{"description":"Failed to deserialize the JSON body into the target type","content":{"text/plain":{"schema":{"type":"string"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"null"}}}}}}}}}
```
