DocumentationAPI v1
Documentation/Markets/Prices in bulk

Prices in bulk

Priced history in bulk for model builders. Prices are history from 2016; meta.odds_archive gives the span held, counted on each call.

Livelast 30 days Archive and upwhole archive

The call

The address follows the form below
GET
https://api.dartsapi.com/v1/prices/bulk

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.
marketenummatch_winner, the one market held for darts.
match_winner
limitintHow many to return. Default 50, at most 200.
cursorcursorCarry on from here: pass back meta.next_cursor exactly as it came.

Returns

Each item in data, read from a real response
FieldTypeExample
matchobject{ match_id, played_on, round, winner, … }
tierobject{ key, name }
priceobject{ market, taken_at, reading, decimal, … }
favouriteid"pl_WRBGT6"
favourite_wonbooleantrue
modelobject{ source, win_pct }
meta.next_cursorstringPass back as cursor for the next page; null on the last

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.