DocumentationAPI v1
Documentation/Markets/Favourites

Favourites

Favourite win rate and level-stakes return by price and format. Prices are history from 2016; meta.odds_archive gives the span held.

Livelast 30 days Archive and upwhole archive

The call

The address follows the form below
GET
https://api.dartsapi.com/v1/markets/favourites

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

All in the query string
NameTypeWhat it does
fromdateEarliest date to include, YYYY-MM-DD.
todateLatest date to include, YYYY-MM-DD.
tierenumOnly this tier: majors, players_championship, european_tour, world_series, qualifiers, development_tour, challenge_tour, womens_series, junior, regional, wdf_platinum, wdf_gold, wdf_silver, wdf_bronze, and so on.

Returns

In data, read from a real response
FieldTypeExample
by_pricelist3 items
by_formatlist3 items
allobject{ favourites, outsiders }

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.
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.