API reference

All endpoints of the Nidromo API with their parameters, responses and example requests. This page is generated from the OpenAPI description.

Base URL
https://api.nidromo.io
Version
0.3.1
OpenAPI 3.1
/openapi.json
Without a key
/v1/examples

Getting started

Base URL

Send every request to https://api.nidromo.io. Responses are JSON, except the calendar feeds (iCalendar) and the live stream (server-sent events). The OpenAPI 3.1 description is at /openapi.json.

Authentication

Every path except the keyless ones below needs a free API key. Send it in a header:

curl 'https://api.nidromo.io/v1/matches?sport=volleyball&level=county&limit=3' \  -H "Authorization: Bearer $NIDROMO_KEY"

X-API-Key: <key> works as well. Calendar feeds (.ics) also take the key as ?key= in the URL, because calendar apps cannot send headers; use a separate key for them. How to get a key: Access.

Without a key

These paths answer without a key: /, /health, /openapi.json, /v1/examples, /v1/status and /v1/coverage. So do the example URLs listed at /v1/examples, which are served from a cache. The linked example requests under the endpoints are such URLs, as listed on 25 November 2026. If one answers 401, its IDs have changed; the current list is always at /v1/examples.

Rate limits

Limits are reported in the RateLimit-* headers (RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset). A 429 carries Retry-After.

  • A key may have at most 4 requests in progress at the same time; more get 429 with Retry-After: 1.
  • The keyless paths are limited per client address: 300 requests 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.

Some endpoints have limits of their own:

Errors

Errors are JSON with a message in error:

{  "error": "not found"}
400
Invalid or unknown parameter. The message says which; for a parameter the path does not take, it lists the accepted ones.
401
API key required. Without one, only the keyless paths and the example URLs work.
403
Club ticker: not a ticker key, or not a match of this club.
404
Not found, or not redistributable.
409
Club ticker: outside the accepted time window.
422
Season projection: not possible for this season (see /v1/seasons/{id}/projection).
429
Rate limit exceeded, or more than 4 requests of this key in progress. See Retry-After.
503
Service overloaded, or the query took too long. See Retry-After.

Incremental sync

To keep a copy current, ask /v1/matches with updated_since for matches whose data changed, and /v1/deleted with since for entries that were removed or are no longer published. Use meta.server_time of the previous call minus 5 minutes as the next starting point. Entries are idempotent, so the overlap does no harm.

Times and formats

  • scheduled_at is UTC. time_tbd: true means only the date is fixed; scheduled_at is then local midnight.
  • Time parameters (from, to, updated_since, since) take ISO 8601.
  • “Today” in /v1/coverage is the day in Europe/Berlin.
  • gender: m, f or mixed.
  • country: ISO 3166-1 alpha-2, case-insensitive.
  • level: international, national, regional, state, district or county.
  • age_group: senior, U6…U21 (age limit), youth (youth without a stated age), O30…O80 or senior_masters (masters).

Sources and licences

Every fact Nidromo serves knows its source and licence. /v1/sources lists each source with its licence, whether it may be redistributed, whether attribution is required and the credit line to show (attribution). /v1/matches/{id} carries the provenance of every field. Only what a redistributable source attests is served; a detail request for anything else answers 404. Where a source requires attribution, show its credit line with the data.

Team level only

In amateur and youth sport, Nidromo serves team-level data only: no personal data, and therefore no names of minors. Goal scorers appear only in professional leagues. The club ticker accepts structured events only, no free text.

Probabilities and fair odds

Win probabilities, Elo ratings and season projections are Nidromo’s own derived data. /v1/model shows how the probabilities are made and how good they are.

Fair odds are 1/probability without margin: information only, not a betting offer. They are given only before the match, strictly before kick-off and only while no live event (club ticker or official) exists for it, and never for youth teams or youth competitions, never for individual athletes. odds_unavailable_reason says why odds are missing.

Reference

