cURL
curl --request GET \ --url https://relay.bayse.markets/v1/pm/orders
{ "orders": [ { "id": "f6a7b8c9-d0e1-2345-fabc-678901234567", "marketId": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "outcome": "YES", "side": "BUY", "orderType": "LIMIT", "status": "open", "amount": 100, "price": 0.70, "size": 100, "filledSize": 0, "remainingSize": 100, "currency": "USD", "createdAt": "2026-02-17T12:00:00Z", "updatedAt": "2026-02-17T12:00:00Z" } ], "pagination": { "page": 1, "size": 20, "lastPage": 1, "totalCount": 1 } }
Get a paginated list of your orders
X-Public-Key
BUY
SELL
open
filled
partial_filled
cancelled
expired
rejected
USD
NGN
curl "https://relay.bayse.markets/v1/pm/orders?status=open&page=1&size=20" \ -H "X-Public-Key: pk_live_abcdef123456"