SnookerAPI
Documentation / Players
GET /playersFree key, archive on paidMCP: find_players

Snooker API: Players: everyone who has played in an event we hold, from 1927 on

Players: everyone who has played in an event we hold, from 1927 on.

GEThttps://api.snookerapi.net/v1/players

Try it

Get a key

Parameters

NameTypeWhat it is
qstringWords in the player's name.
countrystringNationality, e.g. England, China.
pageintegerPage number, from 1.
cursorstringThe next_cursor from the previous page.
per_pageintegerRows per page.

Returns

FieldTypeWhat it holds
idstringThe record's own id: stable, and the same in every call.
namestringThe name, as we hold it.
countrystring or nullThe country.
borndate or nullThe date of birth, where it is known.

Example answer

A real answer, read from the data within the last hour: GET /v1/players?q=Sullivan&per_page=2

{
    "data": [
        {
            "id": "pl_m1j79awf",
            "name": "Ronnie O'Sullivan",
            "country": "England",
            "born": "1975-12-05"
        },
        {
            "id": "pl_xcj1d100",
            "name": "Sean O'Sullivan",
            "country": "England",
            "born": "1994-04-29"
        }
    ],
    "meta": {
        "plan": "House key",
        "count": 2,
        "next_cursor": "bzIuMjY0ZmE2",
        "page": 1,
        "per_page": 2,
        "total": 8,
        "total_pages": 4,
        "next_page": 2,
        "prev_page": null
    }
}

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