Sports, competitions and a name search across teams, competitions and clubs. Use them to find the IDs the other endpoints take.

GET /v1/sports

List sports

Needs an API keyExample works without a key

Responses

200
list

Example request

All sports

curl 'https://api.nidromo.io/v1/sports'

GET /v1/competitions

List competitions

Needs an API keyExamples work without a keyPaginated

Parameters

sport
query · string
Sport key, see /v1/sports (e.g. volleyball, basketball, football)
country
query · string, 2 to 3 characters
ISO 3166-1 alpha-2 country code
gender
query · string
m, f or mixedOne of: m, f, mixed
level
query · string
Competition levelOne of: international, national, regional, state, district, county
age_group
query · string
senior, U6…U21, youth (youth without a stated age), O30…O80, senior_masters (case-insensitive)
region
query · string
Region or federation (exact, case-insensitive)
kind
query · string
league, cup, tournament, friendly, super_cupOne of: league, cup, tournament, friendly, super_cup
q
query · string
Name contains
limit
query · integer, at least 1
Page size (default and maximum depend on the endpoint)
cursor
query · string
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)

Responses

200
Page of results. Follow meta.next until it is null.
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

Example requests

Basketball competitions (all levels)

curl 'https://api.nidromo.io/v1/competitions?limit=20&sport=basketball'

Volleyball youth leagues (U18, state level)

curl 'https://api.nidromo.io/v1/competitions?sport=volleyball&level=state&age_group=U18'

GET /v1/competitions/{id}

Competition with its seasons (newest first by date) and current_season_id

Needs an API keyExample works without a key

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). null without a dated match.

Parameters

id required
path · string (UUID)

Responses

200
Object in "data"
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
404
Not found (or not redistributable)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

Example request

Competition with its seasons

curl 'https://api.nidromo.io/v1/competitions/bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4'

Matches

Fixtures and results with filters, one match in detail, the preview before kick-off and the head-to-head record of two teams.

GET /v1/matches

List matches

Needs an API keyExample works without a keyPaginated

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.

Parameters

season
query · string (UUID)
Season id
competition
query · string (UUID)
Competition id
team
query · string (UUID)
Team id (home or away)
club
query · string (UUID)
Club id: matches of all its teams
sport
query · string
Sport key, see /v1/sports (e.g. volleyball, basketball, football)
status
query · string
Match status (annulled = played, but struck from the table)One of: scheduled, live, finished, postponed, cancelled, awarded, annulled, unknown
from
query · string (ISO 8601 date-time)
Kickoff at or after (ISO 8601)
to
query · string (ISO 8601 date-time)
Kickoff at or before (ISO 8601)
updated_since
query · string (ISO 8601 date-time)
Only matches whose data changed since (ISO 8601) - for incremental sync; use the previous meta.server_time minus 5 minutes
country
query · string, 2 to 3 characters
ISO 3166-1 alpha-2 country code
gender
query · string
m, f or mixedOne of: m, f, mixed
level
query · string
Competition levelOne of: international, national, regional, state, district, county
age_group
query · string
senior, U6…U21, youth (youth without a stated age), O30…O80, senior_masters (case-insensitive)
order
query · string
Kickoff order (default asc)One of: asc, desc
near
query · string, at most 64 characters
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).Pattern: ^\s*[+-]?\d{1,3}(\.\d+)?\s*,\s*[+-]?\d{1,3}(\.\d+)?\s*$
radius_km
query · number, 1 to 200, default 25
Radius of the search circle in km, a number from 1 to 200 (default 25); needs near
limit
query · integer, at least 1
Page size (default and maximum depend on the endpoint)
cursor
query · string
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)

Responses

200
Page of results. Follow meta.next until it is null.
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

Example request

Matches of a season

curl 'https://api.nidromo.io/v1/matches?limit=10&season=1add41dc-6835-4af1-8d9a-cdb254ec76b6'

GET /v1/matches/{id}

Match detail

