curl --request GET \
--url https://relay.bayse.markets/v1/pm/orders/{orderId}{
"id": "f6a7b8c9-d0e1-2345-fabc-678901234567",
"marketId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"outcome": "YES",
"side": "BUY",
"orderType": "LIMIT",
"status": "partial_filled",
"amount": 100,
"price": 0.70,
"size": 100,
"filledSize": 45,
"remainingSize": 55,
"avgFillPrice": 0.70,
"fee": 0.90,
"currency": "USD",
"createdAt": "2026-02-17T12:00:00Z",
"updatedAt": "2026-02-17T12:03:00Z"
}
Get details of a specific order
curl --request GET \
--url https://relay.bayse.markets/v1/pm/orders/{orderId}{
"id": "f6a7b8c9-d0e1-2345-fabc-678901234567",
"marketId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"outcome": "YES",
"side": "BUY",
"orderType": "LIMIT",
"status": "partial_filled",
"amount": 100,
"price": 0.70,
"size": 100,
"filledSize": 45,
"remainingSize": 55,
"avgFillPrice": 0.70,
"fee": 0.90,
"currency": "USD",
"createdAt": "2026-02-17T12:00:00Z",
"updatedAt": "2026-02-17T12:03:00Z"
}
X-Public-Key header.
curl "https://relay.bayse.markets/v1/pm/orders/f6a7b8c9-d0e1-2345-fabc-678901234567" \
-H "X-Public-Key: pk_live_abcdef123456"
{
"id": "f6a7b8c9-d0e1-2345-fabc-678901234567",
"marketId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"outcome": "YES",
"side": "BUY",
"orderType": "LIMIT",
"status": "partial_filled",
"amount": 100,
"price": 0.70,
"size": 100,
"filledSize": 45,
"remainingSize": 55,
"avgFillPrice": 0.70,
"fee": 0.90,
"currency": "USD",
"createdAt": "2026-02-17T12:00:00Z",
"updatedAt": "2026-02-17T12:03:00Z"
}