SnookerAPI
GET /stream/tokenFree key, archive on paid

Snooker API: A token for the stream, for a browser: EventSource cannot send a header, so it opens /v1/stream?token=... instead of sending the key

A token for the stream, for a browser: EventSource cannot send a header, so it opens /v1/stream?token=... instead of sending the key.

GEThttps://api.snookerapi.net/v1/stream/token

Try it

Get a key

Returns

FieldTypeWhat it holds
tokenstringThe stream token: open /v1/stream?token=... with it.
expires_atstringWhen the token stops working (UTC).
urlstringThe stream address with the token, ready for EventSource.

Example answer

A real answer, read from the data within the last hour: GET /v1/stream/token

{
    "data": {
        "token": "st_MmdzZjVoZ3MuMTc5MzIyMjQwNS5iYWFlMjg2ZGE4MThlMzI4MTU3NzUzZjliYWIzYzgwNw",
        "expires_at": "2026-10-28T21:20:05Z",
        "url": "https://api.snookerapi.net/v1/stream?token=st_MmdzZjVoZ3MuMTc5MzIyMjQwNS5iYWFlMjg2ZGE4MThlMzI4MTU3NzUzZjliYWIzYzgwNw"
    },
    "meta": {
        "plan": "House key"
    }
}

Errors

StatusCodeWhen
401unauthorizedNo key, or a key that is not valid. Errors
400bad_requestA parameter has the wrong shape. Errors
422unknown_parameterA parameter this call does not take. Errors
429rate_limitedToo many calls this minute; wait for Retry-After. Errors