Skip to main content
GET
/
v1
/
pm
/
orders
/
{orderId}
Get 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"
}

Authentication

Read authentication required — X-Public-Key header.

Path parameters

orderId
string
required
UUID of the order.

Example request

curl "https://relay.bayse.markets/v1/pm/orders/f6a7b8c9-d0e1-2345-fabc-678901234567" \
  -H "X-Public-Key: pk_live_abcdef123456"

Response

Returns a single order object. See Place order for the full field reference.
{
  "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"
}