Skip to main content
GET
/
v1
/
pm
/
events
/
{eventId}
/
price-history
Price history
curl --request GET \
  --url https://relay.bayse.markets/v1/pm/events/{eventId}/price-history
{
  "b2c3d4e5-f6a7-8901-bcde-f12345678901": [
    {
      "outcome": "YES",
      "price": 0.65,
      "timestamp": "2026-02-10T00:00:00Z"
    },
    {
      "outcome": "YES",
      "price": 0.68,
      "timestamp": "2026-02-11T00:00:00Z"
    },
    {
      "outcome": "YES",
      "price": 0.72,
      "timestamp": "2026-02-17T00:00:00Z"
    }
  ]
}

Authentication

No authentication required.

Path parameters

eventId
string
required
UUID of the event.

Query parameters

timePeriod
string
default:"24H"
Time window for the history. One of: 12H, 24H, 1W, 1M, 1Y.
marketId[]
array
Filter to specific market UUIDs (comma-separated). Omit to return all markets in the event.
outcome
string
Filter to a specific outcome: YES or NO.

Example request

curl "https://relay.bayse.markets/v1/pm/events/a1b2c3d4-e5f6-7890-abcd-ef1234567890/price-history?timePeriod=1W&outcome=YES"

Response

Returns a map of market IDs to their price history arrays.
{
  "b2c3d4e5-f6a7-8901-bcde-f12345678901": [
    {
      "outcome": "YES",
      "price": 0.65,
      "timestamp": "2026-02-10T00:00:00Z"
    },
    {
      "outcome": "YES",
      "price": 0.68,
      "timestamp": "2026-02-11T00:00:00Z"
    },
    {
      "outcome": "YES",
      "price": 0.72,
      "timestamp": "2026-02-17T00:00:00Z"
    }
  ]
}