sidelined.chdevelopers sidelined.ch ↗

API

Read-only JSON over HTTPS, free, no key: the 14 National League clubs, their current entries and recent changes. The reference lists every endpoint and field; the OpenAPI 3.1 document describes the same, for code and agents.

Quickstart #

The clubs and how many players each is missing:

curl https://api.sidelined.ch/v1/teams

One club's current entries:

curl https://api.sidelined.ch/v1/teams/zug/absences
{
  "data": [
    {
      "id": 89,
      "team": "zug",
      "player": { "id": 69, "name": "Lukas Bengtsson", "jersey": 32 },
      "type": "injury",
      "category": "out",
      "confidence": "official",
      "reason_text": "fibula",
      "body_region": "lower_body",
      "since": "2026-10-11",
      "since_kind": "reported",
      "return": { "text": "several months", "kind": "duration", "min": "2026-12-10", "max": "2027-04-09" },
      "detail": null,
      "sources": [
        { "kind": "medical_report", "label": "club medical report", "url": "https://www.evz.ch/en/eissport/men/medical-report/" }
      ],
      "off_club_report": null,
      "expected_back": null,
      "updated_at": "2026-10-21T13:00:40.995Z"
    }
  ],
  "attribution": { "text": "Data: sidelined.ch, from the clubs, the National League and the Swiss Ice Hockey Federation (sources on each entry)", "url": "https://sidelined.ch" }
}

What changed in the last 14 days, newest first:

curl "https://api.sidelined.ch/v1/changes?team=zug&limit=20"

Endpoints #

EndpointReturns
GET /v1/teamsThe 14 clubs: name, slug, logo, players out, scratches, loans, last checked
GET /v1/teams/{slug}One club with all its current entries
GET /v1/teams/{slug}/absencesThe club's entries (category=out by default; also scratch, loan, all)
GET /v1/absencesAll entries, filterable by team, type, confidence, category
GET /v1/changesRecent changes: newly out, updated (also off or back on the club's report), back, no longer listed; since, team, limit, cursor
GET /v1/openapi.jsonThe OpenAPI 3.1 document

Conventions #

Next #