Darts API
Darts scoring maths as an API, computed locally and deterministically — the X01 checkout and average numbers a darts player, league or scoring app runs on. The checkout endpoint solves a remaining score with an exact full-board search: whether it can be finished, the minimum number of darts and one valid combination that ends on a double or the bull — 170 finishes T20 T20 Bull (the highest possible three-dart checkout), 100 is T20 D20, 40 is simply D20, while 1 cannot be finished (the last dart must be a double, minimum 2) and the bogey numbers 169, 168, 166, 165, 163, 162 and 159 cannot be checked out in three darts at all. The average endpoint computes the three-dart average — total score ÷ darts × 3 — so 501 in 15 darts is a 100.2 average; a 100-plus average is strong play. Everything is computed locally and deterministically, so it is instant and private. Ideal for darts, league-scoring, pub-game and sports app developers, checkout-assistant and practice tools, and darts education. Pure local computation — no key, no third-party service, instant. Standard X01 rules; legs end on a double or the bull. Live, nothing stored. 2 compute endpoints. An exact scoring aid for the standard 20-segment board.
api.oanor.com/darts-api