Overlay data
Building your own overlay instead of using the broadcast view? Draftify has public, read-only JSON endpoints for every series:
- No key or login. Current 9-character draft codes ignore capitals; older 8-character codes don't.
- Responses allow any origin (
Access-Control-Allow-Origin: *), so a page in an OBS browser source can fetch them. - Ask no more than once a second. Each game's
versiongoes up when its picks, bans, roles, player names or images change, so you only need to redraw when it moves. Team names can change without it, so compareteam1Nameandteam2Nametoo.
The series and results endpoints show locked picks and bans only: no champion being considered, no countdown, no pause or late requests. Replay records include those, as spectators saw them. For a live overlay with them, put the broadcast view with bg=transparent over your own design. The broadcast view's live connection and producer controls are not a public API and can change at any time. Producer links and shared producer settings never appear in these responses.
The series: GET /api/series/{code}#
https://draftify.lol/api/series/k3qz9wmp4
Example response
{
"id": "k3qz9wmp4",
"team1Name": "Northwind",
"team2Name": "Kestrel",
"gameCount": 3,
"currentGame": 2,
"games": [
{ "number": 1, "status": "complete", "tab": "complete", "seated": [], "blueTeam": "team1" },
{ "number": 2, "status": "drafting", "tab": "current", "seated": ["blue", "red"], "blueTeam": "team2" },
{ "number": 3, "status": "lobby", "tab": "locked", "seated": [], "blueTeam": "team2" }
],
"championDataPatch": "16.20.1"
}
| Field | Meaning |
|---|---|
id |
The draft code |
team1Name, team2Name |
Team names. Teams aren't tied to a side; see blueTeam |
gameCount |
Games in the series (1–5) |
currentGame |
The first game that isn't complete, or the last game if all are |
games[].status |
lobby, drafting, finalization or complete: see Game status |
games[].tab |
current, complete, available or locked (the game before isn't finished) |
games[].seated |
Sides with a drafter in their seat |
games[].blueTeam |
team1 or team2: who is on Blue in that game |
championDataPatch |
The Data Dragon version this series uses for champions and art, such as 16.20.1 |
teamImages |
Optional: see Team images |
archived |
true once the match is archived; nothing in it changes after that |
An unknown code, or one deleted without a finished game, returns 404 with {"error": "not_found"}. The same goes for /results and /replay.
Picks and bans: GET /api/series/{code}/results#
https://draftify.lol/api/series/k3qz9wmp4/results
Example response
{
"id": "k3qz9wmp4",
"createdAt": 1791400000000,
"team1Name": "Northwind",
"team2Name": "Kestrel",
"gameCount": 1,
"mode": "normal",
"timerSeconds": 30,
"firstSelection": false,
"championDataPatch": "16.20.1",
"roleMode": "optional",
"current": 1,
"games": [
{
"number": 1,
"status": "complete",
"version": 57,
"blueTeam": "team1",
"firstPick": "blue",
"pickOrderSet": false,
"stepIndex": null,
"seated": [],
"startedAt": 1791400100000,
"completedAt": 1791400700000,
"bans": {
"blue": [
{ "championId": 266, "locked": true },
{ "championId": 145, "locked": true },
{ "championId": 64, "locked": true },
{ "championId": 111, "locked": true },
{ "championId": 117, "locked": true }
],
"red": [
{ "championId": 897, "locked": true },
{ "championId": 222, "locked": true },
{ "championId": null, "locked": true },
{ "championId": 412, "locked": true },
{ "championId": 69, "locked": true }
]
},
"picks": {
"blue": [
{ "championId": 498, "locked": true, "role": "bot" },
{ "championId": 497, "locked": true, "role": "support" },
{ "championId": 113, "locked": true, "role": "jungle" },
{ "championId": 61, "locked": true, "role": "mid" },
{ "championId": 58, "locked": true, "role": "top" }
],
"red": [
{ "championId": 150, "locked": true, "role": "top" },
{ "championId": 234, "locked": true, "role": "jungle" },
{ "championId": 134, "locked": true, "role": "mid" },
{ "championId": 202, "locked": true, "role": "bot" },
{ "championId": 89, "locked": true, "late": true, "role": "support" }
]
}
}
]
}
Series fields#
| Field | Meaning |
|---|---|
createdAt |
When the series was created (milliseconds since 1970, UTC) |
mode |
normal or fearless |
timerSeconds |
30, 45, 60, or null when the timer is off |
firstSelection |
true when the series uses Separate pick order |
roleMode |
Roles: off (None), optional (Private) or shared. Missing on older drafts; some early-October-2026 drafts have required, which works like optional |
current |
The first game that isn't complete, or the last game if all are. A draft link without ?game= opens it, except an archived match's link, which opens its last finished game |
playerNamesRequired, drafterPlayerNames, drafterTeamImages |
When present, the series' name and editing settings |
games |
Every game of the series, in order |
Game fields#
| Field | Meaning |
|---|---|
number |
Game number, from 1 |
status |
See Game status |
version |
Goes up with every change to the game |
blueTeam |
team1 or team2: who is on Blue |
firstPick |
blue or red. Always blue unless Separate pick order is on |
pickOrderSet |
With Separate pick order, whether this game's pick order has been chosen |
stepIndex |
While drafting, the current step 0–19 (see Step order); otherwise null |
seated |
Sides with a drafter seated |
startedAt, completedAt |
When the draft started and finished (milliseconds), or null |
lateDoneAt |
When present, when late selection finished and private roles became public (milliseconds) |
bans, picks |
Five slots per side: bans.blue[0] is Blue's first ban, picks.red[4] Red's fifth pick |
Slots#
| Field | Meaning |
|---|---|
championId |
Riot's numeric champion id (Data Dragon's key), or null |
locked |
false: not reached yet. true with an id: locked in. true with null: left empty (None, or the timer ran out) |
late |
true when filled by Late Selection; missing otherwise |
role |
Picks only: top, jungle, mid, bot or support, once the role is public. Private roles become public when late selection ends; Shared roles as soon as they're set |
Game status#
| Status | Meaning |
|---|---|
lobby |
Waiting for drafters to sit down and ready up |
drafting |
Picks and bans under way; stepIndex says whose turn it is |
finalization |
All 20 steps done, but undo, late picks and role changes are still possible for a short while. Picks can still change |
complete |
Final; roles are public |
An approved undo can send a game from finalization back to drafting and clear locked slots, so don't treat a slot as final until the game is complete.
Step order#
The 20 steps follow the standard tournament order, where F is the firstPick side and S the other:
Steps (stepIndex) |
Order |
|---|---|
| 0–5 | Bans: F S F S F S |
| 6–11 | Picks: F S S F F S |
| 12–15 | Bans: S F S F |
| 16–19 | Picks: S F F S |
Each side fills its own slots 1–5 in order.
Champion names and images#
championId is Riot's numeric key. Load Data Dragon's champion list for the series' patch to get names and image file names:
https://ddragon.leagueoflegends.com/cdn/{championDataPatch}/data/en_US/champion.json
Each entry has key (the id, as a string), id (used in image URLs, such as MonkeyKing for Wukong) and name.
| Image | URL |
|---|---|
| Square icon | https://ddragon.leagueoflegends.com/cdn/{patch}/img/champion/{id}.png |
| Loading-screen portrait | https://ddragon.leagueoflegends.com/cdn/img/champion/loading/{id}_{skin}.jpg |
| Centred splash | https://ddragon.leagueoflegends.com/cdn/img/champion/centered/{id}_{skin}.jpg |
| Full splash | https://ddragon.leagueoflegends.com/cdn/img/champion/splash/{id}_{skin}.jpg |
{skin} is a skin number, 0 for the base skin. Skin numbers and names are in https://ddragon.leagueoflegends.com/cdn/{patch}/data/en_US/champion/{id}.json; entries with a parentSkin are chromas. Watch out for Fiddlesticks: its loading-screen and centred-splash files are named FiddleSticks.
Example#
A minimal browser script that prints the current game's picks. To keep it live, run it every second or two and redraw only when the game's version changes.
The example script
const code = "k3qz9wmp4";
const draft = await (await fetch(`https://draftify.lol/api/series/${code}/results`)).json();
const dd = await (
await fetch(`https://ddragon.leagueoflegends.com/cdn/${draft.championDataPatch}/data/en_US/champion.json`)
).json();
const byKey = new Map(Object.values(dd.data).map((c) => [Number(c.key), c]));
const game = draft.games[draft.current - 1];
const teamOn = (side) =>
(side === "blue") === (game.blueTeam === "team1") ? draft.team1Name : draft.team2Name;
for (const side of ["blue", "red"]) {
console.log(`${teamOn(side)} (${side})`);
for (const slot of game.picks[side]) {
const champ = byKey.get(slot.championId);
const label = champ ? champ.name : slot.locked ? "No pick" : "…";
const art = champ && `https://ddragon.leagueoflegends.com/cdn/img/champion/loading/${champ.id}_0.jpg`;
console.log(" ", label, slot.role ?? "", art ?? "");
}
}
Result images#
Draftify draws each draft as a PNG, the same image link previews show:
https://draftify.lol/api/series/{code}/card.png?game=2
A single game is 1200 × 530 px; a whole series is 760 px wide and taller the more games it has. Without ?game=, a multi-game series with a finished game gets the series image, and otherwise you get the current game. Images of finished games are cached for a day, live ones for 30 seconds.
Player names#
/results includes player names when the series uses them: playerNamesEnabled: true and a series-level players roster. Completed games have their own games[].players; unfinished games use the series roster. /api/series/{code} never includes names.
A roster is { team1, team2 }, each mapping top, jungle, mid, bot and support to a name ("" when empty). Names may include a Riot #tag; cut everything from the first # for a public label. Use blueTeam to find each side's roster. Pair names with picks by role once roles are public, and by pick order before that.
Team images#
/api/series/{code} and /results may include teamImages, with a hash for team1 and team2; completed games also have games[].teamImages. Fetch the PNG at /api/team-images/{hash}. Images are square, at most 512×512, and keep their transparency. An image expires after 30 days without use, so handle a missing image (with fetch from another site, it fails as a request error).
Replay records#
GET /api/series/{code}/replay?after=0 returns up to 200 records of what spectators saw, oldest first, plus next (pass it back as after={next}; null at the end) and serverNow. Each record has seq, at, game, checkpoint, patch, removed and events: a checkpoint replaces the game as displayed, a patch replaces the fields that changed, and removed lists fields to delete. Private roles stay hidden until they're public.
Archived matches keep their replay records, except matches archived before October 19, 2026. Drafts from before replay existed have none.