curl -X GET "https://api.roxom.com/api/v1/orders?instType=perpetual" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json"
{ "error": false, "data": { "orders": [ { "id": "01234567-89ab-7def-8123-456789abcdef", "symbol": "US500-BTC", "instType": "perpetual", "accountId": "01234567-89ab-7def-8123-456789abcdef", "orderType": "limit", "timeInForce": "gtc", "side": "buy", "quantity": "0.001", "price": "50000", "triggerPx": null, "status": "submitted", "clientOrderId": "my_order_001", "createdAt": 1640995200000000000, "cancelAt": null, "isTriggered": null, "size": "0.001", "unit": "BTC" }, { "id": "01234567-89ab-7def-8123-456789abcdea", "symbol": "GOLD-BTC", "instType": "perpetual", "accountId": "01234567-89ab-7def-8123-456789abcdef", "orderType": "market", "timeInForce": "ioc", "side": "sell", "quantity": "0.002", "price": null, "triggerPx": null, "status": "filled", "clientOrderId": null, "createdAt": 1640995100000000000, "cancelAt": null, "isTriggered": null, "size": "0.000", "unit": "BTC" } ] } }
Retrieve and filter your trading orders
GET /api/v1/orders
Show Data properties
Show Order properties
All Perpetual Orders
GET /api/v1/orders?instType=perpetual
Symbol-Specific Orders
GET /api/v1/orders?instType=perpetual&symbol=US500-BTC
Bitcoin Unit Display
GET /api/v1/orders?instType=perpetual&unit=btc
Was this page helpful?