On this page
Resource API reference
Resource routes return entities and allowlisted performance stats. Paginate with take and opaque after cursors (meta.next_after, meta.has_more).
Common patterns
- Season tokens:
2026or2026-27 - Statistics maps are filtered through the catalogue allowlist; use
selectfor metric ids / SDP keys - Player-match rows include
coverage: derived_partial
Examples — list clubs
cURL
curl -s "https://api.crunchclash.com/v1/clubs?take=10" \
-H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const API_KEY = "YOUR_API_KEY";
const res = await fetch("https://api.crunchclash.com/v1/clubs?take=10", {
headers: { Authorization: `Bearer ${API_KEY}` },
});
const { data, meta } = await res.json();
Python
import requests
API_KEY = "YOUR_API_KEY"
r = requests.get(
"https://api.crunchclash.com/v1/clubs",
params={"take": 10},
headers={"Authorization": f"Bearer {API_KEY}"},
)
print(r.json()["data"])
Performance with select
cURL
curl -s "https://api.crunchclash.com/v1/players/PLAYER_ID/performance?season=2026&select=goals,minutes" \
-H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const API_KEY = "YOUR_API_KEY";
const id = "PLAYER_ID";
await fetch(
`https://api.crunchclash.com/v1/players/${id}/performance?season=2026&select=goals,minutes`,
{ headers: { Authorization: `Bearer ${API_KEY}` } },
);
Python
import requests
API_KEY = "YOUR_API_KEY"
requests.get(
"https://api.crunchclash.com/v1/players/PLAYER_ID/performance",
params={"season": "2026", "select": "goals,minutes"},
headers={"Authorization": f"Bearer {API_KEY}"},
)
Key route groups
| Group | Paths |
|---|---|
| Competitions / seasons | /v1/competitions, /v1/competitions/{id}, /v1/seasons…, matchweeks, topscorers, squads, schedule, rounds |
| Clubs | /v1/clubs…, table-position, squad |
| Players | /v1/players…, /v1/players/{id}/club-history |
| Matches | /v1/matches…, lineups, events, officials, facts |
| Table | /v1/league-table, /v1/seasons/{id}/table |
| Performance | /v1/performance/* — multi-metric metrics CSV, sort_by, limit↔take, club via registrations on player-season; match grains support home_away / opponent |
See docs/PERF_COMPATIBILITY_MATRIX.md, docs/P0_ENDPOINT_DATA_AUDIT.md, and docs/ENTITY_ENRICHMENT.md. Playground forms are driven by lib/registry/parameters.ts.
Entity IDs are enriched with human-readable names (playerName, clubName, seasonName, …). Missing names are null.
Club table position
curl -s "https://api.crunchclash.com/v1/clubs/CLUB_ID/table-position?season=2026" \
-H "Authorization: Bearer YOUR_API_KEY"
Player club history (registrations)
curl -s "https://api.crunchclash.com/v1/players/PLAYER_ID/club-history" \
-H "Authorization: Bearer YOUR_API_KEY"
Coverage: membership comes from players.registrations (season-scoped). Dedicated H2H routes are not shipped — filter matches by club instead.
Full schemas: /v1/openapi. See also docs/RESOURCE_API_COVERAGE.md.
Related: API Reference · Playground