Needs an API keyExamples work without a key

Periods, events, venue, "live" (latest club-ticker state, if any), pre/post-match Elo prediction, head-to-head and per-field provenance.

Parameters

id required
path · string (UUID)

Responses

200
Object in "data"
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
404
Not found (or not redistributable)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

Example requests

Finished match: periods, goals, Elo change, provenance

curl 'https://api.nidromo.io/v1/matches/8b2fce75-8329-4b79-a3a5-751ff857b859'

Upcoming match with win probability

curl 'https://api.nidromo.io/v1/matches/391e8595-b680-4042-9d75-6726a5f5de9d'

GET /v1/matches/{id}/preview

Match preview: probabilities, fair odds, likely results, form, table, head-to-head (own derived data)

Needs an API key

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

id required
path · string (UUID)

Responses

200
Object in "data"
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
404
Not found (or not redistributable)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

GET /v1/h2h

Head-to-head of two teams

Needs an API keyExample works without a key

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

team
query · string (UUID)
Team id
opponent
query · string (UUID)
Opponent team id (same sport)
limit
query · integer, 1 to 50
Meetings to list (1-50, default 10)

Responses

200
Head-to-head in "data"
400
Invalid or unknown parameter
404
A team was not found, or the teams play different sports

Example request

Head-to-head of two teams

curl 'https://api.nidromo.io/v1/h2h?team=0ff3e989-c415-4fc4-beaa-79ffd93f78c4&opponent=654ee075-50bf-4f78-9abd-8eaf510176d1'

Teams & Clubs

Teams and their statistics, clubs with all their teams, and calendar feeds to subscribe to.

GET /v1/teams

Search teams

Needs an API keyExample works without a keyPaginated

Parameters

sport
query · string
Sport key, see /v1/sports (e.g. volleyball, basketball, football)
q
query · string
Name or alias contains
country
query · string, 2 to 3 characters
ISO 3166-1 alpha-2 country code
gender
query · string
m, f or mixedOne of: m, f, mixed
age_group
query · string
senior, U6…U21, youth (youth without a stated age), O30…O80, senior_masters (case-insensitive)
season
query · string (UUID)
Teams with a match in this season
competition
query · string (UUID)
Teams with a match in this competition (any season)
limit
query · integer, at least 1
Page size (default and maximum depend on the endpoint)
cursor
query · string
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)

Responses

200
Page of results. Follow meta.next until it is null.
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

Example request

Team search

curl 'https://api.nidromo.io/v1/teams?q=bayern'

GET /v1/teams/{id}

Team profile

Needs an API keyExample works without a key

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

id required
path · string (UUID)

Responses

200
Object in "data"
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
404
Not found (or not redistributable)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

Example request

Team profile: venue, seasons, form, next matches, Elo

curl 'https://api.nidromo.io/v1/teams/0ff3e989-c415-4fc4-beaa-79ffd93f78c4'

GET /v1/teams/{id}/calendar.ics

Team calendar (iCalendar, subscribable)

Needs an API key

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

id required
path · string (UUID)
key
query · string
API key (alternative to the Authorization header, only for calendar feeds)

Responses

200
text/calendar
401
API key required (only the URLs under /v1/examples work without one)
404
not found

GET /v1/teams/{id}/stats

Team statistics (all seasons or one season)

Needs an API keyExample works without a key

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

id required
path · string (UUID)
season
query · string (UUID)
Season id: statistics of this season only

Responses

200
Statistics in "data"
400
Invalid or unknown parameter
404
Team not found

Example request

Team statistics: record, streaks, home/away, Elo history

curl 'https://api.nidromo.io/v1/teams/0ff3e989-c415-4fc4-beaa-79ffd93f78c4/stats'

GET /v1/clubs

Clubs (built from federation data: club ids or names)

Needs an API keyPaginated

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.

Parameters

