A player
Profile.
The call
The address follows the form below
GET
https://api.dartsapi.com/v1/players/{id}
Try it
Sent from your browser straight to the API, with your keyYour 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| Name | Type | What it does |
|---|---|---|
player_id required | id | A player, as pl_ followed by six characters. |
Returns
In data, read from a real response| Field | Type | Example |
|---|---|---|
player_id | id | "pl_VEB8HM" |
name | string | "Luke Littler" |
name_status | string | "published" |
country_code | string | "gb-eng" |
first_year | number | 2019 |
last_year | number | 2026 |
matches | null | null |
record | object | { matches, won, lost, win_pct, … } |
details | object | { born_on, nickname, born_in, throws, … } |
When it refuses
Every error code| Status | Code | When |
|---|---|---|
| 401 | no_key | No key, a malformed key, or one that is not ours. |
| 400 | bad_id | An id of the wrong type in the path. |
| 404 | not_found | No record with that id. |
| 422 | bad_parameter | A parameter is malformed or out of range, named in the message. |
| 429 | rate_limited | Over your rate a minute. Retry-After says when. |
| 429 | allowance_used | The day's or month's allowance is used. The answer names the plan with a larger one. |