DocumentationAPI v1
Documentation/Probability and props/Probability

Probability

Any pairing in any format.

Analystonly

Parameters

All optional, all in the query string
player_idid
A player, as pl_ followed by six characters.
opponent_idid
The other player, as pl_ followed by six characters.
formatenum
legs or sets.
legsint
First to this many legs (in a sets match, legs per set).
setsint
First to this many sets, for a sets match.

Try it

Your key, sent from your browser straight to the API
Paste your keyGet a free one in a minute
GET
https://api.dartsapi.com/v1/probability
Run it to see your limits

What comes back

In data, read from a real response
FieldTypeExample
formatobject{ format, first_to_legs, label }
playerslist2 items
leg_win_pctobject{ pl_VEB8HM, pl_PMAW5J }
match_win_pctobject{ pl_VEB8HM, pl_PMAW5J }
fair_oddsobject{ pl_VEB8HM, pl_PMAW5J }
expected_legsnumber9.2
scoreslist3 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 message names the plan that does.
422bad_parameterA parameter is malformed or out of range, named in the message.
429rate_limitedOver your rate or allowance. Retry-After says when.

Related