Skip to content
dartpilot
Esc
↑↓navigate↵open⌘Jpreview
On this page

dartpilot Public API

Read-only REST API for dartpilot games, lobbies, boards, players, and tournaments. Authenticate every request with an API key in the x-api-key header. Create a key from the API Keys section of your profile; see https://docs.dartpilot.app/api-keys/. Each key is granted read scopes (games, tournaments, account) when it is created; a request to an endpoint outside a key’s scopes returns 403. Responses carry an x-d1-bookmark header identifying the D1 version they were read from; send it back and the next session starts at least as new as that version. Read endpoints are served from an edge cache for 5-60 seconds; a request that sends x-d1-bookmark always misses that cache, so the header still guarantees a session at least as new as that version.

Rate limits: each API key is limited to 120 requests/minute, each principal (user or organization) to 600 requests/minute across all of its keys, and each client IP to 600 requests/minute. Requests over a limit return 429 with a Retry-After header.

Version 1.0.0
Base URLhttps://api.dartpilot.app/v1

Account

Identify the API key owner.

Games

Read the key owner’s games and their events.

Boards

Read public board status and the game currently on a board.

Lobbies

Discover public lobbies and read the lobbies the key owner may view.

Players

Read player profiles, friends, statistics and game history for the key owner and their friends.

Tournaments

Discover public tournaments and follow the key owner’s tournaments, their brackets, and live match games.

Webhooks

Was this page helpful?