DocumentationAPI v1
Documentation/Players/Players

Players

Search and list, with accents and particles folded.

Free key7 days behind Livelast 30 days Archive and upwhole archive MCP find_player

The call

The address follows the form below
GET
https://api.dartsapi.com/v1/players

Try it

Sent from your browser straight to the API, with your key
Your keyPaste it once, kept in this browser
Kept in this browser as dartsapi.com.api_key, so every docs page has it. Get a free key and it is put here for you.
Ctrl + Enter runs it
Run it to see your limits

Parameters

All in the query string
NameTypeWhat it does
qstringSearch text. Accents and particles are folded, so "van gerwen" finds Michael van Gerwen.
country_codestringAn ISO 3166 country code, lower case, such as nl or de; the home nations are gb-eng, gb-sct, gb-wls and gb-nir.
activebooltrue for players who played this year or last; false for the rest.
truefalse
limitintHow many to return. Default 50, at most 200.
cursorcursorCarry on from here: pass back meta.next_cursor exactly as it came.

Returns

Each item in data, read from a real response
FieldTypeExample
player_idid"pl_2ZBB6G"
namestring"Karen Littler"
name_statusstring"published"
country_codenullnull
first_yearnumber2006
last_yearnumber2006
matchesnumber0
meta.next_cursorstringPass back as cursor for the next page; null on the last

When it refuses

Every error code
StatusCodeWhen
401no_keyNo key, a malformed key, or one that is not ours.
422bad_parameterA parameter is malformed or out of range, named in the message.
429rate_limitedOver your rate a minute. Retry-After says when.
429allowance_usedThe day's or month's allowance is used. The answer names the plan with a larger one.