DocumentationAPI v1
Documentation/Players/Player ratings

Player ratings

Rating history.

Livelast 30 days Archive and upwhole archive

The call

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

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

The path first, then the query
NameTypeWhat it does
player_id requiredidA player, as pl_ followed by six characters.
fromdateEarliest date to include, YYYY-MM-DD.
todateLatest date to include, YYYY-MM-DD.

Returns

In data, read from a real response
FieldTypeExample
playerobject{ player_id, name, country_code, rating, … }
provisionalbooleanfalse
historylist3 items

When it refuses

Every error code
StatusCodeWhen
401no_keyNo key, a malformed key, or one that is not ours.
402upgrade_requiredYour plan does not reach this endpoint. The answer names the plan that does, and its checkout.
402outside_windowDates outside your plan's window. The answer names the plan that reaches them.
400bad_idAn id of the wrong type in the path.
404not_foundNo record with that id.
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.