statshawk
REST APICompetitions

`GET /v1/competitions/{comp}/editions/{year}/standings` — the app-materialized

(edition, team) records (Workflow-1 task A3), best-record-first. Store-only: the records are recomputed by the runner on ingest, never fetched here.

cost 1 unitany plan
GET
/v1/competitions/{comp}/editions/{year}/standings

(edition, team) records (Workflow-1 task A3), best-record-first. Store-only: the records are recomputed by the runner on ingest, never fetched here.

X-API-Key<token>

In: header

Path Parameters

comp*string

Competition slug (nba, mlb, epl, …)

year*string

Season year (e.g. 2026)

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/competitions/string/editions/string/standings"
{
  "data": {
    "items": [
      {
        "entrant": "ent_0a1b2c3d4e5f6g7h8i9j0k1l2m",
        "games_played": 0,
        "losses": 0,
        "pct": 0.1,
        "points_against": 0,
        "points_for": 0,
        "team": {
          "home_competition": "comp_0a1b2c3d4e5f6g7h8i9j0k1l2m",
          "id": "team_0a1b2c3d4e5f6g7h8i9j0k1l2m",
          "name": "string",
          "sport": "basketball",
          "traits": [
            {
              "country": "BRA",
              "kind": "represents_country"
            }
          ]
        },
        "ties": 0,
        "wins": 0
      }
    ],
    "page": 0,
    "per_page": 0,
    "total": 0
  },
  "meta": {
    "cache": "HIT",
    "fetched_at": "2025-10-15T18:30:00Z",
    "request_id": "266ea41d-adf5-480b-af50-15b940c2b846",
    "source": "postgres",
    "version": "v1"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "property1": null,
    "property2": null
  }
}