q
query · string
Name contains
sport
query · string
Sport key, see /v1/sports (e.g. volleyball, basketball, football)
region
query · string
Federation (exact, case-insensitive); a multi-sport club matches any of its federations (regions)
near
query · string, at most 64 characters
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).Pattern: ^\s*[+-]?\d{1,3}(\.\d+)?\s*,\s*[+-]?\d{1,3}(\.\d+)?\s*$
radius_km
query · number, 1 to 200, default 25
Radius of the search circle in km, a number from 1 to 200 (default 25); needs near
limit
query · integer, at least 1
Page size (default and maximum depend on the endpoint)
cursor
query · string
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)

Responses

200
Page of results. Follow meta.next until it is null.
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

GET /v1/clubs/{id}

Club with all its teams (men, women, youth) and their next/last 20 matches

Needs an API keyExample works without a key

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

id required
path · string (UUID)

Responses

200
Object in "data"
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
404
Not found (or not redistributable)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

Example request

Club with all its teams and their next matches

curl 'https://api.nidromo.io/v1/clubs/77a91f67-cf23-49f8-bfb6-f8bca10c6b9b'

GET /v1/clubs/{id}/calendar.ics

Club calendar (iCalendar): all teams of the club

Needs an API key

Like the team calendar, for every team of the club. Accepts the API key as ?key=.

Parameters

id required
path · string (UUID)
key
query · string
API key (alternative to the Authorization header, only for calendar feeds)

Responses

200
text/calendar
401
API key required (only the URLs under /v1/examples work without one)
404
not found

Seasons & Standings

The seasons of a competition, the official table and a projection of the final table.

GET /v1/seasons

List seasons

Needs an API keyExample works without a keyPaginated

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). null without a dated match.

Parameters

competition
query · string (UUID)
Competition id
sport
query · string
Sport key, see /v1/sports (e.g. volleyball, basketball, football)
name
query · string
Season name, e.g. 2026/27
limit
query · integer, at least 1
Page size (default and maximum depend on the endpoint)
cursor
query · string
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)

Responses

200
Page of results. Follow meta.next until it is null.
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

Example request

Seasons of the Bundesliga

curl 'https://api.nidromo.io/v1/seasons?competition=bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4'

GET /v1/seasons/{id}

Season summary: competition, start_date/end_date, match counts, date range, links to matches/standings/teams

Needs an API keyExample works without a key

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). null without a dated match.

Parameters

id required
path · string (UUID)

Responses

200
Object in "data"
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
404
Not found (or not redistributable)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

Example request

Season summary with links

curl 'https://api.nidromo.io/v1/seasons/1add41dc-6835-4af1-8d9a-cdb254ec76b6'

GET /v1/seasons/{id}/projection

Season projection (own derived data)

Needs an API keyExample works without a key

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

id required
path · string (UUID)
simulations
query · integer
Number of simulated seasons (default 10000)One of: 1000, 5000, 10000, 20000

Responses

200
Projection in "data"
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
404
Season not found or without standings
422
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
Rate limit, or too many uncached projections (10 per key and 60 in total per minute; cached results are not limited)

Example request

Season projection: title and relegation chances (Monte Carlo, Elo)

curl 'https://api.nidromo.io/v1/seasons/1add41dc-6835-4af1-8d9a-cdb254ec76b6/projection'

GET /v1/standings

Standings for a season

Needs an API keyExamples work without a key

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

season required
query · string (UUID)

Responses

200
table
400
Invalid or unknown parameter

Example requests

League table

curl 'https://api.nidromo.io/v1/standings?season=1add41dc-6835-4af1-8d9a-cdb254ec76b6'

Youth league table (basketball, U16)

curl 'https://api.nidromo.io/v1/standings?season=1c30bb1e-7448-4080-b33f-0e8c77eea73a'

Insights & Model

Nidromo’s own derived data: Elo ratings, upsets, the biggest rating changes, top matches ahead, and how good the probabilities are.

GET /v1/ratings

