Skip to content

The data feed

The scores on this site are published as JSON as they change, for anyone to use: an odds tracker, a stream overlay or a spreadsheet. There is no sign-in and no key.

For machines

  • api.md – Everything on this page in Markdown, in one read. Give it to a language model or keep it beside your code.
  • openapi.json – An OpenAPI 3.1 description, for code generators and API tools.
  • llms.txt – A short index for language models, pointing at the other two.

Receiving webhooks instead

We can also push each change to your system as it happens: one request per player whenever their published values change. The webhook spec (webhooks.md) is written for the developer of the receiving system: both formats with examples, retries, and what we need from you.

On a big screen

For a TV, a projector or the organisers' desk, /big (and /s/<id>/big for one session) shows the whole field, the chart and the story of the round on one screen that never scrolls and updates by itself. Press f for full screen. Add ?view=position for the position chart, ?stage=<id> to keep one round on screen, ?top=10 to show only the top ten in bigger type, or ?chart=0 for the standings alone.

Before you rely on it

Quick start

Poll the feed every 5 to 10 seconds and send back the etag, so an unchanged feed costs almost nothing. Replace show with your own function.

let etag = null;
async function poll() {
  let wait = 5000 + Math.random() * 5000;                     // 5 to 10 seconds
  try {
    const res = await fetch('https://mewc.scorchsoft.tools/feed.json', { headers: etag ? { 'If-None-Match': etag } : {}, signal: AbortSignal.timeout(15000) });
    if (res.status === 429) wait = Number(res.headers.get('retry-after') || 10) * 1000;
    if (res.status === 200) { etag = res.headers.get('etag'); show(await res.json()); }  // 304: no change
  } catch { wait = 30000; }                                    // offline: try again later
  setTimeout(poll, wait);
}
poll();

Addresses

All answer GET and HEAD. Times are ISO 8601 in UTC.

