FootballStack API documentation
Build with normalized fixtures, results, competitions, stable entity IDs and derived match context. Responses use the same data, meta and error contract.
Your first request
The public preview works without a key and returns up to five matches per request.
curl "https://footballstack-api.netrebnic.chatgpt.site/v1/matches?date=2026-08-28" \
-H "Accept: application/json"Response
{
"data": [
{
"id": "match_olg_83156",
"competitionId": "comp_bundesliga_de",
"status": "scheduled",
"kickoffAt": "2026-08-28T18:30:00.000Z",
"homeTeam": { "id": "team_olg_40", "name": "FC Bayern München" },
"awayTeam": { "name": "VfB Stuttgart" }
}
],
"meta": {
"count": 1,
"environment": "beta",
"access": { "authenticated": false, "plan": "public" }
}
}Bearer API keys
A Founding Beta key unlocks the full result set, every match-context ID and 10,000 measured requests per month. Raw keys start with fs_live_; FootballStack stores only a SHA-256 hash.
Authorization: Bearer fs_live_your_api_keymatch_olg_83156.What is actually available
OpenLigaDB · ODbL-1.0Bundesliga, 2. Bundesliga and DFB Pokal
Current and previous-season fixtures/results. Standings, form, Elo, rest and head-to-head are derived where sufficient league history exists.
OpenFootball · CC0-1.0Four league archives
Premier League, La Liga, Serie A and Ligue 1 season files. These are archives, not a live feed.
Every relevant response includes source and license metadata. If you publicly redistribute an adapted OpenLigaDB database, review the ODbL attribution and share-alike requirements for your use case.
Endpoints
/v1/healthAPI health
Current service, API version and active provider state.
/v1/competitionsCompetitions
Coverage flags, seasons, source and license for each competition.
/v1/matchesMatches
Fixtures and results filtered by date, competition, team, status or season.
/v1/matches/{id}/contextMatch context
Derived form, Elo, rest, table position, venue record, head-to-head and freshness.
/v1/search?q={query}Entity search
Resolve team and competition names to stable FootballStack IDs.
Match context
The context endpoint computes an integration-ready snapshot from available match history. A field can be empty or null when a new season has not produced enough history.
home.formUp to five completed matcheshome.eloDerived strength ratinghome.restDaysDays since previous match or nullheadToHeadAvailable previous meetingstablePositionDerived current-season rank or nullfreshnessSource update timestampsTyped, predictable errors
Errors use stable codes, including invalid_api_key, monthly_quota_exceeded, founding_key_required and source_unavailable.
{ "error": { "code": "founding_key_required", "message": "Use a Founding Beta key for this match context." } }Live beta
Run a public-preview endpoint from this deployment and inspect the real JSON response.
/v1/matches/match_olg_83156/contextSelect an endpoint and run the request.