Quickstart

Get a server key

Sign in, activate your 24-hour trial or subscription, then create an API key in the dashboard. Send it only from your backend as an Authorization: Bearer header. All real fixtures, history and streams require an active entitlement.

export MF_API=https://api.matchfeed.dev
# Set MATCHFEED_API_KEY in your shell's private environment.
curl -fsS -H "Authorization: Bearer $MATCHFEED_API_KEY" "$MF_API/v1/football/matches"
# Use an actual match_id returned by the directory.
curl -fsS -H "Authorization: Bearer $MATCHFEED_API_KEY" \
  "$MF_API/v1/football/matches/$MATCH_ID/snapshot?feeds=A,B"

Find a match

GET /v1/football/matches uses the current UTC date by default. Optional date=YYYY-MM-DD, feeds=A,C, limit (1–1000, default 200) and after. Pass next_cursor unchanged as after until next_cursor is null. Dates represent scheduled kickoff or, when unknown, the first observed date. Times use RFC 3339 UTC. Data sources start independently, typically about ten minutes before kickoff.

{
  "matches": [
    {
      "match_id": "mf_00000000000000000001",
      "home": "North",
      "away": "South",
      "league": "Demo Cup",
      "country": "GB",
      "kickoff": "2026-01-01T12:00:00Z",
      "feeds": {
        "A": {
          "status": "available",
          "last_received_at": "2026-01-01T12:05:00Z"
        }
      }
    }
  ],
  "next_cursor": null
}

Read current state

GET /v1/football/matches/{id}/snapshot?feeds=A,C returns {match_id,feeds:{A:envelope,C:envelope}}. Omit feeds to request purchased channels. A listed channel without a baseline returns only {status}. Uncovered channels are absent. Status is listed, waiting, available, stale or finished. Preserve the last known state for stale. Snapshots are complete down to the current channel event array. When sent, If-None-Match reuses the ETag and may return HTTP 304 without a body.

Named-source requests outside the plan return HTTP 403. Invalid or missing credentials return 401, missing matches 404, invalid query values 400 and temporary store failures 503. Errors use {"error":{"code":"…"}}. Paid organizations share ten data requests per second and two WebSocket connections. Trial organizations share one directory request every 30 seconds, plus one detail/history request every ten seconds. HTTP 429 includes Retry-After in seconds. A 304 consumes one request.

REST · WebSocket · Event fields · Historical replay