{"openapi":"3.1.0","info":{"title":"Nidromo API","version":"0.3.1","description":"Multi-sport data API. Every served fact is license-aware; see /v1/sources for provenance. The example URLs listed at /v1/examples work without a key and are served from a cache. Everything else needs a free API key (Authorization: Bearer <key> or X-API-Key). Limits are reported in RateLimit-* headers; 429 carries Retry-After. A key may have at most 4 requests in progress at the same time (more: 429, Retry-After 1). The keyless paths (/, /health, /openapi.json, /v1/examples, /v1/status, /v1/coverage) are limited per client address (300 per minute). When the service is overloaded (no database connection free within 3 s, or a query running into the 8 s limit) the answer is 503 with Retry-After. Lists are paginated: pass limit, then follow meta.next (opaque cursor) until it is null. Cursors hold the sort position of the last row (keyset): every page costs the same, however deep. A cursor belongs to its list and order; cursors of the earlier offset form still work up to 5000 rows deep (deeper: 400). A query parameter the path does not list is refused with 400 and the accepted names (a typo never returns the unfiltered list). Codes: gender m | f | mixed; country ISO 3166-1 alpha-2 (case-insensitive); age_group: senior, U6…U21 (age limit), youth (youth without a stated age), O30…O80 / senior_masters (masters). Matches: scheduled_at is UTC; time_tbd = true means only the date is fixed (scheduled_at is local midnight): such a match is scheduled through its day (Europe/Berlin), live only when a live ticker reports it, unknown only after its day. A federation's placeholder date (a match parked on 31.12.) is no date: scheduled_at null. carried_over_from: a result the federation carries over into a follow-up round (e.g. from a preliminary round into the main round) is listed in both rounds, as their tables count it; the copy names the original match id and counts once in ratings, team statistics, form, head-to-head and calendars (null for every other match)."},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"},"apiKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key"}},"parameters":{"limit":{"name":"limit","in":"query","description":"Page size (default and maximum depend on the endpoint)","schema":{"type":"integer","minimum":1}},"cursor":{"name":"cursor","in":"query","description":"Opaque cursor from meta.next_cursor of the previous page (only for the same list and order; an invalid or foreign cursor is a 400)","schema":{"type":"string"}},"sport":{"name":"sport","in":"query","description":"Sport key, see /v1/sports (e.g. volleyball, basketball, football)","schema":{"type":"string"}},"country":{"name":"country","in":"query","description":"ISO 3166-1 alpha-2 country code","schema":{"type":"string","minLength":2,"maxLength":3}},"gender":{"name":"gender","in":"query","description":"m, f or mixed","schema":{"type":"string","enum":["m","f","mixed"]}},"level":{"name":"level","in":"query","description":"Competition level","schema":{"type":"string","enum":["international","national","regional","state","district","county"]}},"age_group":{"name":"age_group","in":"query","description":"senior, U6…U21, youth (youth without a stated age), O30…O80, senior_masters (case-insensitive)","schema":{"type":"string"}},"near":{"name":"near","in":"query","description":"Center of a search circle: <lat>,<lon> in decimal degrees (WGS84) with any number of decimals, e.g. 50.94,6.96 or a device position in full precision (50.937531399999995,6.960278600000001); at most 64 characters, latitude -90..90, longitude -180..180. Only located rows are returned, each with distance_km (great circle, rounded to 0.1 km) and location_source, the precision of the point: \"venue\" (the hall's coordinates from the source), \"venue_plz\" (centre of the postal code in the hall's address), \"venue_city\" (centre of the hall's municipality), \"name\" (centre of the municipality a club's name ends in). Positions derived from reference data: postal codes \"GeoNames (geonames.org), CC BY 4.0\"; municipalities \"© Statistisches Bundesamt (Destatis), Gemeindeverzeichnis-Informationssystem GV-ISys; Mittelpunktkoordinaten: Bundesamt für Kartographie und Geodäsie (BKG)\" (attribution required, see /v1/sources).","schema":{"type":"string","maxLength":64,"pattern":"^\\s*[+-]?\\d{1,3}(\\.\\d+)?\\s*,\\s*[+-]?\\d{1,3}(\\.\\d+)?\\s*$"}},"radius_km":{"name":"radius_km","in":"query","description":"Radius of the search circle in km, a number from 1 to 200 (default 25); needs near","schema":{"type":"number","minimum":1,"maximum":200,"default":25}}},"schemas":{"Page":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object"}},"meta":{"type":"object","properties":{"limit":{"type":"integer"},"next_cursor":{"type":["string","null"]},"next":{"type":["string","null"],"description":"Relative URL of the next page"}}}}},"Error":{"type":"object","properties":{"error":{"type":"string"}}}},"responses":{"BadRequest":{"description":"Invalid or unknown parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"KeyRequired":{"description":"API key required (only the URLs under /v1/examples work without one)"},"RateLimited":{"description":"Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After"},"Busy":{"description":"Service overloaded (no database connection free in time, or the query took too long); see Retry-After"}}},"security":[{},{"bearer":[]},{"apiKeyHeader":[]}],"servers":[{"url":"/"}],"paths":{"/health":{"get":{"summary":"Liveness","responses":{"200":{"description":"ok"}}}},"/openapi.json":{"get":{"summary":"This OpenAPI document (with keyless example requests)","description":"Built once per refresh of the examples; ETag and If-None-Match (304) are supported.","responses":{"200":{"description":"OpenAPI 3.1"},"304":{"description":"Not modified"}}}},"/v1/examples":{"get":{"summary":"Keyless example requests (cached)","description":"Each entry with its URL and a ready curl line on the public base URL (https).","responses":{"200":{"description":"list"}}}},"/v1/status":{"get":{"summary":"Service status: is every source refreshed as planned? (no key, cached 1 min)","description":"status: ok | degraded | down. Per source: status (ok, degraded, down, disabled), reasons (failing: the last 3+ runs failed; full_overdue: no complete pass within twice the planned interval; refresh_lag: matches are live or results pending but no refresh started for long), since (when the current status began, if known), live_level (hot: live or imminent matches, warm: results overdue, idle), last_success_at, last_full_success_at, full_pass_running, consecutive_failures. scheduler.status is down when the ingest scheduler stopped beating (then nothing is refreshed).","responses":{"200":{"description":"Status document"}}}},"/v1/coverage":{"get":{"summary":"What the API holds: competitions per level, teams and matches per sport (no key, cached 5 min)","description":"Counts of what is served (licensed and public) only. levels: international, national, regional, state, district, county. totals.live: matches live right now; totals.today: matches scheduled today (Europe/Berlin).","responses":{"200":{"description":"Coverage document"}}}},"/v1/sports":{"get":{"summary":"List sports","responses":{"200":{"description":"list","content":{"application/json":{"example":{"data":[{"id":1,"key":"volleyball","name":"Volleyball","contest":"duel","period_kind":"set"},{"id":2,"key":"basketball","name":"Basketball","contest":"duel","period_kind":"quarter"},{"id":3,"key":"handball","name":"Handball","contest":"duel","period_kind":"half"},"… 13 more"]}}}}},"x-example-requests":[{"title":"All sports","url":"/v1/sports","keyless":true}]}},"/v1/sources":{"get":{"summary":"Data sources with license & usage","description":"Every source with its license, whether we may redistribute it, whether attribution is required and the credit line to show (attribution), including the reference data behind \"near me\" (destatis_gv: municipalities, geonames_postal: postal codes). served: whether its data reaches this API now (licence, usage and, for sources that need one, a valid authorization of the rights holder); a source that is not served contributes nothing.","responses":{"200":{"description":"list","content":{"application/json":{"example":{"data":[{"source":"wikidata","name":"Wikidata","usage":"open","license":"cc0","license_name":"CC0 1.0 Public Domain","redistribute":true,"attribution_required":false,"share_alike":false,"license_url":"https://creativecommons.org/publicdomain/zero/1.0/","attribution":null,"served":true},{"source":"openligadb","name":"OpenLigaDB","usage":"open","license":"odbl","license_name":"Open Database License 1.0","redistribute":true,"attribution_required":true,"share_alike":true,"license_url":"https://opendatacommons.org/licenses/odbl/1-0/","attribution":"Contains information from OpenLigaDB (https://www.openligadb.de), which is made available here under the Open Database License (ODbL) 1.0 (https://opendatacommons.org/licenses/odbl/1-0/).","served":true},{"source":"sams","name":"SAMS (VBL)","usage":"licensed","license":"licensed","license_name":"Bilateral license / API key","redistribute":true,"attribution_required":false,"share_alike":false,"license_url":null,"attribution":null,"served":true},"… 18 more"]}}}}},"x-example-requests":[{"title":"Data sources with license status","url":"/v1/sources","keyless":true}]}},"/v1/competitions":{"get":{"summary":"List competitions","parameters":[{"$ref":"#/components/parameters/sport"},{"$ref":"#/components/parameters/country"},{"$ref":"#/components/parameters/gender"},{"$ref":"#/components/parameters/level"},{"$ref":"#/components/parameters/age_group"},{"name":"region","in":"query","description":"Region or federation (exact, case-insensitive)","schema":{"type":"string"}},{"name":"kind","in":"query","description":"league, cup, tournament, friendly, super_cup","schema":{"type":"string","enum":["league","cup","tournament","friendly","super_cup"]}},{"name":"q","in":"query","description":"Name contains","schema":{"type":"string"}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Page of results. Follow meta.next until it is null.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"},"example":{"data":[{"id":"07fa48e1-eda2-4d53-aa1f-88e527642301","name":"1. Bundesliga (easyCredit BBL)","sport":"basketball","country":"de","gender":"m","kind":"league","tier":1,"level":"national","age_group":"senior","region":"Bundesligen"},{"id":"65c342d9-0c7a-4005-b7b4-30c87d41460b","name":"1. Bundesliga (Toyota DBBL)","sport":"basketball","country":"de","gender":"f","kind":"league","tier":1,"level":"national","age_group":"senior","region":"Bundesligen"},{"id":"5bb4cd1c-ce4b-4401-a6dc-0fa68d46223a","name":"2. DBBL Nord","sport":"basketball","country":"de","gender":"f","kind":"league","tier":2,"level":"national","age_group":"senior","region":"Bundesligen"},"… 17 more"],"meta":{"limit":20,"next_cursor":"eyJzIjoiY29tcGV0aXRpb25zIiwiayI6WyJiYXNrZXRiYWxsIiwiZmFsc2UiLCJkZSIsInRydWUiLCIwIiwiMS4gS3JlaXNsaWdhIFUxMG8gRE5FK1ciLCJhNmJkMDE3My04NTM2LTQ5ZjItOGMzOC1iNTY3YjFjYmI0ODMiXX0","next":"/v1/competitions?limit=20&sport=basketball&cursor=eyJzIjoiY29tcGV0aXRpb25zIiwiayI6WyJiYXNrZXRiYWxsIiwiZmFsc2UiLCJkZSIsInRydWUiLCIwIiwiMS4gS3JlaXNsaWdhIFUxMG8gRE5FK1ciLCJhNmJkMDE3My04NTM2LTQ5ZjItOGMzOC1iNTY3YjFjYmI0ODMiXX0"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}},"x-example-requests":[{"title":"Basketball competitions (all levels)","url":"/v1/competitions?limit=20&sport=basketball","keyless":true},{"title":"Volleyball youth leagues (U18, state level)","url":"/v1/competitions?sport=volleyball&level=state&age_group=U18","keyless":true}]}},"/v1/competitions/{id}":{"get":{"summary":"Competition with its seasons (newest first by date) and current_season_id","description":"level: the level of the body running the competition (a foreign professional league: its country's national level). seasons: newest first by start_date, each with start_date and end_date, match counts and has_standings; seasons without a public match and without a table are left out. current_season_id: the season running today (several: the one that started last); between seasons the one that ended last, if within the last 365 days; else the next one to start; null when the competition has not been played for over a year or has no season with data. Season names never decide (they do not sort by time), except between seasons without any date. start_date and end_date (YYYY-MM-DD, Europe/Berlin) are derived from the public kickoffs and refreshed every 10 minutes; kickoffs more than 250 days from the season's median are left out, so a single wrong date in the source does not stretch a season, and so are placeholders (a date without a time, past and without a result; a match parked on a deadline day such as 31.12. 23:59, also ahead). null without a dated match.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Object in \"data\"","content":{"application/json":{"example":{"data":{"id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","name":"1. Fußball-Bundesliga","sport":"football","country":"de","gender":null,"kind":"league","tier":1,"level":"national","age_group":null,"region":null,"wikidata_id":null,"current_season_id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","seasons":[{"id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","name":"2026/27","start_date":"2026-08-28","end_date":"2027-05-22","matches":306,"finished":90,"first_match_at":"2026-08-28T18:30:00.000Z","last_match_at":"2027-05-22T13:30:00.000Z","has_standings":true},{"id":"fdf886e6-6af4-4eee-8b2a-13ae6629a8d0","name":"2024/25","start_date":"2024-08-23","end_date":"2025-05-17","matches":306,"finished":306,"first_match_at":"2024-08-23T18:30:00.000Z","last_match_at":"2025-05-17T13:30:00.000Z","has_standings":false}]}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"404":{"description":"Not found (or not redistributable)"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}},"x-example-requests":[{"title":"Competition with its seasons","url":"/v1/competitions/bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","keyless":true}]}},"/v1/seasons":{"get":{"summary":"List seasons","parameters":[{"name":"competition","in":"query","description":"Competition id","schema":{"type":"string","format":"uuid"}},{"$ref":"#/components/parameters/sport"},{"name":"name","in":"query","description":"Season name, e.g. 2026/27","schema":{"type":"string"}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Page of results. Follow meta.next until it is null.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"},"example":{"data":[{"id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","name":"2026/27","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga","sport":"football","start_date":"2026-08-28","end_date":"2027-05-22","matches":306},{"id":"fdf886e6-6af4-4eee-8b2a-13ae6629a8d0","name":"2024/25","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga","sport":"football","start_date":"2024-08-23","end_date":"2025-05-17","matches":306}],"meta":{"limit":200,"next_cursor":null,"next":null}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}},"description":"Each season with start_date, end_date and its number of public matches. Seasons without a public match and without a table are left out (they are still served by id). start_date and end_date (YYYY-MM-DD, Europe/Berlin) are derived from the public kickoffs and refreshed every 10 minutes; kickoffs more than 250 days from the season's median are left out, so a single wrong date in the source does not stretch a season, and so are placeholders (a date without a time, past and without a result; a match parked on a deadline day such as 31.12. 23:59, also ahead). null without a dated match.","x-example-requests":[{"title":"Seasons of the Bundesliga","url":"/v1/seasons?competition=bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","keyless":true}]}},"/v1/seasons/{id}":{"get":{"summary":"Season summary: competition, start_date/end_date, match counts, date range, links to matches/standings/teams","description":"start_date and end_date (YYYY-MM-DD, Europe/Berlin) are derived from the public kickoffs and refreshed every 10 minutes; kickoffs more than 250 days from the season's median are left out, so a single wrong date in the source does not stretch a season, and so are placeholders (a date without a time, past and without a result; a match parked on a deadline day such as 31.12. 23:59, also ahead). null without a dated match.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Object in \"data\"","content":{"application/json":{"example":{"data":{"id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","name":"2026/27","sport":"football","start_date":"2026-08-28","end_date":"2027-05-22","competition":{"id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","name":"1. Fußball-Bundesliga","country":"de","gender":null,"kind":"league","level":"national","age_group":null,"region":null},"matches":306,"finished":90,"pending":216,"live":0,"first_match_at":"2026-08-28T18:30:00.000Z","last_match_at":"2027-05-22T13:30:00.000Z","teams":18,"has_standings":true,"links":{"matches":"/v1/matches?season=1add41dc-6835-4af1-8d9a-cdb254ec76b6","standings":"/v1/standings?season=1add41dc-6835-4af1-8d9a-cdb254ec76b6","teams":"/v1/teams?season=1add41dc-6835-4af1-8d9a-cdb254ec76b6","projection":"/v1/seasons/1add41dc-6835-4af1-8d9a-cdb254ec76b6/projection"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"404":{"description":"Not found (or not redistributable)"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}},"x-example-requests":[{"title":"Season summary with links","url":"/v1/seasons/1add41dc-6835-4af1-8d9a-cdb254ec76b6","keyless":true}]}},"/v1/seasons/{id}/projection":{"get":{"summary":"Season projection (own derived data)","description":"Monte Carlo simulation of all remaining matches, starting from the official table. Each result is drawn from Elo win probabilities (home advantage fitted per sport, draw rate of the season). The points system is inferred from the official table (e.g. 3-1-0, 2-1-0, volleyball 3-2-1-0). Per team: expected final points and rank, probability of first place, top 3, last place, bottom 3, and the full rank distribution. Official tie-breakers are not modelled. Deterministic per season; cached for 10 minutes.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"simulations","in":"query","description":"Number of simulated seasons (default 10000)","schema":{"type":"integer","enum":[1000,5000,10000,20000]}}],"responses":{"200":{"description":"Projection in \"data\"","content":{"application/json":{"example":{"data":{"season_id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","sport":"football","model":"elo_monte_carlo","simulations":10000,"points_system":{"kind":"wdl","win":3,"draw":1,"loss":0},"home_advantage_elo":28.1,"draw_rate":0.221,"remaining_matches":216,"generated_at":"2026-11-25T06:01:46.402Z","teams":[{"team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","team":"FC Bayern München","current_rank":2,"current_points":22,"played":10,"remaining":24,"expected_points":69.2,"expected_rank":2.26,"p_first":0.384,"p_top3":0.824,"p_last":0,"p_bottom3":0,"rank_probabilities":[0.384,0.287,0.153,"… 15 more"]},{"team_id":"654ee075-50bf-4f78-9abd-8eaf510176d1","team":"Borussia Dortmund","current_rank":1,"current_points":24,"played":10,"remaining":24,"expected_points":69,"expected_rank":2.33,"p_first":0.381,"p_top3":0.803,"p_last":0,"p_bottom3":0,"rank_probabilities":[0.381,0.269,0.153,"… 15 more"]},{"team_id":"c9854744-4475-4271-8398-115376b72d24","team":"SC Freiburg","current_rank":3,"current_points":22,"played":10,"remaining":24,"expected_points":62.7,"expected_rank":3.97,"p_first":0.091,"p_top3":0.445,"p_last":0,"p_bottom3":0,"rank_probabilities":[0.091,0.149,0.206,"… 15 more"]},"… 15 more"]},"meta":{"note":"Starts from the official table and simulates every remaining match with calibrated Elo win probabilities. Official tie-breakers are not modelled: teams on equal points are ordered at random."}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"404":{"description":"Season not found or without standings"},"422":{"description":"Points system of the table could not be determined, the season is played in groups, or we hold only part of its schedule (the official table counts clearly more played matches than we hold, e.g. a source sending a window of days)"},"429":{"description":"Rate limit, or too many uncached projections (10 per key and 60 in total per minute; cached results are not limited)"}},"x-example-requests":[{"title":"Season projection: title and relegation chances (Monte Carlo, Elo)","url":"/v1/seasons/1add41dc-6835-4af1-8d9a-cdb254ec76b6/projection","keyless":true}]}},"/v1/teams":{"get":{"summary":"Search teams","parameters":[{"$ref":"#/components/parameters/sport"},{"name":"q","in":"query","description":"Name or alias contains","schema":{"type":"string"}},{"$ref":"#/components/parameters/country"},{"$ref":"#/components/parameters/gender"},{"$ref":"#/components/parameters/age_group"},{"name":"season","in":"query","description":"Teams with a match in this season","schema":{"type":"string","format":"uuid"}},{"name":"competition","in":"query","description":"Teams with a match in this competition (any season)","schema":{"type":"string","format":"uuid"}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Page of results. Follow meta.next until it is null.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"},"example":{"data":[{"id":"126b82a4-84be-4313-b5f0-608cb6c36957","canonical_name":"Bayern","short_name":"BBSV","sport":"softball","country":"de","gender":"f","age_group":"U16","wikidata_id":null},{"id":"2ada8f2d-f467-4b6a-8fd7-3a3f9a5d867f","canonical_name":"Bayern","short_name":null,"sport":"basketball","country":"de","gender":"m","age_group":"U15","wikidata_id":null},{"id":"2b7231bb-3d73-48fd-ba92-028d64593f46","canonical_name":"Bayern","short_name":"BBSV","sport":"baseball","country":"de","gender":"m","age_group":"U15","wikidata_id":null},"… 47 more"],"meta":{"limit":50,"next_cursor":"eyJzIjoidGVhbXMiLCJrIjpbIlRlYW0gTmllZGVyYmF5ZXJuIiwiZmE5YThlZDUtNWFlOC00MmJkLWI3MWQtY2VjMjg2OWVlZmI3Il19","next":"/v1/teams?q=bayern&cursor=eyJzIjoidGVhbXMiLCJrIjpbIlRlYW0gTmllZGVyYmF5ZXJuIiwiZmE5YThlZDUtNWFlOC00MmJkLWI3MWQtY2VjMjg2OWVlZmI3Il19"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}},"x-example-requests":[{"title":"Team search","url":"/v1/teams?q=bayern","keyless":true}]}},"/v1/teams/{id}":{"get":{"summary":"Team profile","description":"Aliases, home venue, founded, website (each only if a redistributable source attests it), seasons played, last 5 results with form string (oldest first, e.g. \"WLWWD\"), next 5 matches, current Elo rating, link to the calendar feed.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Object in \"data\"","content":{"application/json":{"example":{"data":{"id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","canonical_name":"FC Bayern München","short_name":"Bayern","sport":"football","country":"de","gender":"m","age_group":null,"wikidata_id":"Q15789","founded":1900,"website":"https://fcbayern.com","club":null,"home_venue":{"id":"c038555e-2363-4957-9bd7-db437ca3d163","name":"Allianz-Arena","city":null,"country":null,"lat":48.218775,"lon":11.624752777,"capacity":75024,"wikidata_id":null},"aliases":["Bayern"],"rating":{"elo":1742.7,"games":51,"last_match_at":"2026-11-20T19:30:00.000Z","sport_rank":1},"form":"WDWWD","seasons":[{"season_id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","season":"2026/27","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga","level":"national","matches":34,"last_match_at":"2027-05-22T13:30:00.000Z"},{"season_id":"237c880c-bb4d-4362-b678-3b03cee105b1","season":"2026/27","competition_id":"9472c049-ef84-42b1-ae44-56fd75eb015b","competition":"Champions League","level":"international","matches":8,"last_match_at":"2027-01-27T20:00:00.000Z"},{"season_id":"ae4e3843-4629-4e0f-b985-9e66e27fe85a","season":"2026/27","competition_id":"bc641e42-d85e-465b-a140-793e309f8160","competition":"DFB Pokal","level":"national","matches":3,"last_match_at":"2026-12-01T19:45:00.000Z"},"… 2 more"],"recent_matches":[{"id":"2ccc061b-1e8b-4982-bd00-215cf2678b92","scheduled_at":"2026-11-20T19:30:00.000Z","time_tbd":false,"status":"finished","matchday":10,"updated_at":"2026-11-24T11:59:21.829Z","carried_over_from":null,"home_score":1,"away_score":1,"home_team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","home_team":"FC Bayern München","away_team_id":"1c953873-80b3-481f-8179-35bb78a7ac65","away_team":"1. FC Köln","sport":"football","season_id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","season":"2026/27","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga"},{"id":"cdd200a0-a18e-4c09-bf28-95475ae2c7a9","scheduled_at":"2026-11-07T14:30:00.000Z","time_tbd":false,"status":"finished","matchday":9,"updated_at":"2026-11-24T11:59:21.829Z","carried_over_from":null,"home_score":1,"away_score":2,"home_team_id":"cb7d8a6d-8f66-4f20-9d56-665b77c63d85","home_team":"1. FSV Mainz 05","away_team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","away_team":"FC Bayern München","sport":"football","season_id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","season":"2026/27","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga"},{"id":"4e8721aa-0fec-4d00-978c-1277a3f36ebb","scheduled_at":"2026-11-03T20:00:00.000Z","time_tbd":false,"status":"finished","matchday":4,"updated_at":"2026-11-24T12:00:02.748Z","carried_over_from":null,"home_score":0,"away_score":2,"home_team_id":"7391d74d-a50b-471c-9727-fe472e4b5cd8","home_team":"Atletico Madrid","away_team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","away_team":"FC Bayern München","sport":"football","season_id":"237c880c-bb4d-4362-b678-3b03cee105b1","season":"2026/27","competition_id":"9472c049-ef84-42b1-ae44-56fd75eb015b","competition":"Champions League"},"… 2 more"],"upcoming_matches":[{"id":"85ecf381-f596-45b2-aee9-f7164113e457","scheduled_at":"2026-11-25T20:00:00.000Z","time_tbd":false,"status":"scheduled","matchday":5,"updated_at":"2026-11-24T12:00:02.748Z","carried_over_from":null,"home_score":null,"away_score":null,"home_team_id":"f0b203fc-38f9-4d5c-888e-de682d02948e","home_team":"Lille OSC","away_team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","away_team":"FC Bayern München","sport":"football","season_id":"237c880c-bb4d-4362-b678-3b03cee105b1","season":"2026/27","competition_id":"9472c049-ef84-42b1-ae44-56fd75eb015b","competition":"Champions League"},{"id":"72d2b0f5-016b-4c7c-8523-c0fbee2fb2bc","scheduled_at":"2026-11-28T14:30:00.000Z","time_tbd":false,"status":"scheduled","matchday":11,"updated_at":"2026-11-24T11:59:21.829Z","carried_over_from":null,"home_score":null,"away_score":null,"home_team_id":"46198a73-bd9e-4746-9d78-32340e605ee5","home_team":"Hamburger SV","away_team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","away_team":"FC Bayern München","sport":"football","season_id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","season":"2026/27","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga"},{"id":"7282f7ea-42c5-4eb6-b233-371f95306473","scheduled_at":"2026-12-01T19:45:00.000Z","time_tbd":false,"status":"scheduled","matchday":3,"updated_at":"2026-11-24T11:59:34.826Z","carried_over_from":null,"home_score":null,"away_score":null,"home_team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","home_team":"FC Bayern München","away_team_id":"60444d05-4e4d-41df-b3a1-f6fcef362443","away_team":"Hertha BSC","sport":"football","season_id":"ae4e3843-4629-4e0f-b985-9e66e27fe85a","season":"2026/27","competition_id":"bc641e42-d85e-465b-a140-793e309f8160","competition":"DFB Pokal"},"… 2 more"],"links":{"calendar":"/v1/teams/0ff3e989-c415-4fc4-beaa-79ffd93f78c4/calendar.ics","matches":"/v1/matches?team=0ff3e989-c415-4fc4-beaa-79ffd93f78c4"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"404":{"description":"Not found (or not redistributable)"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}},"x-example-requests":[{"title":"Team profile: venue, seasons, form, next matches, Elo","url":"/v1/teams/0ff3e989-c415-4fc4-beaa-79ffd93f78c4","keyless":true}]}},"/v1/clubs":{"get":{"summary":"Clubs (built from federation data: club ids or names)","parameters":[{"name":"q","in":"query","description":"Name contains","schema":{"type":"string"}},{"$ref":"#/components/parameters/sport"},{"name":"region","in":"query","description":"Federation (exact, case-insensitive); a multi-sport club matches any of its federations (regions)","schema":{"type":"string"}},{"$ref":"#/components/parameters/near"},{"$ref":"#/components/parameters/radius_km"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Page of results. Follow meta.next until it is null.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}},"description":"With near: clubs within radius_km, nearest first, each with distance_km and location_source: \"venue\", \"venue_plz\" or \"venue_city\" (the hall with more than half of its home match days, on at least three days, at the precision that hall has; served only while we may show that hall) or \"name\" (the municipality its name ends in, when that name is unique in the club's states; the municipality centre, a few km off in big cities, and about 3 % of the clubs checked against their halls lie more than 25 km off: a district with the name of a municipality elsewhere). Clubs we cannot place are left out."}},"/v1/clubs/{id}":{"get":{"summary":"Club with all its teams (men, women, youth) and their next/last 20 matches","description":"Clubs come from the federations: explicit club ids (DBB, click-TT), club names (SAMS, VBL) or the team name without its team number within one federation. A club is scoped to its federation/source.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Object in \"data\"","content":{"application/json":{"example":{"data":{"id":"77a91f67-cf23-49f8-bfb6-f8bca10c6b9b","name":"TC Südpark Bochum","country":"de","region":"Westfälischer Tennis-Verband","regions":["Westfälischer Tennis-Verband"],"wikidata_id":null,"website":null,"founded":null,"home_venue":null,"teams":[{"id":"458b04e9-baf2-4c9e-8570-d15933bb588d","canonical_name":"TC Südpark Bochum 1","sport":"tennis","gender":"m","age_group":"senior","current_competition":null},{"id":"c333b341-5a63-48ad-b3c5-c4d3d41c0d64","canonical_name":"TC Südpark Bochum 1","sport":"tennis","gender":"m","age_group":"senior","current_competition":null},{"id":"114cbdfb-fcd8-41ad-a1d3-44883330da16","canonical_name":"TC Südpark Bochum 1","sport":"tennis","gender":"m","age_group":"senior","current_competition":null},"… 88 more"],"upcoming_matches":[{"id":"1f9908a2-4e84-4027-b585-c668f67c5701","scheduled_at":"2026-11-27T23:00:00.000Z","time_tbd":true,"status":"scheduled","matchday":null,"updated_at":"2026-11-24T16:25:03.675Z","carried_over_from":null,"home_score":null,"away_score":null,"home_team_id":"d28f86bd-94e7-432a-a58b-22eee7a82ca5","home_team":"TV Espelkamp-Mittwald 1","away_team_id":"d8054292-6a35-478e-8bb2-c038f621d206","away_team":"TC Südpark Bochum 1","sport":"tennis","season_id":"a34f062e-f3ad-4108-84e1-687877a5ad8b","season":"WTV Winter 26/27","competition_id":"e465a3df-db0f-4f39-b5d9-bdb84e4290da","competition":"Junioren U18 Westfalenliga Gr. 043"},{"id":"5c51381a-f131-40db-af94-262f92bdc18d","scheduled_at":"2026-11-28T09:00:00.000Z","time_tbd":false,"status":"scheduled","matchday":null,"updated_at":"2026-11-24T16:37:13.778Z","carried_over_from":null,"home_score":null,"away_score":null,"home_team_id":"e75373a6-dc58-4328-90d6-73e0eb9d6d3c","home_team":"TC Südpark Bochum 2","away_team_id":"2046b38c-4a5b-4b09-96ad-e01ca8cbcd9c","away_team":"TC Rot-Weiß Stiepel 1","sport":"tennis","season_id":"1fbcd35f-d710-41c8-80af-53337561cc1b","season":"R-L Winter 26/27","competition_id":"9ecfd924-a71f-4b6c-8785-1fdeb068c94e","competition":"Ruhr-Lippe Winter 2026/27 Damen Bezirksklasse Gr. 005"},{"id":"62d78cdd-c9b3-464f-bb04-b77c333678d4","scheduled_at":"2026-11-28T09:00:00.000Z","time_tbd":false,"status":"scheduled","matchday":null,"updated_at":"2026-11-24T16:37:42.770Z","carried_over_from":null,"home_score":null,"away_score":null,"home_team_id":"c9bc82a0-6191-46f0-bb9c-4d2b38030ba8","home_team":"TC Südpark Bochum 2","away_team_id":"7c55d118-0c4f-4fad-bf02-220f660ccd45","away_team":"TC Grün-Weiß Herne 1","sport":"tennis","season_id":"2767d3fa-3ef4-4a09-8fbb-f5e8347dd777","season":"R-L Winter 26/27","competition_id":"06dba1ac-493e-4b0f-95b0-359c78ccf6b7","competition":"Ruhr-Lippe Winter 2026/27 Junioren U18 2er Ruhr-Lippe-Liga Gr. 095"},"… 17 more"],"recent_matches":[{"id":"0204a3c9-e39b-48bb-a95d-4e1ae2a31712","scheduled_at":"2026-11-22T15:00:00.000Z","time_tbd":false,"status":"finished","matchday":null,"updated_at":"2026-11-24T16:41:36.690Z","carried_over_from":null,"home_score":0,"away_score":6,"home_team_id":"6a21a0e3-8d25-4685-b1b1-cee7dc4b76c0","home_team":"TuS 09 Erkenschwick 3","away_team_id":"b59140c9-0d7f-465c-b6d2-4ba11b543ad0","away_team":"TC Südpark Bochum 1","sport":"tennis","season_id":"ff4666f0-d5f0-4a40-8a4b-de4a9c37e42d","season":"R-L Winter 26/27","competition_id":"388e5045-30ff-4c17-bf01-990ffe4dc91e","competition":"Ruhr-Lippe Winter 2026/27 Herren 50 Kreisklasse 1 Gr. 087 RU"},{"id":"70de8927-39c7-4dbe-8b15-f00736ef5abf","scheduled_at":"2026-11-22T13:00:00.000Z","time_tbd":false,"status":"finished","matchday":null,"updated_at":"2026-11-24T16:37:25.808Z","carried_over_from":null,"home_score":0,"away_score":6,"home_team_id":"14e5aa36-6e6a-4eb5-8813-ca12a7dbef23","home_team":"TuS Westfalia Hombruch 1","away_team_id":"c74c6cb7-ac8a-4307-860a-1854767af852","away_team":"TC Südpark Bochum 1","sport":"tennis","season_id":"2140aa2d-f03e-4aa2-ad91-557e92bad11c","season":"R-L Winter 26/27","competition_id":"d0068275-c3c1-4348-8638-c26d1de0c40e","competition":"Ruhr-Lippe Winter 2026/27 Herren Bezirksliga Gr. 017"},{"id":"392e98f2-3b88-46a3-909c-a1c0ce28051a","scheduled_at":"2026-11-22T09:00:00.000Z","time_tbd":false,"status":"finished","matchday":null,"updated_at":"2026-11-24T16:38:37.800Z","carried_over_from":null,"home_score":3,"away_score":3,"home_team_id":"02c2fcd7-b238-4e37-89a2-1f24c481bd64","home_team":"TC Südpark Bochum 1","away_team_id":"b957ecef-8d9e-4265-bcc5-7d6fa8178496","away_team":"TV Recklinghausen-Süd 1","sport":"tennis","season_id":"d89e8289-c3d3-4f2e-8293-f119880494a7","season":"R-L Winter 26/27","competition_id":"6887ad98-206b-45dc-a388-5a1f527f6b5d","competition":"Ruhr-Lippe Winter 2026/27 Damen 40 Kreisliga Gr. 046 RU"},"… 17 more"],"links":{"calendar":"/v1/clubs/77a91f67-cf23-49f8-bfb6-f8bca10c6b9b/calendar.ics","matches":"/v1/matches?club=77a91f67-cf23-49f8-bfb6-f8bca10c6b9b"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"404":{"description":"Not found (or not redistributable)"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}},"x-example-requests":[{"title":"Club with all its teams and their next matches","url":"/v1/clubs/77a91f67-cf23-49f8-bfb6-f8bca10c6b9b","keyless":true}]}},"/v1/clubs/{id}/calendar.ics":{"get":{"summary":"Club calendar (iCalendar): all teams of the club","description":"Like the team calendar, for every team of the club. Accepts the API key as ?key=.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"key","in":"query","description":"API key (alternative to the Authorization header, only for calendar feeds)","schema":{"type":"string"}}],"responses":{"200":{"description":"text/calendar"},"401":{"$ref":"#/components/responses/KeyRequired"},"404":{"description":"not found"}}}},"/v1/ticker/matches/{id}/events":{"post":{"summary":"Club ticker: report a live score (ticker keys of verified clubs only)","description":"Accepted for matches of the key's own club, from 3 h before to 12 h after kickoff (matches without fixed time: the whole local match day). Structured events only, no free text. \"id\" is chosen by the client and makes retries safe. Official results are never changed; the latest ticker state appears as \"live\" in the match detail and in the live stream.","security":[{"bearer":[]},{"apiKeyHeader":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$"},"type":{"type":"string","enum":["start","score","period_end","end"]},"home":{"type":"integer","minimum":0,"maximum":999,"description":"main score (goals, points, sets)"},"away":{"type":"integer","minimum":0,"maximum":999},"period":{"type":"integer","minimum":0,"maximum":999,"description":"current set/quarter/period"},"period_home":{"type":"integer","minimum":0,"maximum":999,"description":"score within the period, e.g. set points"},"period_away":{"type":"integer","minimum":0,"maximum":999}}},"example":{"id":"set2-21-18","type":"score","home":1,"away":0,"period":2,"period_home":21,"period_away":18}}}},"responses":{"201":{"description":"{ data: { event_id, live } }"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"403":{"description":"not a ticker key, or not a match of this club"},"404":{"description":"match not found"},"409":{"description":"outside the accepted time window"},"429":{"description":"rate limit, or more than 300 ticker events for this match and key"}}}},"/v1/deleted":{"get":{"summary":"Deleted public entities since a point in time (for incremental sync)","parameters":[{"name":"since","in":"query","required":true,"description":"ISO 8601","schema":{"type":"string","format":"date-time"}},{"name":"type","in":"query","description":"Entity type","schema":{"type":"string","enum":["match","team","club","competition","season"]}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Page of results. Follow meta.next until it is null.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}},"description":"Use together with /v1/matches?updated_since=: changed rows come from the list endpoints, removed or no longer published ones from here (a team withdrew, a meeting was removed by its federation, two records were merged, a source was withdrawn). meta.server_time is the watermark for the next call; overlap by a few minutes (since = server_time - 5 min), entries are idempotent."}},"/v1/search":{"get":{"summary":"Search teams (incl. aliases), competitions and clubs by name","parameters":[{"name":"q","in":"query","description":"At least 2 characters","schema":{"type":"string","minLength":2}},{"$ref":"#/components/parameters/sport"},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"{ data: { teams, competitions, clubs } }","content":{"application/json":{"example":{"data":{"teams":[{"id":"ade64a8f-0e45-4e95-865f-7be521e0c92b","canonical_name":"Volley YoungStars Friedrichshafen","sport":"volleyball","country":"de","gender":"m","age_group":"senior","matches":26},{"id":"62e4a07a-e5b7-4122-a4e5-4178e3107cd1","canonical_name":"Volleyball-Krähen-Berlin","sport":"volleyball","country":"de","gender":"m","age_group":"senior","matches":23},{"id":"235bad17-e526-4dc4-a929-fb5a59d20e97","canonical_name":"Volleyball Akademie Stuttgart 1","sport":"volleyball","country":"de","gender":null,"age_group":"U12","matches":22},"… 7 more"],"competitions":[{"id":"9135539e-c1e4-4382-8e38-36260a505ca4","name":"DEKRA 1. Volleyball Bundesliga Frauen","sport":"volleyball","country":"de","level":"national","age_group":"senior","region":null}],"clubs":[{"id":"78ac610e-7f29-440f-a1cd-9aefca6d2177","name":"Volleyballclub Osnabrück e.V.","region":"Nordwestdeutscher Volleyball-Verband","teams":36},{"id":"f0780213-8619-49f4-ad6a-b550b3a56d3e","name":"Volleyball Regionalkader Paderborn e.V.","region":"Westdeutscher Volleyball-Verband (NRW)","teams":23},{"id":"f676c37e-394b-4cd1-b606-7cb17736f745","name":"Volleyball Akademie Stuttgart","region":"Volleyball-Landesverband Württemberg","teams":13},"… 7 more"]}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"429":{"$ref":"#/components/responses/RateLimited"}},"x-example-requests":[{"title":"Search teams, competitions and clubs","url":"/v1/search?q=volley","keyless":true}]}},"/v1/teams/{id}/calendar.ics":{"get":{"summary":"Team calendar (iCalendar, subscribable)","description":"All matches of the team from 180 days ago on, with score and venue when known. Calendar apps cannot send headers, so this feed also accepts the API key as ?key= (use a separate key for it).","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"key","in":"query","description":"API key (alternative to the Authorization header, only for calendar feeds)","schema":{"type":"string"}}],"responses":{"200":{"description":"text/calendar"},"401":{"$ref":"#/components/responses/KeyRequired"},"404":{"description":"not found"}}}},"/v1/matches":{"get":{"summary":"List matches","parameters":[{"name":"season","in":"query","description":"Season id","schema":{"type":"string","format":"uuid"}},{"name":"competition","in":"query","description":"Competition id","schema":{"type":"string","format":"uuid"}},{"name":"team","in":"query","description":"Team id (home or away)","schema":{"type":"string","format":"uuid"}},{"name":"club","in":"query","description":"Club id: matches of all its teams","schema":{"type":"string","format":"uuid"}},{"$ref":"#/components/parameters/sport"},{"name":"status","in":"query","description":"Match status (annulled = played, but struck from the table)","schema":{"type":"string","enum":["scheduled","live","finished","postponed","cancelled","awarded","annulled","unknown"]}},{"name":"from","in":"query","description":"Kickoff at or after (ISO 8601)","schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","description":"Kickoff at or before (ISO 8601)","schema":{"type":"string","format":"date-time"}},{"name":"updated_since","in":"query","description":"Only matches whose data changed since (ISO 8601) - for incremental sync; use the previous meta.server_time minus 5 minutes","schema":{"type":"string","format":"date-time"}},{"$ref":"#/components/parameters/country"},{"$ref":"#/components/parameters/gender"},{"$ref":"#/components/parameters/level"},{"$ref":"#/components/parameters/age_group"},{"name":"order","in":"query","description":"Kickoff order (default asc)","schema":{"type":"string","enum":["asc","desc"]}},{"$ref":"#/components/parameters/near"},{"$ref":"#/components/parameters/radius_km"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Page of results. Follow meta.next until it is null.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"},"example":{"data":[{"id":"8b2fce75-8329-4b79-a3a5-751ff857b859","scheduled_at":"2026-08-28T18:30:00.000Z","time_tbd":false,"status":"finished","matchday":1,"updated_at":"2026-11-24T11:59:21.829Z","carried_over_from":null,"home_score":5,"away_score":1,"home_team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","home_team":"FC Bayern München","away_team_id":"14687a13-f2e6-4a54-8f1e-dfb5cca0bc08","away_team":"VfB Stuttgart","sport":"football","season_id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","season":"2026/27","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga"},{"id":"78f1dfc3-3318-4dd4-9c6d-e545977cb785","scheduled_at":"2026-08-29T13:30:00.000Z","time_tbd":false,"status":"finished","matchday":1,"updated_at":"2026-11-24T11:59:21.829Z","carried_over_from":null,"home_score":3,"away_score":2,"home_team_id":"310425b4-8e86-44ef-a358-1de7412852bd","home_team":"SV 07 Elversberg","away_team_id":"ed3a9d55-c7b6-439b-8e14-fc7fed19afef","away_team":"Bayer 04 Leverkusen","sport":"football","season_id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","season":"2026/27","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga"},{"id":"83cd1377-4168-442b-8946-847e022da269","scheduled_at":"2026-08-29T13:30:00.000Z","time_tbd":false,"status":"finished","matchday":1,"updated_at":"2026-11-24T11:59:21.829Z","carried_over_from":null,"home_score":3,"away_score":2,"home_team_id":"1c953873-80b3-481f-8179-35bb78a7ac65","home_team":"1. FC Köln","away_team_id":"20632c61-0c77-4b40-b031-4f5f5d029eb7","away_team":"TSG Hoffenheim","sport":"football","season_id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","season":"2026/27","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga"},"… 7 more"],"meta":{"limit":10,"next_cursor":"eyJzIjoibWF0Y2hlczphc2MiLCJrIjpbIjIwMjYtMDktMDQgMTg6MzA6MDArMDAiLCI4Y2I1OGE0NC0wNTVmLTQ5ODItOWFmYi0xODMyM2IzYTRiMjkiXX0","next":"/v1/matches?limit=10&season=1add41dc-6835-4af1-8d9a-cdb254ec76b6&cursor=eyJzIjoibWF0Y2hlczphc2MiLCJrIjpbIjIwMjYtMDktMDQgMTg6MzA6MDArMDAiLCI4Y2I1OGE0NC0wNTVmLTQ5ODItOWFmYi0xODMyM2IzYTRiMjkiXX0","server_time":"2026-11-25T06:11:47.180Z"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}},"description":"Matches near me: near=<lat>,<lon> (and radius_km, default 25) returns the matches within the circle across all sports and levels, still in kickoff order and combinable with every other filter (e.g. from/to for a weekend). Without from and to, from defaults to 4 hours ago (matches under way and ahead; the next link keeps that start); pass from for earlier matches. A match is located at its venue when we may show the venue and it has a position: its coordinates from the source, else the centre of the postal code in its address, else (no postal code) its municipality when that name is unique in the states of its competitions and home clubs. At the home team's club (see /v1/clubs?near=) only when the match names no venue, or a venue without a position in the club's own town. A venue we may not show, or one elsewhere without a position, leaves the match out: no guess. Each row carries distance_km, distance_basis (\"venue\", \"venue_plz\", \"venue_city\" or \"home_club\") and location_source (the precision of the point, as for clubs). Detail endpoints serve only the venue coordinates from the source.","x-example-requests":[{"title":"Matches of a season","url":"/v1/matches?limit=10&season=1add41dc-6835-4af1-8d9a-cdb254ec76b6","keyless":true}]}},"/v1/matches/{id}":{"get":{"summary":"Match detail","description":"Periods, events, venue, \"live\" (latest club-ticker state, if any), pre/post-match Elo prediction, head-to-head and per-field provenance.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Object in \"data\"","content":{"application/json":{"example":{"data":{"id":"8b2fce75-8329-4b79-a3a5-751ff857b859","scheduled_at":"2026-08-28T18:30:00.000Z","time_tbd":false,"status":"finished","matchday":1,"updated_at":"2026-11-24T11:59:21.829Z","carried_over_from":null,"home_score":5,"away_score":1,"home_team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","home_team":"FC Bayern München","away_team_id":"14687a13-f2e6-4a54-8f1e-dfb5cca0bc08","away_team":"VfB Stuttgart","sport":"football","season_id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","season":"2026/27","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga","venue":null,"live":null,"periods":[{"ordinal":1,"kind":"half","home_points":1,"away_points":0},{"ordinal":2,"kind":"half","home_points":4,"away_points":1}],"events":[{"id":1,"type":"goal","ts":null,"period_ordinal":null,"team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","payload":{"score":"1:0","minute":21,"scorer":"D. Upamecano","penalty":false,"overtime":false,"own_goal":false}},{"id":2,"type":"goal","ts":null,"period_ordinal":null,"team_id":"14687a13-f2e6-4a54-8f1e-dfb5cca0bc08","payload":{"score":"1:1","minute":52,"scorer":"J. Vagnoman","penalty":false,"overtime":false,"own_goal":false}},{"id":3,"type":"goal","ts":null,"period_ordinal":null,"team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","payload":{"score":"2:1","minute":55,"scorer":"M. Olise","penalty":false,"overtime":false,"own_goal":false}},"… 3 more"],"prediction":{"kind":"post_match","home":0.616,"draw":0.215,"away":0.169,"expected_score":0.723,"elo":{"home":1700.6,"away":1542.8,"home_advantage":28.1},"elo_change":{"home":8.8,"away":-8.8},"outcome":"home","model":{"name":"elo-calibrated","fitted_at":"2026-11-25T06:11:13.403Z","draw_factor":1}},"head_to_head":{"summary":{"played":2,"home_team_wins":2,"away_team_wins":0,"draws":0},"matches":[{"id":"d5abba62-d196-49c5-b1e5-c78083d56997","scheduled_at":"2025-02-28T19:30:00.000Z","home_team_id":"14687a13-f2e6-4a54-8f1e-dfb5cca0bc08","away_team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","home_score":1,"away_score":3,"season":"2024/25","competition":"1. Fußball-Bundesliga"},{"id":"1690ccc7-cce6-41b4-a28e-e919f1a72ff3","scheduled_at":"2024-10-19T16:30:00.000Z","home_team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","away_team_id":"14687a13-f2e6-4a54-8f1e-dfb5cca0bc08","home_score":4,"away_score":0,"season":"2024/25","competition":"1. Fußball-Bundesliga"}]},"provenance":[{"field":"away_score","source":"openligadb","license":"odbl","attribution_required":true,"confidence":1,"observed_at":"2026-11-25T02:50:48.621Z"},{"field":"home_score","source":"openligadb","license":"odbl","attribution_required":true,"confidence":1,"observed_at":"2026-11-25T02:50:48.621Z"},{"field":"periods","source":"openligadb","license":"odbl","attribution_required":true,"confidence":1,"observed_at":"2026-11-25T02:50:48.621Z"},"… 1 more"]}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"404":{"description":"Not found (or not redistributable)"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}},"x-example-requests":[{"title":"Finished match: periods, goals, Elo change, provenance","url":"/v1/matches/8b2fce75-8329-4b79-a3a5-751ff857b859","keyless":true},{"title":"Upcoming match with win probability","url":"/v1/matches/391e8595-b680-4042-9d75-6726a5f5de9d","keyless":true}]}},"/v1/standings":{"get":{"summary":"Standings for a season","description":"The official table. Seasons played in groups return one table per group: each row then names its \"group\" (e.g. \"Vorrunde - Gruppe A\") and rank counts within that group; rows are ordered by group, then rank. \"group\" is null for an ordinary season table.","parameters":[{"name":"season","in":"query","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"table","content":{"application/json":{"example":{"data":[{"group":null,"rank":1,"team_id":"654ee075-50bf-4f78-9abd-8eaf510176d1","team":"Borussia Dortmund","played":10,"won":7,"lost":0,"points":24,"score_for":17,"score_against":7,"payload":{"draw":3}},{"group":null,"rank":2,"team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","team":"FC Bayern München","played":10,"won":6,"lost":0,"points":22,"score_for":30,"score_against":10,"payload":{"draw":4}},{"group":null,"rank":3,"team_id":"c9854744-4475-4271-8398-115376b72d24","team":"SC Freiburg","played":10,"won":7,"lost":2,"points":22,"score_for":21,"score_against":10,"payload":{"draw":1}},"… 15 more"]}}}},"400":{"$ref":"#/components/responses/BadRequest"}},"x-example-requests":[{"title":"League table","url":"/v1/standings?season=1add41dc-6835-4af1-8d9a-cdb254ec76b6","keyless":true},{"title":"Youth league table (basketball, U16)","url":"/v1/standings?season=1c30bb1e-7448-4080-b33f-0e8c77eea73a","keyless":true}]}},"/v1/matches/{id}/preview":{"get":{"summary":"Match preview: probabilities, fair odds, likely results, form, table, head-to-head (own derived data)","description":"Probabilities of home win, draw and away win from Elo ratings with a fitted home advantage, calibrated per sport on all past results (logistic calibration, a draw curve, and a per-season draw factor for formats without draws). Before the match: current ratings (kind pre_match); after it: what the model said beforehand (kind post_match). odds are fair decimal odds (1/probability, no margin), information only and not a betting offer; they are given only before the match (strictly before kick-off, and not once a live event, a club ticker report or an official one, exists for it), never for youth teams or competitions and never for individual athletes (sports played by persons, such as darts); odds_unavailable_reason says why: youth, individual_sport, not_pre_match or no_rating. results: set results for volleyball (3:0 ... 0:3), expected goals and the likeliest scores for goal sports. teams: Elo, table row, form (last 5, oldest first), home/away form, streak, rest days, season averages. head_to_head: summary and last meetings. The model quality per sport is published at /v1/model.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Object in \"data\""},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"404":{"description":"Not found (or not redistributable)"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}}}},"/v1/teams/{id}/stats":{"get":{"summary":"Team statistics (all seasons or one season)","description":"Record (overall, home, away), scoring with its unit (goals, points, sets, games, matches, runs, legs), streaks (current, longest win, unbeaten, loss), biggest win and loss, close games (decided by at most one unit of the sport), clean sheets (goal sports), volleyball sets by result and deciding sets, record against stronger and weaker opponents by pre-match Elo, Elo history (last 50 rated matches), and per season records with table rank and results_missing (matches the official table counts that we hold no result for, e.g. where a source sends only a window of days). Only matches whose result we may publish count.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"season","in":"query","description":"Season id: statistics of this season only","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Statistics in \"data\"","content":{"application/json":{"example":{"data":{"team":{"id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","name":"FC Bayern München","sport":"football","gender":"m","age_group":null},"scope":{"season_id":null,"matches":51,"truncated":false,"first_match_at":"2024-08-25T13:30:00.000Z","last_match_at":"2026-11-20T19:30:00.000Z"},"record":{"played":51,"won":36,"drawn":13,"lost":2,"win_pct":0.706,"home":{"played":25,"won":19,"drawn":5,"lost":1,"win_pct":0.76},"away":{"played":26,"won":17,"drawn":8,"lost":1,"win_pct":0.654}},"scoring":{"for":153,"against":50,"diff":103,"avg_for":3,"avg_against":0.98,"unit":"goals"},"streaks":{"current":{"type":"D","length":1},"longest_win":7,"longest_unbeaten":26,"longest_loss":1},"extremes":{"biggest_win":{"match_id":"09ceec06-9359-4d59-bc5b-a849e21d9465","date":"2026-09-18T18:30:00.000Z","home":true,"score":"7:0","margin":7,"opponent":{"id":"b40848f9-ed3e-40f4-bc18-fbf3332737a3","name":"1. FC Union Berlin"}},"biggest_loss":{"match_id":"44f4eceb-41db-4f94-835d-248a108bb60c","date":"2025-03-08T14:30:00.000Z","home":true,"score":"2:3","margin":1,"opponent":{"id":"109bc382-e283-4353-a466-1c2dede3831a","name":"VfL Bochum"}}},"close_games":{"max_margin":1,"played":25,"won":10,"drawn":13,"lost":2,"win_pct":0.4},"clean_sheets":20,"sets":null,"by_result":null,"deciding_sets":null,"opponents":{"vs_stronger":{"played":1,"won":1,"drawn":0,"lost":0,"win_pct":1},"vs_weaker":{"played":49,"won":34,"drawn":13,"lost":2,"win_pct":0.694}},"elo":{"current":1742.7,"games":51},"elo_history":[{"match_id":"ea42c1db-ebce-4aae-9eab-ad933c77ded3","date":"2024-09-01T15:30:00.000Z","elo":1524.7},{"match_id":"73ced414-e733-478f-a5f7-0fac327b1643","date":"2024-09-14T16:30:00.000Z","elo":1543.2},{"match_id":"dae5bed9-4e29-404f-bccc-a4413a1a0252","date":"2024-09-21T13:30:00.000Z","elo":1563},"… 47 more"],"seasons":[{"season_id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","season":"2026/27","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga","record":{"played":10,"won":6,"drawn":4,"lost":0,"win_pct":0.6},"scoring":{"for":30,"against":10,"diff":20},"table":{"rank":2,"points":22,"played":10,"group":null},"results_missing":0},{"season_id":"237c880c-bb4d-4362-b678-3b03cee105b1","season":"2026/27","competition_id":"9472c049-ef84-42b1-ae44-56fd75eb015b","competition":"Champions League","record":{"played":4,"won":2,"drawn":2,"lost":0,"win_pct":0.5},"scoring":{"for":12,"against":5,"diff":7},"table":null,"results_missing":null},{"season_id":"ae4e3843-4629-4e0f-b985-9e66e27fe85a","season":"2026/27","competition_id":"bc641e42-d85e-465b-a140-793e309f8160","competition":"DFB Pokal","record":{"played":2,"won":2,"drawn":0,"lost":0,"win_pct":1},"scoring":{"for":10,"against":2,"diff":8},"table":null,"results_missing":null},"… 2 more"]}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"404":{"description":"Team not found"}},"x-example-requests":[{"title":"Team statistics: record, streaks, home/away, Elo history","url":"/v1/teams/0ff3e989-c415-4fc4-beaa-79ffd93f78c4/stats","keyless":true}]}},"/v1/h2h":{"get":{"summary":"Head-to-head of two teams","description":"All finished meetings from the first team's view: won/drawn/lost, scored/conceded, home and away split, biggest win and loss, the last meetings (limit, default 10, max 50) and the next scheduled meeting.","parameters":[{"name":"team","in":"query","description":"Team id","schema":{"type":"string","format":"uuid"}},{"name":"opponent","in":"query","description":"Opponent team id (same sport)","schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","description":"Meetings to list (1-50, default 10)","schema":{"type":"integer","minimum":1,"maximum":50}}],"responses":{"200":{"description":"Head-to-head in \"data\"","content":{"application/json":{"example":{"data":{"team":{"id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","name":"FC Bayern München"},"opponent":{"id":"654ee075-50bf-4f78-9abd-8eaf510176d1","name":"Borussia Dortmund"},"sport":"football","unit":"goals","summary":{"played":4,"won":1,"drawn":3,"lost":0,"win_pct":0.25,"for":7,"against":6,"home":{"played":2,"won":0,"drawn":2,"lost":0,"win_pct":0,"for":4,"against":4},"away":{"played":2,"won":1,"drawn":1,"lost":0,"win_pct":0.5,"for":3,"against":2}},"biggest_win":{"match_id":"e5071fb8-b76b-4bf5-9356-b6c02f029611","date":"2026-08-22T18:30:00.000Z","home":false,"score":"2:1","margin":1},"biggest_loss":null,"meetings":[{"id":"db4bfa99-eebb-4d9f-8530-420f647bc628","scheduled_at":"2026-10-31T17:30:00.000Z","status":"finished","home_team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","away_team_id":"654ee075-50bf-4f78-9abd-8eaf510176d1","home_score":2,"away_score":2,"season_id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","season":"2026/27","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga","result":"D"},{"id":"e5071fb8-b76b-4bf5-9356-b6c02f029611","scheduled_at":"2026-08-22T18:30:00.000Z","status":"finished","home_team_id":"654ee075-50bf-4f78-9abd-8eaf510176d1","away_team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","home_score":1,"away_score":2,"season_id":"08fb0006-befd-49d5-9c60-d62125abd181","season":"2026/27","competition_id":"12c21f35-0531-4c52-ab7b-6d11b5bf5279","competition":"Franz-Beckenbauer-Supercup","result":"W"},{"id":"2214585d-c63c-4a5c-a298-1f84fab3c0db","scheduled_at":"2025-04-12T16:30:00.000Z","status":"finished","home_team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","away_team_id":"654ee075-50bf-4f78-9abd-8eaf510176d1","home_score":2,"away_score":2,"season_id":"fdf886e6-6af4-4eee-8b2a-13ae6629a8d0","season":"2024/25","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga","result":"D"},"… 1 more"],"next_meeting":{"id":"58a75449-8cc7-4e5b-88ce-97502d70ee0c","scheduled_at":"2027-03-06T14:30:00.000Z","time_tbd":false,"status":"scheduled","home_team_id":"654ee075-50bf-4f78-9abd-8eaf510176d1"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"404":{"description":"A team was not found, or the teams play different sports"}},"x-example-requests":[{"title":"Head-to-head of two teams","url":"/v1/h2h?team=0ff3e989-c415-4fc4-beaa-79ffd93f78c4&opponent=654ee075-50bf-4f78-9abd-8eaf510176d1","keyless":true}]}},"/v1/insights/upsets":{"get":{"summary":"Upsets: wins the model gave the lowest chance (own derived data)","description":"meta.days and meta.limit report the window and the number of rows served. Results are cached for 5 minutes; computations that are not cached are limited per key (10 per minute, 429 with Retry-After).","parameters":[{"name":"sport","in":"query","description":"Sport key (required)","schema":{"type":"string"}},{"name":"days","in":"query","description":"Window in days (1-60, default 7), rounded up to 1, 3, 7, 14, 30 or 60","schema":{"type":"integer"}},{"name":"limit","in":"query","description":"Rows (1-100, default 20)","schema":{"type":"integer"}},{"name":"age_group","in":"query","description":"Only this age group, e.g. senior or U18 (case-insensitive; one no competition has gives an empty list)","schema":{"type":"string"}}],"responses":{"200":{"description":"List in \"data\", lowest pre-match winning probability first","content":{"application/json":{"example":{"data":[{"match_id":"08be12f2-feae-4b4e-b660-6a4c08b0e561","scheduled_at":"2026-11-22T14:30:00.000Z","sport":"basketball","season_id":"1872ca9c-8be4-417c-88b8-7e1f97e7b63a","season":"2026/27","competition_id":"a3d28e2c-3cba-46be-b310-2169d72a6c80","competition":"Bezirk Ost MU14","home_team_id":"5af6eb34-1fc1-47cb-bd10-cc448a91754e","home_team":"EOSC Offenbach 1","away_team_id":"67ab9ebc-f7ae-4308-adb5-109807457d03","away_team":"TG Friedberg","home_score":59,"away_score":64,"winner":"away","p_winner":0.029,"probabilities":{"home":0.971,"draw":0,"away":0.029},"home_elo_before":1543.1,"away_elo_before":1381.5,"winner_elo_change":16.3},{"match_id":"60d1ed46-8f8e-4ee6-bdb6-89ea94bb7c3e","scheduled_at":"2026-11-21T11:30:00.000Z","sport":"basketball","season_id":"06f6d35c-ac90-4ff5-8c69-63feacd99d92","season":"2026/27","competition_id":"d414df55-d47a-4942-9262-36542d07619d","competition":"Bezirksklasse U12m Nord (MI-BK12M-N) 2026/27","home_team_id":"0f69360c-2bda-4deb-a0bc-ce7cae8b4b24","home_team":"TG Landshut","away_team_id":"53228e07-e122-4303-8b77-f7194873d3af","away_team":"AK Tigers München 2","home_score":0,"away_score":20,"winner":"away","p_winner":0.029,"probabilities":{"home":0.971,"draw":0,"away":0.029},"home_elo_before":1576.8,"away_elo_before":1440.1,"winner_elo_change":26.2},{"match_id":"4a30a2d1-8574-4205-badf-92da0ea8d8a4","scheduled_at":"2026-11-18T19:15:00.000Z","sport":"basketball","season_id":"e7f6fc6e-6339-4e9d-ac92-e6738934a359","season":"2026/27","competition_id":"9d0c8469-5b47-409e-b292-9c376e31b6a8","competition":"Landesliga 05 Herren (LL05H)","home_team_id":"cd5d7886-d24b-434d-aaa2-71f8b15e2158","home_team":"FC Schalke 2","away_team_id":"8a0522ca-8f93-41e5-9775-65a0e4e15e79","away_team":"BC Langendreer 2","home_score":83,"away_score":84,"winner":"away","p_winner":0.029,"probabilities":{"home":0.971,"draw":0,"away":0.029},"home_elo_before":1563.1,"away_elo_before":1424.5,"winner_elo_change":15.6},"… 7 more"],"meta":{"days":7,"limit":10}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"429":{"$ref":"#/components/responses/RateLimited"}},"x-example-requests":[{"title":"Upsets of the week (basketball)","url":"/v1/insights/upsets?sport=basketball&limit=10","keyless":true}]}},"/v1/insights/movers":{"get":{"summary":"Biggest Elo gains and losses in a window","description":"meta.days and meta.limit report the window and the number of rows served. Results are cached for 5 minutes; computations that are not cached are limited per key (10 per minute, 429 with Retry-After).","parameters":[{"name":"sport","in":"query","description":"Sport key (required)","schema":{"type":"string"}},{"name":"days","in":"query","description":"Window in days (1-60, default 7), rounded up to 1, 3, 7, 14, 30 or 60","schema":{"type":"integer"}},{"name":"limit","in":"query","description":"Rows per list (1-50, default 10)","schema":{"type":"integer"}}],"responses":{"200":{"description":"{gainers, losers} in \"data\"","content":{"application/json":{"example":{"data":{"gainers":[{"team_id":"3475dd0f-48f1-41eb-965f-81cb7479cbf7","team":"USC Braunschweig","elo_change":86.8,"matches":8,"elo":1586.8},{"team_id":"49f4b961-8838-4b36-a426-2ebd11024d06","team":"VC Dresden I","elo_change":84,"matches":7,"elo":1584},{"team_id":"fafdfab0-abc7-4223-9e00-261334f64658","team":"VfB 91 Suhl e.V. U16w I","elo_change":74.6,"matches":4,"elo":1574.6},"… 7 more"],"losers":[{"team_id":"4c5915f2-2d8c-4fa5-838f-839549b8496e","team":"Dresdner SSV e.V.","elo_change":-104.2,"matches":8,"elo":1395.8},{"team_id":"5dd2a3c5-51b7-4360-b58d-6b201154ff48","team":"VC Dresden II","elo_change":-95.5,"matches":6,"elo":1404.5},{"team_id":"015c6294-d1d9-4ad1-a3b5-d1247d0ec5ca","team":"ASV Dachau II","elo_change":-77,"matches":4,"elo":1457.2},"… 7 more"]},"meta":{"days":7,"limit":10}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"429":{"$ref":"#/components/responses/RateLimited"}},"x-example-requests":[{"title":"Biggest Elo movers of the week (volleyball)","url":"/v1/insights/movers?sport=volleyball","keyless":true}]}},"/v1/insights/top-matches":{"get":{"summary":"Top upcoming matches: strong and evenly matched","description":"score = sqrt(strength x closeness): strength from the mean Elo of both teams relative to the sport, closeness = 1 - |P(home win) - P(away win)|. Fair odds only strictly before kick-off and while no live event (club ticker or official) exists for the match. meta.days and meta.limit report the window and the number of rows served. Results are cached for 5 minutes; computations that are not cached are limited per key (10 per minute, 429 with Retry-After).","parameters":[{"name":"sport","in":"query","description":"Sport key (required)","schema":{"type":"string"}},{"name":"days","in":"query","description":"Look ahead in days (1-30, default 7), rounded up to 1, 3, 7, 14 or 30","schema":{"type":"integer"}},{"name":"limit","in":"query","description":"Rows (1-50, default 10)","schema":{"type":"integer"}}],"responses":{"200":{"description":"List in \"data\", best first","content":{"application/json":{"example":{"data":[{"match_id":"cd24c190-7ab0-4a34-80a3-bd01ec666aef","scheduled_at":"2026-11-29T14:30:00.000Z","time_tbd":false,"sport":"football","season_id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","season":"2026/27","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga","home_team_id":"c9854744-4475-4271-8398-115376b72d24","home_team":"SC Freiburg","home_elo":1594.8,"away_team_id":"7c2933e2-c9b2-45d1-8de0-1b5c96cac62a","away_team":"RB Leipzig","away_elo":1594.5,"probabilities":{"home":0.425,"draw":0.215,"away":0.36},"fair_odds":{"home":2.35,"draw":4.66,"away":2.78},"odds_unavailable_reason":null,"odds_note":"Fair odds (1/probability, no margin) from our model. Information only, not a betting offer.","strength":0.968,"closeness":0.934,"score":0.951},{"match_id":"ae47c8c8-cddf-4610-85b5-44240d22885b","scheduled_at":"2026-11-28T17:30:00.000Z","time_tbd":false,"sport":"football","season_id":"1add41dc-6835-4af1-8d9a-cdb254ec76b6","season":"2026/27","competition_id":"bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4","competition":"1. Fußball-Bundesliga","home_team_id":"14687a13-f2e6-4a54-8f1e-dfb5cca0bc08","home_team":"VfB Stuttgart","home_elo":1561.5,"away_team_id":"20e516be-132f-43aa-956d-d2c1e67736bc","away_team":"Eintracht Frankfurt","away_elo":1587.1,"probabilities":{"home":0.343,"draw":0.214,"away":0.443},"fair_odds":{"home":2.92,"draw":4.67,"away":2.26},"odds_unavailable_reason":null,"odds_note":"Fair odds (1/probability, no margin) from our model. Information only, not a betting offer.","strength":0.935,"closeness":0.899,"score":0.917},{"match_id":"a3e121a6-a8df-4454-a9a9-daa2f9383834","scheduled_at":"2026-11-28T12:00:00.000Z","time_tbd":false,"sport":"football","season_id":"3e5435c4-5733-48f3-9e32-cc5ebb72dcd5","season":"2026/27","competition_id":"68cd5c1c-6e2c-4981-bf96-4eaaa50e3906","competition":"NOFV Regionalliga NordOst","home_team_id":"b42fc950-ba6c-4b30-abd4-1b8bf1f1a210","home_team":"BFC Dynamo","home_elo":1563,"away_team_id":"e4d9318e-3957-45fc-a033-7ecf48affe13","away_team":"Rot-Weiß Erfurt","away_elo":1606,"probabilities":{"home":0.293,"draw":0.257,"away":0.45},"fair_odds":{"home":3.41,"draw":3.88,"away":2.22},"odds_unavailable_reason":null,"odds_note":"Fair odds (1/probability, no margin) from our model. Information only, not a betting offer.","strength":0.954,"closeness":0.843,"score":0.897},"… 7 more"],"meta":{"days":7,"limit":10}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"429":{"$ref":"#/components/responses/RateLimited"}},"x-example-requests":[{"title":"Top matches of the coming days (football)","url":"/v1/insights/top-matches?sport=football","keyless":true}]}},"/v1/model":{"get":{"summary":"How the probabilities are made, and how good they are","description":"Per sport: matches, calibration, draw model, goal model, and the measured quality on the later 70 % of the history (Brier score, log loss, accuracy, calibration table: predicted against observed home-win rate), next to the uncalibrated Elo and a baseline that always predicts the average rates.","responses":{"200":{"description":"Report in \"data\"","content":{"application/json":{"example":{"data":{"model":"elo_calibrated","explanation":"Every public, licensable result feeds an Elo rating per team, in chronological order, with a home advantage fitted per sport and a margin-of-victory factor. The raw Elo expected score of the home side is then calibrated per sport against actual outcomes with a monotone map (isotonic regression over bins, never extrapolated beyond the outermost bin), but only where that predicts better than raw Elo. A draw curve, fitted on how often evenly and unevenly matched teams drew, splits it into home win, draw and away win; per season, formats that cannot end level (first to three sets, first to nine games, a fixed odd number of matches) get no draw at all. Goal sports also get Poisson goal rates for exact scores. Quality is measured out of sample on the later 70 % of each sport's history (two folds, each scored by a model fitted on the other): Brier score (0 is perfect; compare it with baseline_brier, which always predicts the average home/draw/away rates), log loss, accuracy, calibration buckets (predicted vs observed home-win rate) and outsiders (how often the side the model gave little chance actually won). raw_quality shows the uncalibrated Elo, measured the same way. Probabilities are model estimates for information, not betting advice.","sports":[{"sport":"volleyball","matches":34553,"fitted_at":"2026-11-25T06:11:13.403Z","home_advantage_elo":22.8,"calibration":[[-0.6643,0.0455],[-0.4342,0.1041],[-0.3394,0.1661],"… 26 more"],"draw":{"a":-4.1308,"b":-2.653},"goals_model":false,"brier_skill":0.214,"quality":{"brier":0.3984,"matches":24188,"accuracy":0.694,"log_loss":0.6151,"outsiders":[{"bucket":"2-5%","matches":318,"observed":0.0409,"predicted":0.0499},{"bucket":"5-10%","matches":1535,"observed":0.0645,"predicted":0.0764},{"bucket":"10-20%","matches":3914,"observed":0.1505,"predicted":0.1468},"… 1 more"],"calibration":[{"bucket":"0-10%","matches":718,"observed":0.0515,"predicted":0.0723},{"bucket":"10-20%","matches":1560,"observed":0.1564,"predicted":0.1478},{"bucket":"20-30%","matches":2479,"observed":0.2517,"predicted":0.2508},"… 7 more"],"baseline_brier":0.5068},"raw_quality":{"brier":0.4495,"matches":24188,"accuracy":0.6798,"log_loss":0.6774,"outsiders":[{"bucket":"10-20%","matches":8,"observed":0,"predicted":0.1896},{"bucket":"20-35%","matches":1950,"observed":0.0697,"predicted":0.3144}],"calibration":[{"bucket":"10-20%","matches":1,"observed":0,"predicted":0.1754},{"bucket":"20-30%","matches":78,"observed":0.0513,"predicted":0.2753},{"bucket":"30-40%","matches":1077,"observed":0.0715,"predicted":0.3688},"… 5 more"],"baseline_brier":0.5068},"summary":"Brier 0.3984 vs 0.5068 for the baseline (21 % better), likeliest outcome right in 69.4 % of 24188 matches."},{"sport":"basketball","matches":27636,"fitted_at":"2026-11-25T06:11:13.403Z","home_advantage_elo":25.6,"calibration":[[-0.6277,0.0435],[-0.4112,0.0868],[-0.3179,0.1418],"… 32 more"],"draw":null,"goals_model":false,"brier_skill":0.241,"quality":{"brier":0.3786,"matches":19346,"accuracy":0.7065,"log_loss":0.5904,"outsiders":[{"bucket":"2-5%","matches":400,"observed":0.03,"predicted":0.0405},{"bucket":"5-10%","matches":1470,"observed":0.0571,"predicted":0.0744},{"bucket":"10-20%","matches":3706,"observed":0.1519,"predicted":0.1482},"… 1 more"],"calibration":[{"bucket":"0-10%","matches":700,"observed":0.05,"predicted":0.0727},{"bucket":"10-20%","matches":1442,"observed":0.1519,"predicted":0.1511},{"bucket":"20-30%","matches":1679,"observed":0.2501,"predicted":0.2541},"… 7 more"],"baseline_brier":0.4987},"raw_quality":{"brier":0.4391,"matches":19346,"accuracy":0.6902,"log_loss":0.6644,"outsiders":[{"bucket":"10-20%","matches":3,"observed":0,"predicted":0.1781},{"bucket":"20-35%","matches":1358,"observed":0.0493,"predicted":0.3158}],"calibration":[{"bucket":"20-30%","matches":42,"observed":0.0238,"predicted":0.2739},{"bucket":"30-40%","matches":696,"observed":0.0603,"predicted":0.3694},{"bucket":"40-50%","matches":4777,"observed":0.2537,"predicted":0.4636},"… 4 more"],"baseline_brier":0.4987},"summary":"Brier 0.3786 vs 0.4987 for the baseline (24 % better), likeliest outcome right in 70.7 % of 19346 matches."},{"sport":"football","matches":1597,"fitted_at":"2026-11-25T06:11:13.403Z","home_advantage_elo":28.1,"calibration":[[-0.3538,0.3475],[0.0193,0.4509],[0.1615,0.5314],"… 2 more"],"draw":{"a":-1.2628,"b":-0.145},"goals_model":true,"brier_skill":0.054,"quality":{"brier":0.6067,"matches":1118,"accuracy":0.5054,"log_loss":1.0127,"outsiders":[{"bucket":"10-20%","matches":138,"observed":0.1377,"predicted":0.1721},{"bucket":"20-35%","matches":733,"observed":0.2688,"predicted":0.2855}],"calibration":[{"bucket":"20-30%","matches":173,"observed":0.2312,"predicted":0.2621},{"bucket":"30-40%","matches":300,"observed":0.3467,"predicted":0.347},{"bucket":"40-50%","matches":274,"observed":0.4343,"predicted":0.4429},"… 2 more"],"baseline_brier":0.6412},"raw_quality":{"brier":0.6103,"matches":1118,"accuracy":0.5063,"log_loss":1.0177,"outsiders":[{"bucket":"5-10%","matches":2,"observed":0,"predicted":0.079},{"bucket":"10-20%","matches":45,"observed":0.1556,"predicted":0.1719},{"bucket":"20-35%","matches":618,"observed":0.233,"predicted":0.2991}],"calibration":[{"bucket":"10-20%","matches":14,"observed":0.1429,"predicted":0.1658},{"bucket":"20-30%","matches":55,"observed":0.2,"predicted":0.2563},{"bucket":"30-40%","matches":269,"observed":0.2862,"predicted":0.3604},"… 4 more"],"baseline_brier":0.6412},"summary":"Brier 0.6067 vs 0.6412 for the baseline (5 % better), likeliest outcome right in 50.5 % of 1118 matches."},"… 8 more"]}}}}}},"x-example-requests":[{"title":"How the probabilities are made, and how good they are","url":"/v1/model","keyless":true}]}},"/v1/ratings":{"get":{"summary":"Elo ratings per sport or competition (own derived data)","parameters":[{"$ref":"#/components/parameters/sport"},{"name":"competition","in":"query","description":"Competition id","schema":{"type":"string","format":"uuid"}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Page of results. Follow meta.next until it is null.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"},"example":{"data":[{"rank":1,"team_id":"0ff3e989-c415-4fc4-beaa-79ffd93f78c4","team":"FC Bayern München","age_group":null,"gender":"m","elo":1742.7,"games":51,"last_match_at":"2026-11-20T19:30:00.000Z"},{"rank":2,"team_id":"654ee075-50bf-4f78-9abd-8eaf510176d1","team":"Borussia Dortmund","age_group":null,"gender":"m","elo":1661.8,"games":53,"last_match_at":"2026-11-24T20:00:00.000Z"},{"rank":3,"team_id":"ed3a9d55-c7b6-439b-8e14-fc7fed19afef","team":"Bayer 04 Leverkusen","age_group":null,"gender":"m","elo":1631.6,"games":50,"last_match_at":"2026-11-21T14:30:00.000Z"},"… 7 more"],"meta":{"limit":10,"next_cursor":"eyJzIjoicmF0aW5ncyIsImsiOlsiMTUxNC4yOTUyIiwiYjk4YzgzMTgtNTA4Ni00YzIzLWFhYjEtNWUzMGIzN2Q5ZWQxIl19","next":"/v1/ratings?competition=bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4&limit=10&cursor=eyJzIjoicmF0aW5ncyIsImsiOlsiMTUxNC4yOTUyIiwiYjk4YzgzMTgtNTA4Ni00YzIzLWFhYjEtNWUzMGIzN2Q5ZWQxIl19","model":"elo","start":1500,"params":[{"sport":"volleyball","k":24,"home_advantage":22.8,"mov_scale":1},{"sport":"basketball","k":20,"home_advantage":25.6,"mov_scale":8},{"sport":"handball","k":24,"home_advantage":70,"mov_scale":3},"… 12 more"]}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}},"description":"Either sport or competition is required. meta carries the model parameters.","x-example-requests":[{"title":"Elo ratings of a competition","url":"/v1/ratings?competition=bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4&limit=10","keyless":true}]}},"/v1/quality":{"get":{"summary":"Coverage, sources, freshness, conflicts, merges","description":"Computed at most every 5 minutes (data.generated_at).","responses":{"200":{"description":"summary","content":{"application/json":{"example":{"data":{"generated_at":"2026-11-25T06:11:53.466Z","totals":{"matches":493920,"teams":110493,"open_conflicts":4,"merges":7431,"multi_source_matches":6685},"sources":[{"source":"wikidata","priority":40,"usage":"open","matches":0,"teams":1329,"last_run_status":"ok","last_run_at":"2026-11-25T04:17:24.332Z","last_error":null,"last_success_at":"2026-11-25T04:21:07.479Z","authorized":true,"freshness":"idle"},{"source":"openligadb","priority":50,"usage":"open","matches":5723,"teams":665,"last_run_status":"ok","last_run_at":"2026-11-25T05:51:02.708Z","last_error":null,"last_success_at":"2026-11-25T05:51:04.481Z","authorized":true,"freshness":"warm"},{"source":"sams","priority":90,"usage":"licensed","matches":0,"teams":0,"last_run_status":"ok","last_run_at":"2026-11-24T23:39:59.982Z","last_error":null,"last_success_at":"2026-11-24T23:39:59.984Z","authorized":true,"freshness":"idle"},"… 18 more"]}}}}}},"x-example-requests":[{"title":"Coverage and source health","url":"/v1/quality","keyless":true}]}},"/v1/quality/conflicts":{"get":{"summary":"Data conflicts between sources","parameters":[{"name":"status","in":"query","description":"open or resolved","schema":{"type":"string"}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Page of results. Follow meta.next until it is null.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"},"example":{"data":[{"id":4,"entity_type":"match","entity_id":"57cd83ce-b595-4251-80bb-0c8b6d92847b","field":"score","values":[{"value":"0:2","served":true,"sources":"bvv"},{"value":"1:2","served":false,"sources":"sams_ticker"}],"resolution":"priority","status":"open","detected_at":"2026-11-24T23:12:16.170Z"},{"id":3,"entity_type":"match","entity_id":"2963d104-f970-4b7a-84d2-3ce2c07fee60","field":"score","values":[{"value":"3:0","served":true,"sources":"bvv"},{"value":"1:3","served":false,"sources":"sams_ticker"}],"resolution":"priority","status":"open","detected_at":"2026-11-24T23:12:12.191Z"},{"id":2,"entity_type":"match","entity_id":"441e92d7-a6fb-449e-9ada-d7a9811dd989","field":"score","values":[{"value":"0:3","served":true,"sources":"bvv"},{"value":"3:2","served":false,"sources":"sams_ticker"}],"resolution":"priority","status":"open","detected_at":"2026-11-24T23:12:07.927Z"},"… 1 more"],"meta":{"limit":5,"next_cursor":null,"next":null}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}},"description":"Conflicts about published entities only. A value is shown only while every source it came from may be redistributed; otherwise it reads {\"sources\": \"withheld\", \"value\": null, \"withheld\": true}.","x-example-requests":[{"title":"Conflicts between sources","url":"/v1/quality/conflicts?limit=5","keyless":true}]}},"/v1/quality/merges":{"get":{"summary":"Cross-source merges (audit trail)","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Page of results. Follow meta.next until it is null.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"},"example":{"data":[{"id":7431,"entity_type":"club","survivor_id":"d66d649e-7ed8-4240-9840-a06a2d525954","merged_id":"d08f374e-c7eb-4042-8195-608d327e0a66","score":1,"reason":"same club name in other sports, place \"herzogenaurach\" unique in BY","merged_at":"2026-11-25T04:17:01.840Z"},{"id":7412,"entity_type":"team","survivor_id":"0d37e5b7-0c74-4d6b-9d20-f90c025b9022","merged_id":"1b06fd5d-28e7-4f74-846c-5ec2b28dc82f","score":1,"reason":"youth team keyed by its class (0069): the class had a team already","merged_at":"2026-11-25T02:32:27.960Z"},{"id":7413,"entity_type":"team","survivor_id":"514dee7a-cd67-42a6-938b-5dfbd6afbea0","merged_id":"fbb88c9e-b72e-4ac4-b336-16a2dadd9f0e","score":1,"reason":"youth team keyed by its class (0069): the class had a team already","merged_at":"2026-11-25T02:32:27.960Z"},"… 2 more"],"meta":{"limit":5,"next_cursor":"eyJzIjoibWVyZ2VzIiwiayI6WyIyMDI2LTExLTI1IDAyOjMyOjI3Ljk2MDUwNiswMCIsIjc0MTUiXX0","next":"/v1/quality/merges?limit=5&cursor=eyJzIjoibWVyZ2VzIiwiayI6WyIyMDI2LTExLTI1IDAyOjMyOjI3Ljk2MDUwNiswMCIsIjc0MTUiXX0"}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/KeyRequired"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Busy"}},"x-example-requests":[{"title":"Cross-source merges (audit trail)","url":"/v1/quality/merges?limit=5","keyless":true}]}},"/v1/live/{id}/stream":{"get":{"summary":"Server-sent events: live ticker for a match","description":"At most 5 open streams per key; a stream ends after 4 h (reconnect with Last-Event-ID).","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"lastEventId","in":"query","description":"The last event id seen, for clients that cannot send the Last-Event-ID header (EventSource polyfills); the header wins when both are sent","schema":{"type":"integer","minimum":0}}],"responses":{"200":{"description":"text/event-stream"},"404":{"description":"not found"},"429":{"description":"too many open streams"}},"x-example-requests":[{"title":"Live stream (replay of a finished match)","url":"/v1/live/8b2fce75-8329-4b79-a3a5-751ff857b859/stream","keyless":true}]}}}}