DocumentationAPI v1
Documentation/Editions/Simulate bracket

Simulate bracket

The same calculation over a draw the caller supplies, so outrights exist before a draw reaches the archive.

Analystonly

Parameters

Sent as the JSON body
bodyJSON bodyrequired
A JSON body: draw is a list of player ids in draw order, a power of two long, with null for a bye; format or rounds give the match length.

Try it

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

What comes back

In data, read from a real response
FieldTypeExample
fieldnumber8
roundslist3 items
playerslist3 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