Probability
Any pairing in any format.
Analystonly
MCP
win_probability The call
The address follows the form below
GET
https://api.dartsapi.com/v1/probability
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
All in the query string| Name | Type | What it does |
|---|---|---|
player_id required | id | A player, as pl_ followed by six characters. |
opponent_id required | id | The other player, as pl_ followed by six characters. |
format | enum | legs or sets. legssets |
legs | int | First to this many legs (in a sets match, legs per set). |
sets | int | First to this many sets, for a sets match. |
Returns
In data, read from a real response| Field | Type | Example |
|---|---|---|
format | object | { format, first_to_legs, label } |
players | list | 2 items |
leg_win_pct | object | { pl_VEB8HM, pl_PMAW5J } |
match_win_pct | object | { pl_VEB8HM, pl_PMAW5J } |
fair_odds | object | { pl_VEB8HM, pl_PMAW5J } |
expected_legs | number | 9.3 |
scores | list | 3 items |
When it refuses
Every error code| Status | Code | When |
|---|---|---|
| 401 | no_key | No key, a malformed key, or one that is not ours. |
| 402 | upgrade_required | Your plan does not reach this endpoint. The answer names the plan that does, and its checkout. |
| 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. |