---
title: "Event state changes (log)"
method: GET
path: "/v2/events/changes"
tags: ["Discovery"]
---

# Event state changes (log)

`GET /v2/events/changes`

## Request

- Base URL: `https://api.oddsrelay.io`
- URL: `https://api.oddsrelay.io/v2/events/changes`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

The event-state register's ordered log for one region's lane, from `since` (a snapshot's FIRST `meta.since`, then each reply's `meta.next_since`). Free, like `/v2/events`. Each change carries the FULL row after it (`event`): replace your row with it whenever its `seq` is above yours, whatever `change` says, including values you do not know. A call scans at most 50,000 positions of the log: while `meta.more` is true call again at once with `meta.next_since` (a reply can be empty and still have `more`), then store `meta.next_since` and call again in about 30 s. Filters run on each change as it was written: send exactly your snapshot's filters. A `descriptors` change passes `sports` and `leagues` when the event passes before or after it (an event that leaves your filters still reaches you with its new row); a `kickoff` passes a kick-off window when its old or new kick-off is inside; a `merged` change passes when the merged id does. A kick-off window selects on each change's kick-off at the time of the change: use a fixed window (re-snapshot to move it) or none. On 410 `since_expired`, snapshot again, then look up with `/v2/events/state?eventIds=` every id you hold that the new snapshot lacks, before you hide it. Your account's scope is a ceiling, judged before or after each change like `sports`.

## Query parameters

- `since` string, required
- `region` string
- `sports` string
- `leagues` string
- `eventIds` string
- `commenceTimeFrom` string
- `commenceTimeTo` string
- `limit` integer
- `dateFormat` 'iso' | 'unix'

## Response `200`

A page. Gzip unless refused (over 1 kB).