Elo ratings per sport or competition (own derived data)

Needs an API keyExample works without a keyPaginated

Either sport or competition is required. meta carries the model parameters.

Parameters

sport
query · string
Sport key, see /v1/sports (e.g. volleyball, basketball, football)
competition
query · string (UUID)
Competition id
limit
query · integer, at least 1
Page size (default and maximum depend on the endpoint)
cursor
query · string
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)

Responses

200
Page of results. Follow meta.next until it is null.
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

Example request

Elo ratings of a competition

curl 'https://api.nidromo.io/v1/ratings?competition=bfe5f08e-f9a2-4a1d-a5a0-94b32dc5abf4&limit=10'

GET /v1/insights/movers

Biggest Elo gains and losses in a window

Needs an API keyExample works without a key

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

sport
query · string
Sport key (required)
days
query · integer
Window in days (1-60, default 7), rounded up to 1, 3, 7, 14, 30 or 60
limit
query · integer
Rows per list (1-50, default 10)

Responses

200
{gainers, losers} in "data"
400
Invalid or unknown parameter
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After

Example request

Biggest Elo movers of the week (volleyball)

curl 'https://api.nidromo.io/v1/insights/movers?sport=volleyball'

GET /v1/insights/top-matches

Top upcoming matches: strong and evenly matched

Needs an API keyExample works without a key

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

sport
query · string
Sport key (required)
days
query · integer
Look ahead in days (1-30, default 7), rounded up to 1, 3, 7, 14 or 30
limit
query · integer
Rows (1-50, default 10)

Responses

200
List in "data", best first
400
Invalid or unknown parameter
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After

Example request

Top matches of the coming days (football)

curl 'https://api.nidromo.io/v1/insights/top-matches?sport=football'

GET /v1/insights/upsets

Upsets: wins the model gave the lowest chance (own derived data)

Needs an API keyExample works without a key

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

sport
query · string
Sport key (required)
days
query · integer
Window in days (1-60, default 7), rounded up to 1, 3, 7, 14, 30 or 60
limit
query · integer
Rows (1-100, default 20)
age_group
query · string
Only this age group, e.g. senior or U18 (case-insensitive; one no competition has gives an empty list)

Responses

200
List in "data", lowest pre-match winning probability first
400
Invalid or unknown parameter
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After

Example request

Upsets of the week (basketball)

curl 'https://api.nidromo.io/v1/insights/upsets?sport=basketball&limit=10'

GET /v1/model

How the probabilities are made, and how good they are

Needs an API keyExample works without a key

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
Report in "data"

Example request

How the probabilities are made, and how good they are

curl 'https://api.nidromo.io/v1/model'

Live

Live scores of a match as server-sent events, and the club ticker through which verified clubs report the scores of their own matches.

GET /v1/live/{id}/stream

Server-sent events: live ticker for a match

Needs an API keyExample works without a key

At most 5 open streams per key; a stream ends after 4 h (reconnect with Last-Event-ID).

Parameters

id required
path · string (UUID)
lastEventId
query · integer, at least 0
The last event id seen, for clients that cannot send the Last-Event-ID header (EventSource polyfills); the header wins when both are sent

Responses

200
text/event-stream
404
not found
429
too many open streams

Example request

Live stream (replay of a finished match)

curl 'https://api.nidromo.io/v1/live/8b2fce75-8329-4b79-a3a5-751ff857b859/stream'

POST /v1/ticker/matches/{id}/events

Club ticker: report a live score (ticker keys of verified clubs only)

Needs an API key

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.

Parameters

id required
path · string (UUID)

Request body

JSON, required.

id required
body · string
Pattern: ^[A-Za-z0-9_-]{1,64}$
type required
body · string
One of: start, score, period_end, end
home
body · integer, 0 to 999
main score (goals, points, sets)
away
body · integer, 0 to 999
period
body · integer, 0 to 999
current set/quarter/period
period_home
body · integer, 0 to 999
score within the period, e.g. set points
period_away
body · integer, 0 to 999

