curl --request GET \
--url https://api.example.com/data/orders{
"data": [
{
"data[].id": "<string>",
"data[].status": "<string>",
"data[].market": "<string>",
"data[].original_size": "<string>",
"data[].outcome": "<string>",
"data[].maker_address": "<string>",
"data[].owner": "<string>",
"data[].price": "<string>",
"data[].side": "<string>",
"data[].size_matched": "<string>",
"data[].asset_id": "<string>",
"data[].expiration": "<string>",
"data[].type": "<string>",
"data[].created_at": "<string>",
"data[].updated_at": "<string>"
}
],
"next_cursor": "<string>",
"id": "<string>",
"side": "<string>",
"type": "<string>",
"status": "<string>",
"price": 123,
"maker_amount": 123,
"taker_amount": 123,
"size_matched": 123,
"created_at": "<string>",
"expiration": {},
"outcome": {
"outcome.index": 123,
"outcome.text": "<string>"
},
"market": {
"market.condition_id": "<string>",
"market.title": "<string>",
"market.slug": "<string>",
"market.is_active": true,
"market.is_resolved": true,
"market.icon_url": "<string>",
"market.event_slug": "<string>",
"market.event_title": "<string>"
}
}Retrieve open orders for the authenticated user
curl --request GET \
--url https://api.example.com/data/orders{
"data": [
{
"data[].id": "<string>",
"data[].status": "<string>",
"data[].market": "<string>",
"data[].original_size": "<string>",
"data[].outcome": "<string>",
"data[].maker_address": "<string>",
"data[].owner": "<string>",
"data[].price": "<string>",
"data[].side": "<string>",
"data[].size_matched": "<string>",
"data[].asset_id": "<string>",
"data[].expiration": "<string>",
"data[].type": "<string>",
"data[].created_at": "<string>",
"data[].updated_at": "<string>"
}
],
"next_cursor": "<string>",
"id": "<string>",
"side": "<string>",
"type": "<string>",
"status": "<string>",
"price": 123,
"maker_amount": 123,
"taker_amount": 123,
"size_matched": 123,
"created_at": "<string>",
"expiration": {},
"outcome": {
"outcome.index": 123,
"outcome.text": "<string>"
},
"market": {
"market.condition_id": "<string>",
"market.title": "<string>",
"market.slug": "<string>",
"market.is_active": true,
"market.is_resolved": true,
"market.icon_url": "<string>",
"market.event_slug": "<string>",
"market.event_title": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/kuestcom/prediction-market/llms.txt
Use this file to discover all available pages before exploring further.
KUEST_ADDRESS - User’s wallet addressKUEST_API_KEY - API key from trading auth credentialsKUEST_PASSPHRASE - Passphrase from trading auth credentialsKUEST_TIMESTAMP - Current Unix timestamp (seconds)KUEST_SIGNATURE - HMAC signature of the requestAccept: application/jsonlive, partially_filled, pendingBUY or SELLGTC, GTD, FOK, FAKLTE= when no more results.buy or sell (lowercase)GTC, GTD, FOK, FAKlive)next_cursornext_cursor in subsequent requestsnext_cursor is LTE=, no more results exist{timestamp}{method}{path}
```bash
Where:
- `timestamp` - Unix timestamp in seconds
- `method` - `GET`
- `path` - Full path including query parameters (e.g., `/data/orders?maker=0x...`)
## Example Request
```bash cURL - All Orders
curl -X GET 'https://api.kuest.io/data/orders?maker=0xproxy...' \
-H 'Accept: application/json' \
-H 'KUEST_ADDRESS: 0x1234...' \
-H 'KUEST_API_KEY: your-api-key' \
-H 'KUEST_PASSPHRASE: your-passphrase' \
-H 'KUEST_TIMESTAMP: 1709467200' \
-H 'KUEST_SIGNATURE: computed-hmac-signature'
```bash
```bash cURL - Filtered by Market
curl -X GET 'https://api.kuest.io/data/orders?market=0xcondition...' \
-H 'Accept: application/json' \
-H 'KUEST_ADDRESS: 0x1234...' \
-H 'KUEST_API_KEY: your-api-key' \
-H 'KUEST_PASSPHRASE: your-passphrase' \
-H 'KUEST_TIMESTAMP: 1709467200' \
-H 'KUEST_SIGNATURE: computed-hmac-signature'
```bash
```bash cURL - Pagination
curl -X GET 'https://api.kuest.io/data/orders?next_cursor=eyJpZCI6MTIzfQ==' \
-H 'Accept: application/json' \
-H 'KUEST_ADDRESS: 0x1234...' \
-H 'KUEST_API_KEY: your-api-key' \
-H 'KUEST_PASSPHRASE: your-passphrase' \
-H 'KUEST_TIMESTAMP: 1709467200' \
-H 'KUEST_SIGNATURE: computed-hmac-signature'
```bash
## Example Response
```json
{
"data": [
{
"id": "ord_abc123",
"status": "live",
"market": "0xcondition123...",
"original_size": "10.5",
"maker_address": "0xproxy...",
"price": "0.65",
"side": "BUY",
"size_matched": "2.5",
"asset_id": "123456789",
"expiration": "0",
"type": "GTC",
"created_at": "2026-03-03T12:00:00Z",
"updated_at": "2026-03-03T12:00:00Z"
}
],
"next_cursor": "LTE="
}
```bash
## Use Cases
### Monitor All Open Orders
Retrieve all orders without filters to see portfolio-wide order status.
### Track Market-Specific Orders
Filter by `market` parameter to see orders for a specific prediction market.
### Check Order Status
Use `id` parameter to get details for a specific order.
### Build Order Management UI
Combine with WebSocket subscriptions for real-time order updates.
## Performance Tips
1. **Use Filters** - Filter by market or asset_id to reduce response size
2. **Cache Results** - Orders don't change frequently, cache for 10-30 seconds
3. **Pagination** - Process pages incrementally for large order lists
4. **WebSocket** - Use WebSocket feeds for real-time updates instead of polling
## See Also
- [Place Order](/api/trading/place-order) - Submit a new order
- [Cancel Order](/api/trading/cancel-order) - Cancel an order
- [Orderbook](/api/trading/orderbook) - View market orderbook