Realtime Sports API
Scores, play-by-play, schedules, box scores and odds: NFL, college football, NBA, MLB, NHL, soccer
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin list_teams
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"realtime-sports-api": {
"url": "https://www.realtimesportsapi.com/api/mcp"
}
}
}Remote-Endpunkte
https://www.realtimesportsapi.com/api/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (14)
🟢list_leagues
List the leagues this API monitors live, with the sport and league slugs every other tool needs. 29 leagues monitored live: NFL, college football, NBA, men's college basketball, MLB, NHL and 23 soccer competitions.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_live_events(sport, league, include_odds, detail)
Games in progress right now for a league, with score, period/clock and status. Empty list when nothing is live. Data is typically 20-30 s behind live play.
Eingabe-Schema
{
"type": "object",
"properties": {
"sport": {
"type": "string",
"enum": [
"football",
"basketball",
"baseball",
"hockey",
"soccer"
],
"description": "Sport slug."
},
"league": {
"type": "string",
"minLength": 1,
"description": "League slug. Monitored leagues (sport/league): football/nfl (NFL), football/college-football (College Football), basketball/nba (NBA), basketball/mens-college-basketball (Men's College Basketball), baseball/mlb (MLB), hockey/nhl (NHL), soccer/usa.1 (MLS), soccer/usa.open (U.S. Open Cup), soccer/eng.1 (Premier League), soccer/uefa.champions (Champions League), soccer/uefa.europa (Europa League), soccer/eng.fa (FA Cup), soccer/esp.1 (LaLiga), soccer/ita.1 (Serie A), soccer/mex.1 (Liga MX), soccer/fifa.world (World Cup), soccer/eng.w.1 (Women's Super League), soccer/uefa.wchampions (Women's Champions League), soccer/uefa.europa.conf (Conference League), soccer/eng.league_cup (League Cup), soccer/ger.1 (Bundesliga), soccer/fra.1 (Ligue 1), soccer/usa.nwsl (NWSL), soccer/eng.2 (Championship), soccer/fifa.worldq.uefa (WC Qualifying UEFA), soccer/fifa.worldq.conmebol (WC Qualifying CONMEBOL), soccer/fifa.worldq.afc (WC Qualifying AFC), soccer/fifa.worldq.caf (WC Qualifying CAF), soccer/fifa.worldq.concacaf (WC Qualifying CONCACAF). Call list_leagues if unsure."
},
"include_odds": {
"type": "boolean",
"description": "Attach current betting odds when available."
},
"detail": {
"type": "string",
"enum": [
"compact",
"full"
],
"description": "compact (default) returns the key fields per game; full returns the complete v1 event objects."
}
},
"required": [
"sport",
"league"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_events(sport, league, limit, detail)
The league's current scoreboard window: recent, live and upcoming games. For specific dates or weeks use get_schedule.
Eingabe-Schema
{
"type": "object",
"properties": {
"sport": {
"type": "string",
"enum": [
"football",
"basketball",
"baseball",
"hockey",
"soccer"
],
"description": "Sport slug."
},
"league": {
"type": "string",
"minLength": 1,
"description": "League slug. Monitored leagues (sport/league): football/nfl (NFL), football/college-football (College Football), basketball/nba (NBA), basketball/mens-college-basketball (Men's College Basketball), baseball/mlb (MLB), hockey/nhl (NHL), soccer/usa.1 (MLS), soccer/usa.open (U.S. Open Cup), soccer/eng.1 (Premier League), soccer/uefa.champions (Champions League), soccer/uefa.europa (Europa League), soccer/eng.fa (FA Cup), soccer/esp.1 (LaLiga), soccer/ita.1 (Serie A), soccer/mex.1 (Liga MX), soccer/fifa.world (World Cup), soccer/eng.w.1 (Women's Super League), soccer/uefa.wchampions (Women's Champions League), soccer/uefa.europa.conf (Conference League), soccer/eng.league_cup (League Cup), soccer/ger.1 (Bundesliga), soccer/fra.1 (Ligue 1), soccer/usa.nwsl (NWSL), soccer/eng.2 (Championship), soccer/fifa.worldq.uefa (WC Qualifying UEFA), soccer/fifa.worldq.conmebol (WC Qualifying CONMEBOL), soccer/fifa.worldq.afc (WC Qualifying AFC), soccer/fifa.worldq.caf (WC Qualifying CAF), soccer/fifa.worldq.concacaf (WC Qualifying CONCACAF). Call list_leagues if unsure."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "Max games (default 50)."
},
"detail": {
"type": "string",
"enum": [
"compact",
"full"
],
"description": "compact (default) returns the key fields per game; full returns the complete v1 event objects."
}
},
"required": [
"sport",
"league"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_event(sport, league, event_id, include_odds)
Full details for one game: teams, score, status, venue, season/week, broadcasts, officials.
Eingabe-Schema
{
"type": "object",
"properties": {
"sport": {
"type": "string",
"enum": [
"football",
"basketball",
"baseball",
"hockey",
"soccer"
],
"description": "Sport slug."
},
"league": {
"type": "string",
"minLength": 1,
"description": "League slug. Monitored leagues (sport/league): football/nfl (NFL), football/college-football (College Football), basketball/nba (NBA), basketball/mens-college-basketball (Men's College Basketball), baseball/mlb (MLB), hockey/nhl (NHL), soccer/usa.1 (MLS), soccer/usa.open (U.S. Open Cup), soccer/eng.1 (Premier League), soccer/uefa.champions (Champions League), soccer/uefa.europa (Europa League), soccer/eng.fa (FA Cup), soccer/esp.1 (LaLiga), soccer/ita.1 (Serie A), soccer/mex.1 (Liga MX), soccer/fifa.world (World Cup), soccer/eng.w.1 (Women's Super League), soccer/uefa.wchampions (Women's Champions League), soccer/uefa.europa.conf (Conference League), soccer/eng.league_cup (League Cup), soccer/ger.1 (Bundesliga), soccer/fra.1 (Ligue 1), soccer/usa.nwsl (NWSL), soccer/eng.2 (Championship), soccer/fifa.worldq.uefa (WC Qualifying UEFA), soccer/fifa.worldq.conmebol (WC Qualifying CONMEBOL), soccer/fifa.worldq.afc (WC Qualifying AFC), soccer/fifa.worldq.caf (WC Qualifying CAF), soccer/fifa.worldq.concacaf (WC Qualifying CONCACAF). Call list_leagues if unsure."
},
"event_id": {
"type": "string",
"minLength": 1,
"description": "Event (game) id from get_live_events, get_events or get_schedule."
},
"include_odds": {
"type": "boolean"
}
},
"required": [
"sport",
"league",
"event_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_plays(sport, league, event_id, limit, page)
Play-by-play for a game, oldest first, paginated. Use a larger limit (up to 300 here) to get more plays per call; check pagination.hasNextPage.
Eingabe-Schema
{
"type": "object",
"properties": {
"sport": {
"type": "string",
"enum": [
"football",
"basketball",
"baseball",
"hockey",
"soccer"
],
"description": "Sport slug."
},
"league": {
"type": "string",
"minLength": 1,
"description": "League slug. Monitored leagues (sport/league): football/nfl (NFL), football/college-football (College Football), basketball/nba (NBA), basketball/mens-college-basketball (Men's College Basketball), baseball/mlb (MLB), hockey/nhl (NHL), soccer/usa.1 (MLS), soccer/usa.open (U.S. Open Cup), soccer/eng.1 (Premier League), soccer/uefa.champions (Champions League), soccer/uefa.europa (Europa League), soccer/eng.fa (FA Cup), soccer/esp.1 (LaLiga), soccer/ita.1 (Serie A), soccer/mex.1 (Liga MX), soccer/fifa.world (World Cup), soccer/eng.w.1 (Women's Super League), soccer/uefa.wchampions (Women's Champions League), soccer/uefa.europa.conf (Conference League), soccer/eng.league_cup (League Cup), soccer/ger.1 (Bundesliga), soccer/fra.1 (Ligue 1), soccer/usa.nwsl (NWSL), soccer/eng.2 (Championship), soccer/fifa.worldq.uefa (WC Qualifying UEFA), soccer/fifa.worldq.conmebol (WC Qualifying CONMEBOL), soccer/fifa.worldq.afc (WC Qualifying AFC), soccer/fifa.worldq.caf (WC Qualifying CAF), soccer/fifa.worldq.concacaf (WC Qualifying CONCACAF). Call list_leagues if unsure."
},
"event_id": {
"type": "string",
"minLength": 1,
"description": "Event (game) id from get_live_events, get_events or get_schedule."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 300,
"description": "Plays per page (default 50)."
},
"page": {
"type": "integer",
"minimum": 1,
"description": "Page number (default 1)."
}
},
"required": [
"sport",
"league",
"event_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_box_score(sport, league, event_id)
Team totals and player statistics for a game (basketball, soccer, baseball, football). Not available before kickoff.
Eingabe-Schema
{
"type": "object",
"properties": {
"sport": {
"type": "string",
"enum": [
"football",
"basketball",
"baseball",
"hockey",
"soccer"
],
"description": "Sport slug."
},
"league": {
"type": "string",
"minLength": 1,
"description": "League slug. Monitored leagues (sport/league): football/nfl (NFL), football/college-football (College Football), basketball/nba (NBA), basketball/mens-college-basketball (Men's College Basketball), baseball/mlb (MLB), hockey/nhl (NHL), soccer/usa.1 (MLS), soccer/usa.open (U.S. Open Cup), soccer/eng.1 (Premier League), soccer/uefa.champions (Champions League), soccer/uefa.europa (Europa League), soccer/eng.fa (FA Cup), soccer/esp.1 (LaLiga), soccer/ita.1 (Serie A), soccer/mex.1 (Liga MX), soccer/fifa.world (World Cup), soccer/eng.w.1 (Women's Super League), soccer/uefa.wchampions (Women's Champions League), soccer/uefa.europa.conf (Conference League), soccer/eng.league_cup (League Cup), soccer/ger.1 (Bundesliga), soccer/fra.1 (Ligue 1), soccer/usa.nwsl (NWSL), soccer/eng.2 (Championship), soccer/fifa.worldq.uefa (WC Qualifying UEFA), soccer/fifa.worldq.conmebol (WC Qualifying CONMEBOL), soccer/fifa.worldq.afc (WC Qualifying AFC), soccer/fifa.worldq.caf (WC Qualifying CAF), soccer/fifa.worldq.concacaf (WC Qualifying CONCACAF). Call list_leagues if unsure."
},
"event_id": {
"type": "string",
"minLength": 1,
"description": "Event (game) id from get_live_events, get_events or get_schedule."
}
},
"required": [
"sport",
"league",
"event_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_odds(sport, league, event_id)
Current spread, moneyline and total for a game from a single source book. Returns null when no odds are available.
Eingabe-Schema
{
"type": "object",
"properties": {
"sport": {
"type": "string",
"enum": [
"football",
"basketball",
"baseball",
"hockey",
"soccer"
],
"description": "Sport slug."
},
"league": {
"type": "string",
"minLength": 1,
"description": "League slug. Monitored leagues (sport/league): football/nfl (NFL), football/college-football (College Football), basketball/nba (NBA), basketball/mens-college-basketball (Men's College Basketball), baseball/mlb (MLB), hockey/nhl (NHL), soccer/usa.1 (MLS), soccer/usa.open (U.S. Open Cup), soccer/eng.1 (Premier League), soccer/uefa.champions (Champions League), soccer/uefa.europa (Europa League), soccer/eng.fa (FA Cup), soccer/esp.1 (LaLiga), soccer/ita.1 (Serie A), soccer/mex.1 (Liga MX), soccer/fifa.world (World Cup), soccer/eng.w.1 (Women's Super League), soccer/uefa.wchampions (Women's Champions League), soccer/uefa.europa.conf (Conference League), soccer/eng.league_cup (League Cup), soccer/ger.1 (Bundesliga), soccer/fra.1 (Ligue 1), soccer/usa.nwsl (NWSL), soccer/eng.2 (Championship), soccer/fifa.worldq.uefa (WC Qualifying UEFA), soccer/fifa.worldq.conmebol (WC Qualifying CONMEBOL), soccer/fifa.worldq.afc (WC Qualifying AFC), soccer/fifa.worldq.caf (WC Qualifying CAF), soccer/fifa.worldq.concacaf (WC Qualifying CONCACAF). Call list_leagues if unsure."
},
"event_id": {
"type": "string",
"minLength": 1,
"description": "Event (game) id from get_live_events, get_events or get_schedule."
}
},
"required": [
"sport",
"league",
"event_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_schedule(sport, league, start_date, end_date, season, ...)
Games in a date range (start_date/end_date, YYYY-MM-DD, at most 31 days, US Eastern calendar days like most US schedules) or, for NFL and college football, a season week (season + week). Up to 200 games.
Eingabe-Schema
{
"type": "object",
"properties": {
"sport": {
"type": "string",
"enum": [
"football",
"basketball",
"baseball",
"hockey",
"soccer"
],
"description": "Sport slug."
},
"league": {
"type": "string",
"minLength": 1,
"description": "League slug. Monitored leagues (sport/league): football/nfl (NFL), football/college-football (College Football), basketball/nba (NBA), basketball/mens-college-basketball (Men's College Basketball), baseball/mlb (MLB), hockey/nhl (NHL), soccer/usa.1 (MLS), soccer/usa.open (U.S. Open Cup), soccer/eng.1 (Premier League), soccer/uefa.champions (Champions League), soccer/uefa.europa (Europa League), soccer/eng.fa (FA Cup), soccer/esp.1 (LaLiga), soccer/ita.1 (Serie A), soccer/mex.1 (Liga MX), soccer/fifa.world (World Cup), soccer/eng.w.1 (Women's Super League), soccer/uefa.wchampions (Women's Champions League), soccer/uefa.europa.conf (Conference League), soccer/eng.league_cup (League Cup), soccer/ger.1 (Bundesliga), soccer/fra.1 (Ligue 1), soccer/usa.nwsl (NWSL), soccer/eng.2 (Championship), soccer/fifa.worldq.uefa (WC Qualifying UEFA), soccer/fifa.worldq.conmebol (WC Qualifying CONMEBOL), soccer/fifa.worldq.afc (WC Qualifying AFC), soccer/fifa.worldq.caf (WC Qualifying CAF), soccer/fifa.worldq.concacaf (WC Qualifying CONCACAF). Call list_leagues if unsure."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First day, YYYY-MM-DD (US Eastern)."
},
"end_date": {
"$ref": "#/properties/start_date",
"description": "Last day, YYYY-MM-DD (US Eastern). Defaults to start_date."
},
"season": {
"type": "integer",
"minimum": 2000,
"maximum": 2100,
"description": "Season year, used with week."
},
"week": {
"type": "integer",
"minimum": 0,
"maximum": 25,
"description": "Week number (NFL / college football only)."
},
"season_type": {
"type": "integer",
"minimum": 1,
"maximum": 3,
"description": "1 preseason, 2 regular (default), 3 postseason."
},
"detail": {
"type": "string",
"enum": [
"compact",
"full"
],
"description": "compact (default) returns the key fields per game; full returns the complete v1 event objects."
}
},
"required": [
"sport",
"league"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_teams(sport, league, limit, page)
Teams in a league (paginated; college football has 800+ teams across divisions).
Eingabe-Schema
{
"type": "object",
"properties": {
"sport": {
"type": "string",
"enum": [
"football",
"basketball",
"baseball",
"hockey",
"soccer"
],
"description": "Sport slug."
},
"league": {
"type": "string",
"minLength": 1,
"description": "League slug. Monitored leagues (sport/league): football/nfl (NFL), football/college-football (College Football), basketball/nba (NBA), basketball/mens-college-basketball (Men's College Basketball), baseball/mlb (MLB), hockey/nhl (NHL), soccer/usa.1 (MLS), soccer/usa.open (U.S. Open Cup), soccer/eng.1 (Premier League), soccer/uefa.champions (Champions League), soccer/uefa.europa (Europa League), soccer/eng.fa (FA Cup), soccer/esp.1 (LaLiga), soccer/ita.1 (Serie A), soccer/mex.1 (Liga MX), soccer/fifa.world (World Cup), soccer/eng.w.1 (Women's Super League), soccer/uefa.wchampions (Women's Champions League), soccer/uefa.europa.conf (Conference League), soccer/eng.league_cup (League Cup), soccer/ger.1 (Bundesliga), soccer/fra.1 (Ligue 1), soccer/usa.nwsl (NWSL), soccer/eng.2 (Championship), soccer/fifa.worldq.uefa (WC Qualifying UEFA), soccer/fifa.worldq.conmebol (WC Qualifying CONMEBOL), soccer/fifa.worldq.afc (WC Qualifying AFC), soccer/fifa.worldq.caf (WC Qualifying CAF), soccer/fifa.worldq.concacaf (WC Qualifying CONCACAF). Call list_leagues if unsure."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200,
"description": "Teams per page (default 50)."
},
"page": {
"type": "integer",
"minimum": 1
}
},
"required": [
"sport",
"league"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_team(sport, league, team_id)
One team: names, record, standing summary, venue.
Eingabe-Schema
{
"type": "object",
"properties": {
"sport": {
"type": "string",
"enum": [
"football",
"basketball",
"baseball",
"hockey",
"soccer"
],
"description": "Sport slug."
},
"league": {
"type": "string",
"minLength": 1,
"description": "League slug. Monitored leagues (sport/league): football/nfl (NFL), football/college-football (College Football), basketball/nba (NBA), basketball/mens-college-basketball (Men's College Basketball), baseball/mlb (MLB), hockey/nhl (NHL), soccer/usa.1 (MLS), soccer/usa.open (U.S. Open Cup), soccer/eng.1 (Premier League), soccer/uefa.champions (Champions League), soccer/uefa.europa (Europa League), soccer/eng.fa (FA Cup), soccer/esp.1 (LaLiga), soccer/ita.1 (Serie A), soccer/mex.1 (Liga MX), soccer/fifa.world (World Cup), soccer/eng.w.1 (Women's Super League), soccer/uefa.wchampions (Women's Champions League), soccer/uefa.europa.conf (Conference League), soccer/eng.league_cup (League Cup), soccer/ger.1 (Bundesliga), soccer/fra.1 (Ligue 1), soccer/usa.nwsl (NWSL), soccer/eng.2 (Championship), soccer/fifa.worldq.uefa (WC Qualifying UEFA), soccer/fifa.worldq.conmebol (WC Qualifying CONMEBOL), soccer/fifa.worldq.afc (WC Qualifying AFC), soccer/fifa.worldq.caf (WC Qualifying CAF), soccer/fifa.worldq.concacaf (WC Qualifying CONCACAF). Call list_leagues if unsure."
},
"team_id": {
"type": "string",
"minLength": 1,
"description": "Team id from list_teams or from an event's homeTeam/awayTeam."
}
},
"required": [
"sport",
"league",
"team_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_team_roster(sport, league, team_id)
Current roster for a team, grouped by position.
Eingabe-Schema
{
"type": "object",
"properties": {
"sport": {
"type": "string",
"enum": [
"football",
"basketball",
"baseball",
"hockey",
"soccer"
],
"description": "Sport slug."
},
"league": {
"type": "string",
"minLength": 1,
"description": "League slug. Monitored leagues (sport/league): football/nfl (NFL), football/college-football (College Football), basketball/nba (NBA), basketball/mens-college-basketball (Men's College Basketball), baseball/mlb (MLB), hockey/nhl (NHL), soccer/usa.1 (MLS), soccer/usa.open (U.S. Open Cup), soccer/eng.1 (Premier League), soccer/uefa.champions (Champions League), soccer/uefa.europa (Europa League), soccer/eng.fa (FA Cup), soccer/esp.1 (LaLiga), soccer/ita.1 (Serie A), soccer/mex.1 (Liga MX), soccer/fifa.world (World Cup), soccer/eng.w.1 (Women's Super League), soccer/uefa.wchampions (Women's Champions League), soccer/uefa.europa.conf (Conference League), soccer/eng.league_cup (League Cup), soccer/ger.1 (Bundesliga), soccer/fra.1 (Ligue 1), soccer/usa.nwsl (NWSL), soccer/eng.2 (Championship), soccer/fifa.worldq.uefa (WC Qualifying UEFA), soccer/fifa.worldq.conmebol (WC Qualifying CONMEBOL), soccer/fifa.worldq.afc (WC Qualifying AFC), soccer/fifa.worldq.caf (WC Qualifying CAF), soccer/fifa.worldq.concacaf (WC Qualifying CONCACAF). Call list_leagues if unsure."
},
"team_id": {
"type": "string",
"minLength": 1,
"description": "Team id from list_teams or from an event's homeTeam/awayTeam."
}
},
"required": [
"sport",
"league",
"team_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢search_athletes(sport, league, query, limit)
Find players by name within a league; returns athlete ids and teams.
Eingabe-Schema
{
"type": "object",
"properties": {
"sport": {
"type": "string",
"enum": [
"football",
"basketball",
"baseball",
"hockey",
"soccer"
],
"description": "Sport slug."
},
"league": {
"type": "string",
"minLength": 1,
"description": "League slug. Monitored leagues (sport/league): football/nfl (NFL), football/college-football (College Football), basketball/nba (NBA), basketball/mens-college-basketball (Men's College Basketball), baseball/mlb (MLB), hockey/nhl (NHL), soccer/usa.1 (MLS), soccer/usa.open (U.S. Open Cup), soccer/eng.1 (Premier League), soccer/uefa.champions (Champions League), soccer/uefa.europa (Europa League), soccer/eng.fa (FA Cup), soccer/esp.1 (LaLiga), soccer/ita.1 (Serie A), soccer/mex.1 (Liga MX), soccer/fifa.world (World Cup), soccer/eng.w.1 (Women's Super League), soccer/uefa.wchampions (Women's Champions League), soccer/uefa.europa.conf (Conference League), soccer/eng.league_cup (League Cup), soccer/ger.1 (Bundesliga), soccer/fra.1 (Ligue 1), soccer/usa.nwsl (NWSL), soccer/eng.2 (Championship), soccer/fifa.worldq.uefa (WC Qualifying UEFA), soccer/fifa.worldq.conmebol (WC Qualifying CONMEBOL), soccer/fifa.worldq.afc (WC Qualifying AFC), soccer/fifa.worldq.caf (WC Qualifying CAF), soccer/fifa.worldq.concacaf (WC Qualifying CONCACAF). Call list_leagues if unsure."
},
"query": {
"type": "string",
"minLength": 2,
"description": "Player name, e.g. \"mahomes\"."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [
"sport",
"league",
"query"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_injuries(sport, league, team_id)
Current injury report grouped by team (empty in the off-season). Pass team_id for that team's complete report.
Eingabe-Schema
{
"type": "object",
"properties": {
"sport": {
"type": "string",
"enum": [
"football",
"basketball",
"baseball",
"hockey",
"soccer"
],
"description": "Sport slug."
},
"league": {
"type": "string",
"minLength": 1,
"description": "League slug. Monitored leagues (sport/league): football/nfl (NFL), football/college-football (College Football), basketball/nba (NBA), basketball/mens-college-basketball (Men's College Basketball), baseball/mlb (MLB), hockey/nhl (NHL), soccer/usa.1 (MLS), soccer/usa.open (U.S. Open Cup), soccer/eng.1 (Premier League), soccer/uefa.champions (Champions League), soccer/uefa.europa (Europa League), soccer/eng.fa (FA Cup), soccer/esp.1 (LaLiga), soccer/ita.1 (Serie A), soccer/mex.1 (Liga MX), soccer/fifa.world (World Cup), soccer/eng.w.1 (Women's Super League), soccer/uefa.wchampions (Women's Champions League), soccer/uefa.europa.conf (Conference League), soccer/eng.league_cup (League Cup), soccer/ger.1 (Bundesliga), soccer/fra.1 (Ligue 1), soccer/usa.nwsl (NWSL), soccer/eng.2 (Championship), soccer/fifa.worldq.uefa (WC Qualifying UEFA), soccer/fifa.worldq.conmebol (WC Qualifying CONMEBOL), soccer/fifa.worldq.afc (WC Qualifying AFC), soccer/fifa.worldq.caf (WC Qualifying CAF), soccer/fifa.worldq.concacaf (WC Qualifying CONCACAF). Call list_leagues if unsure."
},
"team_id": {
"type": "string",
"minLength": 1,
"description": "Team id from list_teams or from an event's homeTeam/awayTeam."
}
},
"required": [
"sport",
"league"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_news(sport, league, team_id, limit)
Latest news headlines for a league (optionally one team), with links.
Eingabe-Schema
{
"type": "object",
"properties": {
"sport": {
"type": "string",
"enum": [
"football",
"basketball",
"baseball",
"hockey",
"soccer"
],
"description": "Sport slug."
},
"league": {
"type": "string",
"minLength": 1,
"description": "League slug. Monitored leagues (sport/league): football/nfl (NFL), football/college-football (College Football), basketball/nba (NBA), basketball/mens-college-basketball (Men's College Basketball), baseball/mlb (MLB), hockey/nhl (NHL), soccer/usa.1 (MLS), soccer/usa.open (U.S. Open Cup), soccer/eng.1 (Premier League), soccer/uefa.champions (Champions League), soccer/uefa.europa (Europa League), soccer/eng.fa (FA Cup), soccer/esp.1 (LaLiga), soccer/ita.1 (Serie A), soccer/mex.1 (Liga MX), soccer/fifa.world (World Cup), soccer/eng.w.1 (Women's Super League), soccer/uefa.wchampions (Women's Champions League), soccer/uefa.europa.conf (Conference League), soccer/eng.league_cup (League Cup), soccer/ger.1 (Bundesliga), soccer/fra.1 (Ligue 1), soccer/usa.nwsl (NWSL), soccer/eng.2 (Championship), soccer/fifa.worldq.uefa (WC Qualifying UEFA), soccer/fifa.worldq.conmebol (WC Qualifying CONMEBOL), soccer/fifa.worldq.afc (WC Qualifying AFC), soccer/fifa.worldq.caf (WC Qualifying CAF), soccer/fifa.worldq.concacaf (WC Qualifying CONCACAF). Call list_leagues if unsure."
},
"team_id": {
"type": "string",
"minLength": 1,
"description": "Team id from list_teams or from an event's homeTeam/awayTeam."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25
}
},
"required": [
"sport",
"league"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Nachweis