Responses

201
{ data: { event_id, live } }
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
403
not a ticker key, or not a match of this club
404
match not found
409
outside the accepted time window
429
rate limit, or more than 300 ticker events for this match and key

Example request

curl -X POST "https://api.nidromo.io/v1/ticker/matches/$MATCH_ID/events" \  -H "Authorization: Bearer $TICKER_KEY" \  -H "Content-Type: application/json" \  -d '{"id":"set2-21-18","type":"score","home":1,"away":0,"period":2,"period_home":21,"period_away":18}'

$MATCH_ID is the match’s ID, $TICKER_KEY the club’s ticker key.

Sync

Removed entries for keeping a copy up to date; changed matches come from /v1/matches with updated_since. See Incremental sync.

GET /v1/deleted

Deleted public entities since a point in time (for incremental sync)

Needs an API keyPaginated

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.

Parameters

since required
query · string (ISO 8601 date-time)
ISO 8601
type
query · string
Entity typeOne of: match, team, club, competition, season
limit
query · integer, at least 1
Page size (default and maximum depend on the endpoint)
cursor
query · string
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)

Responses

200
Page of results. Follow meta.next until it is null.
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

Meta

Service status, coverage, sources and data quality, the keyless examples and the OpenAPI description itself.

GET /v1/status

Service status: is every source refreshed as planned? (no key, cached 1 min)

No key needed

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
Status document

Example request

curl 'https://api.nidromo.io/v1/status'

GET /v1/coverage

What the API holds: competitions per level, teams and matches per sport (no key, cached 5 min)

No key needed

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
Coverage document

Example request

curl 'https://api.nidromo.io/v1/coverage'

GET /v1/sources

Data sources with license & usage

Needs an API keyExample works without a key

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
list

Example request

Data sources with license status

curl 'https://api.nidromo.io/v1/sources'

GET /v1/quality

Coverage, sources, freshness, conflicts, merges

Needs an API keyExample works without a key

Computed at most every 5 minutes (data.generated_at).

Responses

200
summary

Example request

Coverage and source health

curl 'https://api.nidromo.io/v1/quality'

GET /v1/quality/conflicts

Data conflicts between sources

Needs an API keyExample works without a keyPaginated

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}.

Parameters

status
query · string
open or resolved
limit
query · integer, at least 1
Page size (default and maximum depend on the endpoint)
cursor
query · string
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)

Responses

200
Page of results. Follow meta.next until it is null.
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

Example request

Conflicts between sources

curl 'https://api.nidromo.io/v1/quality/conflicts?limit=5'

GET /v1/quality/merges

Cross-source merges (audit trail)

Needs an API keyExample works without a keyPaginated

Parameters

limit
query · integer, at least 1
Page size (default and maximum depend on the endpoint)
cursor
query · string
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)

Responses

200
Page of results. Follow meta.next until it is null.
400
Invalid or unknown parameter
401
API key required (only the URLs under /v1/examples work without one)
429
Rate limit exceeded, or more than 4 requests of this key in progress; see Retry-After
503
Service overloaded (no database connection free in time, or the query took too long); see Retry-After

Example request

Cross-source merges (audit trail)

curl 'https://api.nidromo.io/v1/quality/merges?limit=5'

GET /v1/examples

Keyless example requests (cached)

No key needed

Each entry with its URL and a ready curl line on the public base URL (https).

Responses

200
list

Example request

curl 'https://api.nidromo.io/v1/examples'

GET /openapi.json

This OpenAPI document (with keyless example requests)

No key needed

Built once per refresh of the examples; ETag and If-None-Match (304) are supported.

Responses

200
OpenAPI 3.1
304
Not modified

Example request

curl 'https://api.nidromo.io/openapi.json'

GET /health

Liveness

No key needed

Responses

200
ok

Example request

curl 'https://api.nidromo.io/health'