- object
  - `meta` EventChangesMeta, required
    - `feed_type` 'events_changes', required
    - `region` string, required
    - `odds_format` 'decimal', required: Always `decimal`: no odds here.
    - `processed_at` string, required: `as_of` as millisecond-precision ISO-8601 UTC, whatever `dateFormat` says.
    - `count` integer, required: Rows on this page.
    - `version` string, required
    - `next_cursor` unknown, required
    - `next_since` string, required: The `since` for your next call.
    - `more` boolean, required: True when more of the log lies beyond `next_since` now: call again at once with it (a reply can be empty and still have `more`).
    - `as_of` union, required: The publish instant of the last raw board version the register has applied (its `X-OddsRelay-Version` in ms): second-precision ISO-8601 UTC, or epoch seconds under `dateFormat=unix`.
      - string
      - integer
    - `stale` boolean, required: True when the register is more than 120 s behind the raw board or has not reported for 120 s. Keep applying changes, and infer nothing from an event's absence, while it is true.
    - `lag_s` integer, required: Whole seconds between the newest raw board version seen and `as_of`.
    - `verdicts_held` boolean, required: True while new verdicts are held: keep applying changes, and infer nothing from an event's absence.
    - `oldest_since` string, required: The oldest `since` this lane serves now (the log keeps 14 days).
  - `data` EventChange[], required
    - `seq` integer, required: The change's position in its lane's log, dense and increasing.
    - `at` union, required: The raw board publish instant at which the change was written: second-precision ISO-8601 UTC, or epoch seconds under `dateFormat=unix`. When the evidence happened is `event.state_since`.
      - string
      - integer
    - `change` string, required: What changed: `listed` (first seen; `scheduled`, or `started` when first seen in play), `kickoff` (a new kick-off held 60 s; `from_commence_time` is the old one), `descriptors` (a public field moved; `from_descriptors` holds the old values), `started`, `gone`, `returned` (back to `scheduled`), `merged`, `unmerged` (a merge undone: the id is its own fixture again), `split` (`split_to` or `split_from`), `regions` (`regions_added`, `regions_removed`). More values may follow: apply a change you do not know exactly like one you do.
    - `board_version` integer, required: `at` in epoch milliseconds, whatever `dateFormat` says.
    - `from_commence_time` union: `kickoff` changes only: the kick-off before the change.
      - string
      - integer
    - `from_descriptors` object: `descriptors` changes only: the previous values of the fields that changed, by name.
    - `split_to` string: `split` changes only, on the old id: the separate fixture split off it.
    - `split_from` string: `split` changes only, on the new id: the id it was split from.
    - `regions_added` string[]: `regions` changes only: the codes that joined `regions`.
    - `regions_removed` string[]: `regions` changes only: the codes that left `regions`.
    - `event` EventState, required: The full row after the change; its `seq` equals the change's.
      - `id` string, required: The event id, the same as on every route.
      - `state` 'scheduled' | 'started' | 'gone' | 'merged', required: `scheduled`: not known to be over or withdrawn (it may have no prices right now: raw answers that). `started`: pre-match is over (in play seen, or its kick-off plus K reached with no venue listing it pre-match); not a claim it was played, and it returns to `scheduled` (`returned`) if venues list it pre-match again. `gone`: withdrawn before kick-off by every venue that listed it, confirmed; not issued yet (the changelog dates its start). `merged`: a duplicate of `merged_into`, always the final survivor; it can be undone (`unmerged`).
      - `reason` string, nullable, required: Null on every row for now. Values may follow, such as `rescheduled`, `cancelled`, `abandoned`, `unconfirmed`, `duplicate` and `replaced`: ignore a value you do not know.
      - `state_since` union, required: When the evidence for the current state happened (`listed`/`returned`: the sighting; `started`: the in-play sighting or the kick-off plus K; `gone`: the last pre-match sighting; `merged`: the identity build that merged it). Second-precision ISO-8601 UTC, or epoch seconds under `dateFormat=unix`.
        - string
        - integer
      - `merged_into` string, nullable, required: `merged` only: the final surviving id (never itself merged); else null.
      - `sport_key` string, nullable, required: As on raw for this id.
      - `sport_title` string, nullable, required: As on raw for this id.
      - `competition_key` string, nullable, required: As on raw for this id; null on races and where no competition is identified.
      - `home_team` string, nullable, required: Null for races and teamless events.
      - `away_team` string, nullable, required: Null for races and teamless events.
      - `venue` string, nullable, required: The course, races only; else null.
      - `event_name` string, nullable, required: Teamless non-race events only (an outright's name); else null.
      - `commence_time` union, required: Raw's served kick-off for the id (races included): second-precision ISO-8601 UTC, or epoch seconds under `dateFormat=unix`.
        - string
        - integer
      - `previous_ids` string[], required: Every id ever merged into this one, directly or through a chain, sorted; never its own id.
      - `regions` string[], required: The region codes whose venues listed it in the last 30 minutes, sorted; in region `uk` it is always `["uk"]` once the event is listed (the 30 minutes apply to the other codes). Never hide an event because a code left this list: an event belongs, for its whole life, to every region whose reply lists it.
      - `first_seen` union, required: When the register first saw the id: second-precision ISO-8601 UTC, or epoch seconds under `dateFormat=unix`.
        - string
        - integer
      - `seq` integer, required: The seq of the last change written for this id in its lane (0 for a row recorded without one). Keep it: a change with a higher seq replaces the row.

## Other responses

- `304`: Not modified: no body.
- `400`: 400: a parameter this route does not read or sent twice, a malformed value, gzip refused on standard, dutching or raw, or a filter value the catalogue does not know.
- `401`: 401: no key, or a key that is not accepted. Carries `WWW-Authenticate`; no token or flood-cap headers.
- `403`: 403: the account, the key's scope, the region, the plan or the account's scope refuses this call.
- `404`: 404.
- `410`: 410 `since_expired`: the `since` token can no longer be served (another epoch after a restore, another lane, below the log's floor or above its head). Snapshot again, then follow from the new `meta.since`.
- `429`: 429 with `Retry-After`. `too_many_requests`: the account's flood cap or its in-flight cap (with `X-RateLimit-*`). `too_many_from_address`: the per-address shield, before authentication (no token or flood-cap headers). The front door's own per-address cap also answers 429 with `Retry-After`, but with an EMPTY body and no `code`. Both per-address caps sit well above an account's flood cap.
- `500`: 500 `internal_error`. If it came after a spend, `X-Tokens-Cost` reads 0 and the spend stands.
- `502`: 502 from the front door when the API behind it does not answer: an empty body, no `code`. Retry with backoff.
- `503`: 503 with `Retry-After`: `temporarily_unavailable` (a board, the key registry or a connection is not ready; retry) or `raw_not_enabled` (the key may use raw but the raw board is not held here).

## Changes

- **2026-11-14** `c6bd6297bc9d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/oddsrelay/apis/oddsrelay-api/changes/v2/events/changes/get.md)

---

[API](https://skmtc.dev/oddsrelay/apis/oddsrelay-api.md) - [All operations](https://skmtc.dev/oddsrelay/apis/oddsrelay-api/llms.txt) - [OpenAPI document](https://skmtc.dev/oddsrelay/apis/oddsrelay-api/revisions/c9a116d43241?raw)
