GraphQL API

Build on MTGO data

Query live and historical MTGO tournament, draft, and league data over GraphQL. Pull standings, records, and event history straight into your own tools, bots, and overlays.

GraphQL endpoint

A single GraphQL endpoint exposes MTGO tournament, draft, and league data: standings, records, rounds, formats, and event history.

API key auth

Authenticate with a personal API key (prefixed mtk_) sent as a Bearer token. Keys are shown once at creation and stored hashed.

Rate limited

Requests are limited to 100 per minute per key on a sliding window, so a busy integration stays well-behaved.

Example request
Send your key as a Bearer token. This query is illustrative; explore the full schema in the GraphQL playground.
curl https://api.mtgkit.com/graphql \
  -H "Authorization: Bearer mtk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"query":"{ userByUsername(username: \"LSV\") { activeEventStatuses { outputText currentRecord currentRound } } }"}'
Getting started: sign in, create a key on the API Keys page, then send it as Authorization: Bearer mtk_… with every request. Browse the full schema and run queries in the GraphQL playground. Keep your key secret; it is shown only once.