Skip to navigation

List entities changed in a time window

Which entities of a league changed in [from, window_end), each once per game with its latest version, for clients that refetch rather than stream. A window ends no later than 60 seconds ago and spans at most 24 hours, so a change is never missed: poll again with from=window_end. For lower latency, follow a stream’s seq instead.

Authentication

AuthorizationBearer

An API key, sent as Authorization: Bearer <key>.

Path parameters

leaguestringRequiredformat: "^[a-z][a-z0-9]*$"
The league's alias.

Query parameters

fromdatetimeRequired
todatetimeOptional
Where the window should end. It ends earlier when the limits above say so.
cursorstringOptional

next_cursor from the previous page. Omit it for the first page.

limitintegerOptional1-5000Defaults to 1000
Page size.

Response headers

RateLimit-PolicystringOptional

Your plan’s allowance: q requests per period of w seconds. See Rate limits.

RateLimitstringOptional

Requests left this period after this response (r) and seconds until it resets (t). See Rate limits.

Response

A page of changed entities, ordered by type, id and game.
datalist of objects
window_startdatetime
window_enddatetime

Where this window ended. Poll the next one with from set to it.

next_cursorstring or null

Pass as cursor for the next page; null on the last page.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error