DocumentationAPI v1
Documentation/Players/Player splits

Player splits

Record split by tier, format length, year, price band or competition. Every row carries A/E and level-stakes P/L at best price.

Livelast 30 days Archive and upwhole archive MCP player_splits

The call

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

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.
byenumSplit the record by year, tier, race_to or round. Leave it out for year, tier and race_to together.
yeartierrace_toround
fromdateEarliest date to include, YYYY-MM-DD.
todateLatest date to include, YYYY-MM-DD.

Returns

In data, read from a real response
FieldTypeExample
player_idid"pl_VEB8HM"
splitsobject{ tier }

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.