AddressWhat it gives you
/feed.jsonalso /s/<id>/feed.jsonThe live scores. Every stage and every player's latest published values, and how current they are (health). version goes up whenever anything changes. Send the etag back in If-None-Match and an unchanged feed answers 304 with no body: same session, same scores and the same health.reading as the copy you hold.
/history.jsonalso /s/<id>/history.jsonEvery published change. Each player's values every time they changed, oldest first: enough to draw scores over time. Fetch it once, then, when the feed's version changes, only what is new (?after=), not on every poll.?stage= A stage id from the feed, such as s2. Leave it out for every stage. A malformed id answers 404 { "error": "no_such_stage" }.?after= A change id (a point's id). Only changes with a larger id are returned, so you can keep what you have and append. Leave it out for everything.
/history.csvalso /s/<id>/history.csvEvery published change, as a spreadsheet. The same as history.json, one line per value: stage_id, stage, player_id, player, at, rank, column, value. Sent as a download. A cell starting with =, +, - or @ is prefixed with ' so a spreadsheet does not run it. after is ignored here.?stage= A stage id from the feed, such as s2. Leave it out for every stage. A malformed id answers 404 { "error": "no_such_stage" }.
/sessions.jsonThe sessions. Every recording that is not archived, with its feed and page addresses. The main session is the real event and is also served at the root addresses; a test session is a rehearsal.
/api.mdThis reference in Markdown. Everything here in one read, for a person or a language model.
/openapi.jsonOpenAPI 3.1 description. The endpoints and schemas, for code generators and API tools.
/webhooks.mdThe webhook spec. For a system that receives our webhook requests: when each request is sent, both formats field by field with examples, retries and what we need from you.
/llms.txtA short index for language models. What the site is and where the machine-readable files are.

Sessions

Each recording is a session with its own feed, so a rehearsal never touches the real event. https://mewc.scorchsoft.tools/feed.json, /history.json and /history.csv serve the main session (the real event). https://mewc.scorchsoft.tools/s/<session id>/feed.json, /s/<session id>/history.json and /s/<session id>/history.csv serve one session, and https://mewc.scorchsoft.tools/s/<session id> is its live page. https://mewc.scorchsoft.tools/sessions.json lists the sessions. Every feed and history body says which session it is in session: when session.kind is "test", the numbers are a rehearsal and not real. The headers, caching and rate limit are the same for every session.

Polling politely

To rehearse against a board that changes on its own, point a camera at the test board, which is open to anyone and shares the same limit.

Using it from a web page

Every public endpoint answers any origin (access-control-allow-origin: *) for GET, HEAD and OPTIONS. If-None-Match is allowed as a request header and the etag header is readable from a browser. If a browser can't read retry-after on a 429, wait 10 seconds. No sign-in, cookies or keys.

Fields

Feed (/feed.json)

GET /feed.json: every stage, with each player's latest published values.

FieldTypeMeaning
sessionSessionRefThe recording this body belongs to. A test session is a rehearsal, not the real event.
versionintegerGoes up by one each time anything published changes. 0 before any data.
generated_attime (ISO 8601, UTC)When this response was made.
updated_attime (ISO 8601, UTC) or nullThe last picture of the board from which at least one row was read and used (the same as health.last_read_at). Null before any.
changed_attime (ISO 8601, UTC) or nullThe last time a published value changed. Null before any.
stalebooleanTrue when nothing has been read from a picture for 60 seconds (health.reading is not "ok"): the scores may be out of date. Pictures that arrive but can't be used (the board out of view, every row unreadable) don't count. True before any data.
healthFeedHealth
current_stage_idstring or nullThe id of the stage on the board now. Null before any data.
stagesarray of FeedStageEvery stage, in the order they started.

Health (feed.health)

How current the feed is, worked out as the response is made. Use it to say why the scores may be out of date.

FieldTypeMeaning
last_frame_attime (ISO 8601, UTC) or nullThe last picture that arrived from the camera, read or not. Null before any.
last_read_attime (ISO 8601, UTC) or nullThe last picture from which at least one row was read and used (the same as updated_at). Null before any.
last_change_attime (ISO 8601, UTC) or nullThe last time a published value changed (the same as changed_at). Null before any.
readingstring"ok": something was read within 60 seconds. "nothing_read": pictures arrive, but nothing has been read from them for 60 seconds (the board is out of view or unreadable). "no_frames": no picture has arrived for 60 seconds (the camera is off or offline). stale is true unless this is "ok".
modestring or nullHow the board is being captured, from the most recent picture in the last 10 minutes: "auto" (a camera sends a picture every few seconds) or "manual" (an operator takes a photo when they choose, so minutes between readings are normal). Null when no picture has arrived for 10 minutes.

Stage (each of feed.stages)

One board: a round, heat or final.

FieldTypeMeaning
idstringStable id: "s1", "s2" and so on.
labelstringThe board's title, a name an operator gave it, or "Stage <n>". It can change.
currentbooleanTrue for the stage on the board now. At most one is current.
columnsarray of stringThe score columns as headed on the board, left to right, such as ["Game 1", "Game 2", "Score"] or ["Points"].
total_columnstring or nullThe column to rank and chart by: the total if the board has one, otherwise the last column.
max_totalnumber or nullThe highest total possible in this stage (bonuses included), set by an operator, such as 1250. Null when none is set: then every percent is null.
codestring or nullThe organisers' code for this round, such as "SF1", "SF2" or "F": worked out from the board's title when the stage opens ("Semi-final 2" gives SF2) or set by an operator. Null when it has none yet.
qualify_topinteger or nullHow many players go through to the next round ("top 6 go through"), set by an operator. Null when no line is set. Players placed within it (by rank) are above the line; a tie at the cut keeps everyone tied above it.
started_attime (ISO 8601, UTC)When the stage was first seen.
ended_attime (ISO 8601, UTC) or nullWhen the next stage replaced it. Null while it is current.
last_frame_attime (ISO 8601, UTC) or nullThe last picture of this stage from which something was read. Null if none yet.
playersarray of FeedPlayerBy rank, then total (highest first), then name. Players are never removed: see on_board.

Player (each of stage.players)

One player in one stage.

FieldTypeMeaning
idstringStable across stages: "p14" is the same person in every stage.
namestringAs read from the board, or the organiser's spelling when it matches their list. Treat it as untrusted text.
rankinteger or nullThe rank printed on the board. Null if the board shows none.
valuesobject: column → number or nullColumn heading → value, one entry per column. A cell never read is null.
totalnumber or nullThis player's value in total_column, or null.
percentnumber or nullPercent complete: total ÷ max_total × 100, rounded to one decimal place and capped at 100. Null when the stage has no max_total or the player has no total.
on_boardbooleanTrue when the name was on the board within 45 seconds of the stage's latest picture. False means scrolled off or no longer shown; the values are the last ones read.
last_seen_attime (ISO 8601, UTC)The last picture in which the name was on the board.
updated_attime (ISO 8601, UTC) or nullThe last time this player's values changed. Null if never.
flagsarray of string"decreased": the total went down at the last change (a correction on the board, or a misread). "manual": set by an operator and locked: the camera can't change it until it reads the same value or the operator releases it. "camera_disagrees": with "manual", the camera reads something else for this player now. "over_max": the total is above the stage's own max_total (percent is capped at 100), so the total or the maximum is probably wrong. Empty otherwise.

History (/history.json)

GET /history.json: every published change, oldest first (or only those after ?after=).

FieldTypeMeaning
sessionSessionRefThe recording this body belongs to. A test session is a rehearsal, not the real event.
generated_attime (ISO 8601, UTC)When this response was made.
stagesarray of HistoryStageEvery stage, or the one asked for with ?stage=.

History stage (each of history.stages)

One stage's changes.

FieldTypeMeaning
idstringAs in the feed.
labelstringAs in the feed.
codestring or nullAs in the feed: the organisers' code for this round, or null.
columnsarray of stringAs in the feed.
total_columnstring or nullAs in the feed.
max_totalnumber or nullAs in the feed: the maximum now, which every point's percent uses.
started_attime (ISO 8601, UTC)As in the feed.
ended_attime (ISO 8601, UTC) or nullAs in the feed.
playersarray of HistoryPlayerEveryone with at least one published value in the stage.

History player (each of stage.players)

One player's changes in one stage.

FieldTypeMeaning
idstringAs in the feed.
namestringAs in the feed.
pointsarray of HistoryPointOne per published change, oldest first. With ?after=, only the changes after that id.

Point (each of player.points)

A player's values from one moment until the next change.

FieldTypeMeaning
idintegerThe change's id. Ids only go up: ask for ?after=<the largest id you hold> to get only later changes.
attime (ISO 8601, UTC)When the change was published.
rankinteger or nullThe rank on the board at that moment, or null.
valuesobject: column → number or nullColumn heading → value from that moment on.
totalnumber or nullThe value in total_column from that moment on, or null.
percentnumber or nullPercent complete from that moment on, as in the feed, or null.

Session (feed.session and history.session)

A session is one recording with its own address. The main session is the real event; a test session is a rehearsal.

FieldTypeMeaning
idstringLower-case letters, digits and hyphens, such as "main" or "dry-run-2".
namestringA name an operator gave it.
kindstring"live" for a real recording, "test" for a rehearsal. Ignore test sessions unless you are testing.

Sessions (/sessions.json)

GET /sessions.json: the sessions that are not archived.

FieldTypeMeaning
main_session_idstringThe session served at the root addresses (/feed.json and so on).
sessionsarray of SessionListItemEvery session that is not archived.

Session in the list (each of sessions)

One session in /sessions.json.

FieldTypeMeaning
idstringAs in SessionRef.
namestringAs in SessionRef.
kindstringAs in SessionRef.
created_attime (ISO 8601, UTC)When the session was made.
feed_urlstringThe session's feed address: /s/<id>/feed.json.
page_urlstringThe session's live page: /s/<id>.

A complete example

Shortened to a few players a stage; a real stage can have 60 or more. Semi-final 1 has a maximum of 2,500, so its players have a percent, and it carries the organisers' round code and a qualifying line; Qualifying has neither. Anup Agarwal is no longer on the board in Semi-final 1, and Benjamin Weber's total went down at his last change.

GET /feed.json
{
  "session": {
    "id": "main",
    "name": "Evening final",
    "kind": "live"
  },
  "version": 128,
  "generated_at": "2026-12-03T19:20:11Z",
  "updated_at": "2026-12-03T19:20:05Z",
  "changed_at": "2026-12-03T19:19:40Z",
  "stale": false,
  "health": {
    "last_frame_at": "2026-12-03T19:20:05Z",
    "last_read_at": "2026-12-03T19:20:05Z",
    "last_change_at": "2026-12-03T19:19:40Z",
    "reading": "ok",
    "mode": "auto"
  },
  "current_stage_id": "s2",
  "stages": [
    {
      "id": "s1",
      "label": "Qualifying",
      "current": false,
      "columns": [
        "Points"
      ],
      "total_column": "Points",
      "max_total": null,
      "code": null,
      "qualify_top": 24,
      "started_at": "2026-12-03T18:02:10Z",
      "ended_at": "2026-12-03T19:05:40Z",
      "last_frame_at": "2026-12-03T19:05:31Z",
      "players": [
        {
          "id": "p3",
          "name": "Anup Agarwal",
          "rank": 1,
          "values": {
            "Points": 780
          },
          "total": 780,
          "percent": null,
          "on_board": true,
          "last_seen_at": "2026-12-03T19:05:31Z",
          "updated_at": "2026-12-03T18:58:02Z",
          "flags": []
        },
        {
          "id": "p7",
          "name": "Alan Belmore",
          "rank": 2,
          "values": {
            "Points": 780
          },
          "total": 780,
          "percent": null,
          "on_board": true,
          "last_seen_at": "2026-12-03T19:05:31Z",
          "updated_at": "2026-12-03T18:59:14Z",
          "flags": []
        },
        {
          "id": "p4",
          "name": "Benjamin Weber",
          "rank": 3,
          "values": {
            "Points": 740
          },
          "total": 740,
          "percent": null,
          "on_board": true,
          "last_seen_at": "2026-12-03T19:05:31Z",
          "updated_at": "2026-12-03T19:01:47Z",
          "flags": [
            "manual"
          ]
        }
      ]
    },
    {
      "id": "s2",
      "label": "Semi-final 1",
      "current": true,
      "columns": [
        "Game 1",
        "Game 2",
        "Score"
      ],
      "total_column": "Score",
      "max_total": 2500,
      "code": "SF1",
      "qualify_top": 2,
      "started_at": "2026-12-03T19:06:02Z",
      "ended_at": null,
      "last_frame_at": "2026-12-03T19:20:05Z",
      "players": [
        {
          "id": "p14",
          "name": "Ha Dang",
          "rank": 1,
          "values": {
            "Game 1": 1041,
            "Game 2": 1030,
            "Score": 2071
          },
          "total": 2071,
          "percent": 82.8,
          "on_board": true,
          "last_seen_at": "2026-12-03T19:20:05Z",
          "updated_at": "2026-12-03T19:19:40Z",
          "flags": []
        },
        {
          "id": "p2",
          "name": "Nick Boberg",
          "rank": 2,
          "values": {
            "Game 1": 1001,
            "Game 2": 1015,
            "Score": 2016
          },
          "total": 2016,
          "percent": 80.6,
          "on_board": true,
          "last_seen_at": "2026-12-03T19:20:05Z",
          "updated_at": "2026-12-03T19:19:40Z",
          "flags": []
        },
        {
          "id": "p9",
          "name": "Zhang Yunyi",
          "rank": 3,
          "values": {
            "Game 1": 1030,
            "Game 2": 960,
            "Score": 1990
          },
          "total": 1990,
          "percent": 79.6,
          "on_board": true,
          "last_seen_at": "2026-12-03T19:20:05Z",
          "updated_at": "2026-12-03T19:17:12Z",
          "flags": [
            "manual",
            "camera_disagrees"
          ]
        },
        {
          "id": "p4",
          "name": "Benjamin Weber",
          "rank": 4,
          "values": {
            "Game 1": 971,
            "Game 2": 960,
            "Score": 1931
          },
          "total": 1931,
          "percent": 77.2,
          "on_board": true,
          "last_seen_at": "2026-12-03T19:20:05Z",
          "updated_at": "2026-12-03T19:18:25Z",
          "flags": [
            "decreased"
          ]
        },
        {
          "id": "p3",
          "name": "Anup Agarwal",
          "rank": 5,
          "values": {
            "Game 1": 970,
            "Game 2": null,
            "Score": 970
          },
          "total": 970,
          "percent": 38.8,
          "on_board": false,
          "last_seen_at": "2026-12-03T19:12:48Z",
          "updated_at": "2026-12-03T19:07:33Z",
          "flags": []
        }
      ]
    }
  ]
}
GET /history.json?stage=s2
{
  "session": {
    "id": "main",
    "name": "Evening final",
    "kind": "live"
  },
  "generated_at": "2026-12-03T19:20:11Z",
  "stages": [
    {
      "id": "s2",
      "label": "Semi-final 1",
      "columns": [
        "Game 1",
        "Game 2",
        "Score"
      ],
      "total_column": "Score",
      "max_total": 2500,
      "code": "SF1",
      "started_at": "2026-12-03T19:06:02Z",
      "ended_at": null,
      "players": [
        {
          "id": "p14",
          "name": "Ha Dang",
          "points": [
            {
              "id": 5001,
              "at": "2026-12-03T19:07:33Z",
              "rank": 1,
              "values": {
                "Game 1": 1041,
                "Game 2": null,
                "Score": 1041
              },
              "total": 1041,
              "percent": 41.6
            },
            {
              "id": 5009,
              "at": "2026-12-03T19:19:40Z",
              "rank": 1,
              "values": {
                "Game 1": 1041,
                "Game 2": 1030,
                "Score": 2071
              },
              "total": 2071,
              "percent": 82.8
            }
          ]
        },
        {
          "id": "p2",
          "name": "Nick Boberg",
          "points": [
            {
              "id": 5002,
              "at": "2026-12-03T19:07:33Z",
              "rank": 3,
              "values": {
                "Game 1": 1001,
                "Game 2": null,
                "Score": 1001
              },
              "total": 1001,
              "percent": 40
            },
            {
              "id": 5010,
              "at": "2026-12-03T19:19:40Z",
              "rank": 2,
              "values": {
                "Game 1": 1001,
                "Game 2": 1015,
                "Score": 2016
              },
              "total": 2016,
              "percent": 80.6
            }
          ]
        },
        {
          "id": "p9",
          "name": "Zhang Yunyi",
          "points": [
            {
              "id": 5003,
              "at": "2026-12-03T19:07:33Z",
              "rank": 2,
              "values": {
                "Game 1": 1030,
                "Game 2": null,
                "Score": 1030
              },
              "total": 1030,
              "percent": 41.2
            },
            {
              "id": 5006,
              "at": "2026-12-03T19:17:12Z",
              "rank": 2,
              "values": {
                "Game 1": 1030,
                "Game 2": 960,
                "Score": 1990
              },
              "total": 1990,
              "percent": 79.6
            }
          ]
        },
        {
          "id": "p4",
          "name": "Benjamin Weber",
          "points": [
            {
              "id": 5004,
              "at": "2026-12-03T19:07:33Z",
              "rank": 4,
              "values": {
                "Game 1": 971,
                "Game 2": null,
                "Score": 971
              },
              "total": 971,
              "percent": 38.8
            },
            {
              "id": 5007,
              "at": "2026-12-03T19:17:59Z",
              "rank": 3,
              "values": {
                "Game 1": 971,
                "Game 2": 990,
                "Score": 1961
              },
              "total": 1961,
              "percent": 78.4
            },
            {
              "id": 5008,
              "at": "2026-12-03T19:18:25Z",
              "rank": 4,
              "values": {
                "Game 1": 971,
                "Game 2": 960,
                "Score": 1931
              },
              "total": 1931,
              "percent": 77.2
            }
          ]
        },
        {
          "id": "p3",
          "name": "Anup Agarwal",
          "points": [
            {
              "id": 5005,
              "at": "2026-12-03T19:07:33Z",
              "rank": 5,
              "values": {
                "Game 1": 970,
                "Game 2": null,
                "Score": 970
              },
              "total": 970,
              "percent": 38.8
            }
          ]
        }
      ]
    }
  ]
}
GET /history.csv?stage=s2 (first lines)
stage_id,stage,player_id,player,at,rank,column,value
s2,Semi-final 1,p14,Ha Dang,2026-12-03T19:19:40Z,1,Game 1,1041
s2,Semi-final 1,p14,Ha Dang,2026-12-03T19:19:40Z,1,Game 2,1030
s2,Semi-final 1,p14,Ha Dang,2026-12-03T19:19:40Z,1,Score,2071

The data now

/feed.json · /history.json · /history.csv · /sessions.json