The API-Sports connector lets your AI agent act in each user's API-Sports account. Each user connects their own API-Sports API key once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 38 tools.
- Tools
- 38
- What they doRead · write · destructive
- 38 · 0 · 038 read0 write0 destructive
- Users sign in with
- API key
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the API-Sports connection
In AgentKit > Connections, create an API-Sports connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'apisports'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize API-Sports:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'apisports_basketball_get_status',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "apisports"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize API-Sports:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="apisports_basketball_get_status",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user opens the link once and enters their API-Sports credentials there. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_toolapisports_basketball_get_standingsGet the basketball standings of a league season, optionally for one team, stage or group.Read-onlyBasketball: Get Standings
Get the basketball standings of a league season, optionally for one team, stage or group. Returns rows with position, stage, group, team, games played, won and lost (with percentages), points for and against, form and description. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for the league table. Use apisports_basketball_list_games for individual results.
Inputs
leagueintegerrequired- League or cup ID, from apisports_basketball_list_leagues. League IDs stay the same across seasons. Example: 12 (NBA).
seasonstringrequired- Season. Leagues that span two years use 'YYYY-YYYY' (NBA: '2023-2024'); single-year leagues use 'YYYY' (e.g. '2024'). Use a value listed in the league's seasons from apisports_basketball_list_leagues.
groupstring- Group name as it appears in standings results. Example: 'Western Conference'.
stagestring- Stage name as it appears in standings results. Example: 'Regular Season'.
teaminteger- Team ID, from apisports_basketball_list_teams. Example: 145.
apisports_basketball_get_statusGet the API-Basketball subscription status of the connected API-Sports key.Read-onlyBasketball: Get Account Status
Get the API-Basketball subscription status of the connected API-Sports key. Returns the account name and email, the current plan, its end date and active flag, and today's request count against the daily limit. Use it to check the remaining daily basketball quota. Each sport has its own quota; use apisports_football_get_status or apisports_hockey_get_status for the others. This call does not count against the quota.
Inputs
This tool takes no inputs.
apisports_basketball_list_gamesList basketball games (scheduled, live or finished) by game ID, date, league and season, or team.Read-onlyBasketball: List Games
List basketball games (scheduled, live or finished) by game ID, date, league and season, or team. At least one filter is required. Returns each game's ID, date, time and timestamp, timezone, stage, week, status (codes: NS, Q1, Q2, Q3, Q4, OT, BT, HT, FT, AOT, POST, CANC), league, country, home and away teams and scores (per quarter, overtime and total). Games update every 15 seconds. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for basketball schedules, results and live scores. Use apisports_basketball_get_standings for the league table.
Inputs
datestring- Date in YYYY-MM-DD format. Returns games on that day.
idinteger- Game ID. Example: 1912.
leagueinteger- League or cup ID, from apisports_basketball_list_leagues. League IDs stay the same across seasons. Example: 12 (NBA). Use with season.
seasonstring- Season. Leagues that span two years use 'YYYY-YYYY' (NBA: '2023-2024'); single-year leagues use 'YYYY' (e.g. '2024'). Use a value listed in the league's seasons from apisports_basketball_list_leagues. Use with league or team.
teaminteger- Team ID, from apisports_basketball_list_teams. Example: 145.
timezonestring- IANA time zone for the dates and times in the response, e.g. 'America/New_York'. Unknown values fall back to UTC.
apisports_basketball_list_leaguesList basketball leagues and cups, filtered by ID, name, country, type, season or text search.Read-onlyBasketball: List Leagues
List basketball leagues and cups, filtered by ID, name, country, type, season or text search. Returns each league's ID, name, type, logo, country and its seasons with start and end dates and data coverage. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it to find a league ID and its valid season values before calling apisports_basketball_list_games, apisports_basketball_list_teams or apisports_basketball_get_standings.
Inputs
countrystring- Country name. Example: 'USA'.
country_idinteger- Country ID as returned in league results (the country object's id). Example: 5.
idinteger- League ID. Example: 12 (NBA).
namestring- Exact league name. Example: 'NBA'.
searchstring- Free-text search on the league or country name, at least 3 characters. Example: 'nba'.
seasonstring- Season. Leagues that span two years use 'YYYY-YYYY' (NBA: '2023-2024'); single-year leagues use 'YYYY' (e.g. '2024'). Use a value listed in the league's seasons from apisports_basketball_list_leagues.
typestring- Competition type: 'league' or 'cup'.one of
leaguecup
apisports_basketball_list_teamsList basketball teams by ID, name, league and season, or text search.Read-onlyBasketball: List Teams
List basketball teams by ID, name, league and season, or text search. At least one filter is required. Returns each team's ID, name, logo, national-team flag and country. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it to find a team ID for apisports_basketball_list_games or apisports_basketball_get_standings.
Inputs
idinteger- Team ID. Example: 145.
leagueinteger- League or cup ID, from apisports_basketball_list_leagues. League IDs stay the same across seasons. Example: 12 (NBA). Use with season.
namestring- Exact team name. Example: 'Los Angeles Lakers'.
searchstring- Free-text search on the team name, at least 3 characters. Example: 'lakers'.
seasonstring- Season. Leagues that span two years use 'YYYY-YYYY' (NBA: '2023-2024'); single-year leagues use 'YYYY' (e.g. '2024'). Use a value listed in the league's seasons from apisports_basketball_list_leagues. Use with league.
apisports_football_get_fixture_eventsGet the event timeline of one fixture: goals, cards, substitutions and VAR decisions, optionally for one team, one player or one event type.Read-onlyFootball: Get Fixture Events
Get the event timeline of one fixture: goals, cards, substitutions and VAR decisions, optionally for one team, one player or one event type. Returns events with the minute (and extra minutes), team, player, assisting player, type (Goal, Card, subst, Var) and detail (e.g. 'Normal Goal', 'Penalty', 'Yellow Card', 'Substitution 1', 'Goal cancelled') plus any comment. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for who scored or was booked and when. Use apisports_football_get_fixture_statistics for team totals.
Inputs
fixtureintegerrequired- Fixture (match) ID, from apisports_football_list_fixtures. Example: 215662.
playerinteger- Player ID, from apisports_football_list_players or apisports_football_get_squad. Example: 276.
teaminteger- Team ID, from apisports_football_list_teams. Example: 33 (Manchester United).
typestring- Event type: 'Goal', 'Card', 'subst' or 'Var'.
apisports_football_get_fixture_lineupsGet the lineups of one fixture, for both teams or one team.Read-onlyFootball: Get Fixture Lineups
Get the lineups of one fixture, for both teams or one team. Returns, per team, the formation, coach, starting XI and substitutes, with each player's ID, name, shirt number, position (G, D, M, F) and grid position on the pitch. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for who started and the formation. Lineups usually appear 20 to 40 minutes before kickoff. Use apisports_football_get_fixture_player_stats for how each player performed.
Inputs
fixtureintegerrequired- Fixture (match) ID, from apisports_football_list_fixtures. Example: 215662.
playerinteger- Player ID, from apisports_football_list_players or apisports_football_get_squad. Example: 276.
teaminteger- Team ID, from apisports_football_list_teams. Example: 33 (Manchester United).
typestring- Lineup section to return. Example: 'startXI'.
apisports_football_get_fixture_player_statsGet every player's statistics for one fixture, for both teams or one team.Read-onlyFootball: Get Fixture Player Statistics
Get every player's statistics for one fixture, for both teams or one team. Returns, per team, each player's minutes, shirt number, position, rating, captain and substitute flags, offsides, shots, goals and assists, saves, passes, tackles, duels, dribbles, fouls, cards and penalties. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for individual performances in a match. Use apisports_football_list_players for a player's season totals.
Inputs
fixtureintegerrequired- Fixture (match) ID, from apisports_football_list_fixtures. Example: 215662.
teaminteger- Team ID, from apisports_football_list_teams. Example: 33 (Manchester United).
apisports_football_get_fixture_statisticsGet team statistics for one fixture, for both teams or one team.Read-onlyFootball: Get Fixture Statistics
Get team statistics for one fixture, for both teams or one team. Returns, per team, a list of type/value pairs: shots on and off goal, total and blocked shots, shots inside and outside the box, fouls, corners, offsides, ball possession, yellow and red cards, goalkeeper saves, total and accurate passes, pass percentage and expected goals. With half set to true it adds first- and second-half figures (2024 season onward). Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for match-level team numbers. Use apisports_football_get_fixture_player_stats for per-player numbers and apisports_football_get_fixture_events for the timeline.
Inputs
fixtureintegerrequired- Fixture (match) ID, from apisports_football_list_fixtures. Example: 215662.
halfstring- 'true' adds half-time statistics (data from the 2024 season onward).one of
truefalse teaminteger- Team ID, from apisports_football_list_teams. Example: 33 (Manchester United). Returns only this team's statistics.
typestring- Return only one statistic type, named as in the response. Example: 'Total Shots'.
apisports_football_get_head_to_headList past and upcoming fixtures between two teams, optionally filtered by date range, league, season, last or next N, status or venue.Read-onlyFootball: Get Head to Head
List past and upcoming fixtures between two teams, optionally filtered by date range, league, season, last or next N, status or venue. Returns fixtures in the same shape as apisports_football_list_fixtures: teams, kickoff, venue, status, goals and score breakdown. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for the record between two teams. Use apisports_football_list_fixtures for one team's schedule and apisports_football_get_predictions for a pre-match forecast.
Inputs
h2hstringrequired- The two team IDs joined with '-'. Example: '33-34' (Manchester United vs Newcastle).
datestring- Date in YYYY-MM-DD format.
fromstring- Start of a date range, YYYY-MM-DD. Use with 'to'.
lastinteger- Only the last N meetings. Example: 10.
leagueinteger- League or cup ID, from apisports_football_list_leagues. League IDs stay the same across seasons. Example: 39 (Premier League).
nextinteger- Only the next N scheduled meetings. Example: 2.
seasoninteger- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024.
statusstring- One or more status codes joined with '-', e.g. 'FT-AET-PEN'. Codes: TBD (time to be defined), NS (not started), 1H, HT, 2H, ET (extra time), BT (break), P (penalties), SUSP, INT (interrupted), FT, AET, PEN (finished after penalties), PST (postponed), CANC, ABD, AWD, WO, LIVE.
timezonestring- IANA time zone for the dates and times in the response, e.g. 'Europe/London'. Must be one of the values from apisports_football_list_timezones; unknown values fall back to UTC.
tostring- End of a date range, YYYY-MM-DD. Use with 'from'.
venueinteger- Venue ID. Example: 556.
apisports_football_get_predictionsGet API-Football's prediction for one fixture.Read-onlyFootball: Get Predictions
Get API-Football's prediction for one fixture. Returns the predicted winner with a comment, win/draw percentages, advice (e.g. 'Double chance : Manchester United or draw'), predicted goals and under/over, a team comparison (form, attack, defence, Poisson distribution, head-to-head, goals) as percentages, both teams' recent form and season numbers, and recent head-to-head fixtures. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for a pre-match forecast. Use apisports_football_list_odds for bookmaker odds and apisports_football_get_head_to_head for the full head-to-head record.
Inputs
fixtureintegerrequired- Fixture (match) ID, from apisports_football_list_fixtures. Example: 215662.
apisports_football_get_squadGet a team's current squad, or the squads a player currently belongs to.Read-onlyFootball: Get Squad
Get a team's current squad, or the squads a player currently belongs to. Give team or player. Returns the team and its players with ID, name, age, shirt number, position (Goalkeeper, Defender, Midfielder, Attacker) and photo. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for who is in a team now. Use apisports_football_list_players for season statistics.
Inputs
playerinteger- Player ID, from apisports_football_list_players or apisports_football_get_squad. Example: 276. Returns the squads this player is in.
teaminteger- Team ID, from apisports_football_list_teams. Example: 33 (Manchester United).
apisports_football_get_standingsGet the league table for a season, for a whole league or for one team.Read-onlyFootball: Get Standings
Get the league table for a season, for a whole league or for one team. Returns the league and, for each group or stage, rows with rank, team, points, goal difference, group, form, status, promotion/relegation description and played/won/drawn/lost/goals for all, home and away games. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for the current table or a past season's final table. Use apisports_football_get_team_statistics for one team's detailed season numbers.
Inputs
seasonintegerrequired- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024.
leagueinteger- League or cup ID, from apisports_football_list_leagues. League IDs stay the same across seasons. Example: 39 (Premier League). Give league, team or both.
teaminteger- Team ID, from apisports_football_list_teams. Example: 33 (Manchester United). Returns this team's rows in every league it plays in that season, or in the given league.
apisports_football_get_statusGet the API-Football (v3) subscription status of the connected API-Sports key.Read-onlyFootball: Get Account Status
Get the API-Football (v3) subscription status of the connected API-Sports key. Returns the account name and email, the current plan, its end date and active flag, and today's request count against the daily limit. Use it to check the remaining daily quota before a large batch of football calls. Each sport has its own quota; use apisports_basketball_get_status or apisports_hockey_get_status for those. This call does not count against the quota.
Inputs
This tool takes no inputs.
apisports_football_get_team_statisticsGet one team's statistics for a league season, optionally up to a given date.Read-onlyFootball: Get Team Statistics
Get one team's statistics for a league season, optionally up to a given date. Returns the team's form string (e.g. 'WDLWW'), played/won/drawn/lost at home, away and in total, goals for and against with averages and per-15-minute breakdowns, biggest wins, losses and streaks, clean sheets, failed-to-score counts, penalties, formations used and cards by minute. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for a team's season-level numbers. Use apisports_football_get_standings for the league table and apisports_football_get_fixture_statistics for a single match.
Inputs
leagueintegerrequired- League or cup ID, from apisports_football_list_leagues. League IDs stay the same across seasons. Example: 39 (Premier League).
seasonintegerrequired- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024.
teamintegerrequired- Team ID, from apisports_football_list_teams. Example: 33 (Manchester United).
datestring- Date in YYYY-MM-DD format. Only fixtures up to and including this date are counted.
apisports_football_list_bet_typesList the pre-match bet types, optionally by ID or name search.Read-onlyFootball: List Bet Types
List the pre-match bet types, optionally by ID or name search. Returns each bet type's ID and name, e.g. 1 'Match Winner', 5 'Goals Over/Under'. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it to get a bet ID for the bet filter of apisports_football_list_odds.
Inputs
idinteger- Bet type ID. Example: 1.
searchstring- Bet type name search, at least 3 characters. Example: 'winner'.
apisports_football_list_bookmakersList the bookmakers that pre-match odds come from, optionally by ID or name search.Read-onlyFootball: List Bookmakers
List the bookmakers that pre-match odds come from, optionally by ID or name search. Returns each bookmaker's ID and name. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it to get a bookmaker ID for the bookmaker filter of apisports_football_list_odds.
Inputs
idinteger- Bookmaker ID. Example: 8.
searchstring- Free-text search on the bookmaker name, at least 3 characters. Example: 'bet365'.
apisports_football_list_coachesList football coaches by coach ID, current team or name search.Read-onlyFootball: List Coaches
List football coaches by coach ID, current team or name search. At least one filter is required. Returns each coach's ID, name, age, birth date and place, nationality, height, weight, photo, current team and career history (team with start and end dates). Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it to find a team's coach or a coach ID for apisports_football_list_trophies and apisports_football_list_sidelined.
Inputs
idinteger- Coach ID. Example: 2.
searchstring- Free-text search on the coach name, at least 3 characters. Example: 'guardiola'.
teaminteger- Team ID, from apisports_football_list_teams. Example: 33 (Manchester United). Returns the team's coaches.
apisports_football_list_countriesList the countries that have football leagues, optionally filtered by name or code.Read-onlyFootball: List Countries
List the countries that have football leagues, optionally filtered by name or code. Returns each country's name, code and flag URL. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use the name or code as the country filter in apisports_football_list_leagues, apisports_football_list_teams and apisports_football_list_venues.
Inputs
codestring- Country code as returned by this endpoint, 2 to 6 characters. Example: 'FR'.
namestring- Exact country name. Example: 'England'.
searchstring- Free-text search on the country name, at least 3 characters. Example: 'engl'.
apisports_football_list_fixturesList football fixtures (matches) that are scheduled, live or finished, filtered by ID, live status, date or date range, league and season, team, round, status or venue.Read-onlyFootball: List Fixtures
List football fixtures (matches) that are scheduled, live or finished, filtered by ID, live status, date or date range, league and season, team, round, status or venue. Returns each fixture's ID, referee, kickoff date and timestamp, venue, status (code, label, minutes elapsed), league and round, home and away teams with winner flags, current goals, and the score at half time, full time, extra time and penalties. Requests for a single id or ids also include events, lineups, team statistics and player statistics. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for schedules, results and live scores (live='all'). Use apisports_football_get_head_to_head for past meetings of two teams, and the fixture statistics, events, lineups and player-stats tools for one match's details.
Inputs
datestring- Date in YYYY-MM-DD format. Returns fixtures on that day.
fromstring- Start of a date range, YYYY-MM-DD. Use with 'to' and with league, team or season.
idinteger- Fixture ID. Returns that fixture with its events, lineups and statistics. Example: 215662.
idsstring- Up to 20 fixture IDs joined with '-'. Returns each fixture with its events, lineups and statistics. Example: '215662-215663'.
lastinteger- The team's or league's last N finished fixtures (up to 99). Example: 5.
leagueinteger- League or cup ID, from apisports_football_list_leagues. League IDs stay the same across seasons. Example: 39 (Premier League). Use with season.
livestring- 'all' returns every fixture in play now; league IDs joined with '-' (e.g. '39-61') limit it to those leagues.
nextinteger- The team's or league's next N upcoming fixtures (up to 99). Example: 5.
roundstring- Exact round name from apisports_football_list_rounds. Example: 'Regular Season - 1'.
seasoninteger- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024. Use with league or team.
statusstring- One or more status codes joined with '-', e.g. 'NS' or 'FT-AET-PEN'. Codes: TBD (time to be defined), NS (not started), 1H, HT, 2H, ET (extra time), BT (break), P (penalties), SUSP, INT (interrupted), FT, AET, PEN (finished after penalties), PST (postponed), CANC, ABD, AWD, WO, LIVE.
teaminteger- Team ID, from apisports_football_list_teams. Example: 33 (Manchester United).
timezonestring- IANA time zone for the dates and times in the response, e.g. 'Europe/London'. Must be one of the values from apisports_football_list_timezones; unknown values fall back to UTC.
tostring- End of a date range, YYYY-MM-DD. Use with 'from'.
venueinteger- Venue ID, from apisports_football_list_venues. Example: 556.
apisports_football_list_injuriesList players who are injured or suspended, by league and season, fixture, team, player or date.Read-onlyFootball: List Injuries
List players who are injured or suspended, by league and season, fixture, team, player or date. Returns each absence with the player (ID, name, photo, type such as 'Missing Fixture' or 'Questionable', reason such as 'Knee Injury'), team, fixture and league. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it to check who is out before a match. Use apisports_football_list_sidelined for a player's or coach's full injury history.
Inputs
datestring- Date in YYYY-MM-DD format.
fixtureinteger- Fixture (match) ID, from apisports_football_list_fixtures. Example: 215662.
leagueinteger- League or cup ID, from apisports_football_list_leagues. League IDs stay the same across seasons. Example: 39 (Premier League). Use with season.
playerinteger- Player ID, from apisports_football_list_players or apisports_football_get_squad. Example: 276.
seasoninteger- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024. Required with league, team or player.
teaminteger- Team ID, from apisports_football_list_teams. Example: 33 (Manchester United).
timezonestring- IANA time zone for the dates and times in the response, e.g. 'Europe/London'. Must be one of the values from apisports_football_list_timezones; unknown values fall back to UTC.
apisports_football_list_leaguesList football leagues and cups, filtered by ID, name, country, season, team, type or text search.Read-onlyFootball: List Leagues
List football leagues and cups, filtered by ID, name, country, season, team, type or text search. Returns each league's ID, name, type, logo, country and its seasons, with each season's start and end dates, current flag and data coverage (fixture events, lineups, statistics, players, standings, injuries, predictions, odds). Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it to find a league ID and check which data a season covers before calling fixture, standings or player tools. Use apisports_football_list_seasons for the list of all season years.
Inputs
codestring- Country code, from apisports_football_list_countries. Example: 'FR'.
countrystring- Country name, from apisports_football_list_countries. Example: 'England'.
currentstring- 'true' returns only leagues with a season in progress, each with only its current season; 'false' returns the rest.one of
truefalse idinteger- League ID. Example: 39 (Premier League).
lastinteger- Return the last N leagues or cups added to the API (up to 99). Example: 10.
namestring- Exact league name. Example: 'Premier League'.
searchstring- Free-text search on the league or country name, at least 3 characters. Example: 'premier'.
seasoninteger- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024.
teaminteger- Team ID, from apisports_football_list_teams. Example: 33 (Manchester United). Returns the leagues this team plays in.
typestring- Competition type: 'league' or 'cup'.one of
leaguecup
apisports_football_list_oddsList pre-match betting odds by fixture, league and season, or date, optionally for one bookmaker or bet type.Read-onlyFootball: List Pre-Match Odds
List pre-match betting odds by fixture, league and season, or date, optionally for one bookmaker or bet type. Results are paged, 10 per page. Returns, per fixture, the league, fixture and update time, and each bookmaker's bets (e.g. 'Match Winner') with values and odds (e.g. Home 1.85). Odds are kept from 1 to 14 days before kickoff with a 7-day history. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for bookmaker prices. Get bookmaker IDs from apisports_football_list_bookmakers and bet IDs from apisports_football_list_bet_types. Use apisports_football_get_predictions for API-Football's own forecast.
Inputs
betinteger- Bet type ID, from apisports_football_list_bet_types. Example: 1 (Match Winner).
bookmakerinteger- Bookmaker ID, from apisports_football_list_bookmakers. Example: 8.
datestring- Date in YYYY-MM-DD format.
fixtureinteger- Fixture (match) ID, from apisports_football_list_fixtures. Example: 215662.
leagueinteger- League or cup ID, from apisports_football_list_leagues. League IDs stay the same across seasons. Example: 39 (Premier League). Use with season.
pageinteger- Page of results to return, starting at 1. Check `paging.total` in the response for the page count.
seasoninteger- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024. Use with league.
timezonestring- IANA time zone for the dates and times in the response, e.g. 'Europe/London'. Must be one of the values from apisports_football_list_timezones; unknown values fall back to UTC.
apisports_football_list_playersList players with their statistics for a season, by player ID, team, league or name search.Read-onlyFootball: List Players
List players with their statistics for a season, by player ID, team, league or name search. Results are paged, 20 per page. Returns each player's profile (ID, name, age, birth, nationality, height, weight, injured flag, photo) and, per team and league, appearances, minutes, position, rating, substitutions, shots, goals, assists, passes, tackles, duels, dribbles, fouls, cards and penalties. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for season totals of a player or a team's players. Use apisports_football_get_squad for a team's current squad and apisports_football_list_top_scorers for a league's leading scorers.
Inputs
idinteger- Player ID. Example: 276. Use with season.
leagueinteger- League or cup ID, from apisports_football_list_leagues. League IDs stay the same across seasons. Example: 39 (Premier League). Use with season.
pageinteger- Page of results to return, starting at 1. Check `paging.total` in the response for the page count.
searchstring- Player name search, at least 4 characters. Requires league or team. Example: 'neymar'.
seasoninteger- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024. Required with id, team or league.
teaminteger- Team ID, from apisports_football_list_teams. Example: 33 (Manchester United). Use with season.
apisports_football_list_roundsList the rounds of a league season, such as 'Regular Season - 1' or 'Quarter-finals'.Read-onlyFootball: List Rounds
List the rounds of a league season, such as 'Regular Season - 1' or 'Quarter-finals'. Returns an array of round names, or, with dates set to true, objects with each round name and its dates. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it to get an exact round name for the round filter of apisports_football_list_fixtures, or set current to true to find the round in progress.
Inputs
leagueintegerrequired- League or cup ID, from apisports_football_list_leagues. League IDs stay the same across seasons. Example: 39 (Premier League).
seasonintegerrequired- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024.
currentstring- 'true' returns only the current round.one of
truefalse datesstring- 'true' adds the dates of each round to the response.one of
truefalse timezonestring- IANA time zone for the dates and times in the response, e.g. 'Europe/London'. Must be one of the values from apisports_football_list_timezones; unknown values fall back to UTC.
apisports_football_list_seasonsList every season year available in API-Football.Read-onlyFootball: List Seasons
List every season year available in API-Football. Returns an array of 4-digit years, e.g. [2010, 2011, ..., 2025]. A season spanning two years is keyed by its start year. Use it to see which season values exist. Use apisports_football_list_leagues to see which seasons a given league covers.
Inputs
This tool takes no inputs.
apisports_football_list_sidelinedList the injury and suspension history of a player or a coach.Read-onlyFootball: List Sidelined
List the injury and suspension history of a player or a coach. Give player or coach. Returns each period with type (e.g. 'Knee Injury', 'Suspended'), start date and end date. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for a full absence history. Use apisports_football_list_injuries for absences tied to specific fixtures.
Inputs
coachinteger- Coach ID, from apisports_football_list_coaches. Example: 2.
playerinteger- Player ID, from apisports_football_list_players or apisports_football_get_squad. Example: 276.
apisports_football_list_teamsList football teams by ID, name, league and season, country, code, venue or text search.Read-onlyFootball: List Teams
List football teams by ID, name, league and season, country, code, venue or text search. At least one filter is required. Returns each team's ID, name, 3-letter code, country, founding year, national-team flag and logo, plus its home venue (ID, name, address, city, capacity, surface, image). Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it to find a team ID. Use apisports_football_get_team_statistics for a team's season numbers and apisports_football_get_squad for its players.
Inputs
codestring- 3-letter team code. Example: 'MUN'.
countrystring- Country name, from apisports_football_list_countries. Example: 'England'.
idinteger- Team ID. Example: 33 (Manchester United).
leagueinteger- League or cup ID, from apisports_football_list_leagues. League IDs stay the same across seasons. Example: 39 (Premier League). Use with season.
namestring- Exact team name. Example: 'Manchester United'.
searchstring- Free-text search on the team name or country, at least 3 characters. Example: 'manchester'.
seasoninteger- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024. Use with league.
venueinteger- Venue ID, from apisports_football_list_venues. Example: 556 (Old Trafford).
apisports_football_list_timezonesList the IANA time zones that football endpoints accept in their timezone parameter.Read-onlyFootball: List Timezones
List the IANA time zones that football endpoints accept in their timezone parameter. Returns an array of time zone names such as 'Europe/London'. Use it to pick a valid timezone for apisports_football_list_fixtures, apisports_football_get_head_to_head, apisports_football_list_rounds, apisports_football_list_injuries or apisports_football_list_odds.
Inputs
This tool takes no inputs.
apisports_football_list_top_scorersList the 20 top scorers of a league season.Read-onlyFootball: List Top Scorers
List the 20 top scorers of a league season. Returns players ranked by goals, in the same shape as apisports_football_list_players: profile plus season statistics. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for a league's scoring chart. Use apisports_football_list_players for any other player's statistics.
Inputs
leagueintegerrequired- League or cup ID, from apisports_football_list_leagues. League IDs stay the same across seasons. Example: 39 (Premier League).
seasonintegerrequired- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024.
apisports_football_list_transfersList transfers for a player or a team.Read-onlyFootball: List Transfers
List transfers for a player or a team. Give player or team. Returns, per player, transfers with date, type (e.g. 'Loan', 'Free' or a fee such as '€ 222M') and the teams in and out. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for a player's transfer history or a club's incoming and outgoing moves.
Inputs
playerinteger- Player ID, from apisports_football_list_players or apisports_football_get_squad. Example: 276.
teaminteger- Team ID, from apisports_football_list_teams. Example: 33 (Manchester United).
apisports_football_list_trophiesList trophies won by a player or a coach.Read-onlyFootball: List Trophies
List trophies won by a player or a coach. Give player or coach. Returns each trophy with league, country, season and place (e.g. 'Winner', '2nd Place'). Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for a player's or coach's honours.
Inputs
coachinteger- Coach ID, from apisports_football_list_coaches. Example: 2.
playerinteger- Player ID, from apisports_football_list_players or apisports_football_get_squad. Example: 276.
apisports_football_list_venuesList football stadiums by ID, name, city, country or text search.Read-onlyFootball: List Venues
List football stadiums by ID, name, city, country or text search. At least one filter is required. Returns each venue's ID, name, address, city, country, capacity, surface and image URL. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it to look up a stadium or find a venue ID for the venue filter of apisports_football_list_fixtures or apisports_football_list_teams.
Inputs
citystring- City name. Example: 'Manchester'.
countrystring- Country name. Example: 'England'.
idinteger- Venue ID. Example: 556 (Old Trafford).
namestring- Exact venue name. Example: 'Old Trafford'.
searchstring- Free-text search on the venue name, city or country, at least 3 characters. Example: 'trafford'.
apisports_hockey_get_standingsGet the hockey standings of a league season, optionally for one team, stage or group.Read-onlyHockey: Get Standings
Get the hockey standings of a league season, optionally for one team, stage or group. Returns rows with position, stage, group, team, games played, won and lost (with percentages), points for and against, form and description. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for the league table. Use apisports_hockey_list_games for individual results.
Inputs
leagueintegerrequired- League or cup ID, from apisports_hockey_list_leagues. League IDs stay the same across seasons. Example: 57 (NHL).
seasonintegerrequired- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024.
groupstring- Group name as it appears in standings results. Example: 'Atlantic Division'.
stagestring- Stage name as it appears in standings results. Example: 'NHL - Regular Season'.
teaminteger- Team ID, from apisports_hockey_list_teams. Example: 670.
apisports_hockey_get_statusGet the API-Hockey subscription status of the connected API-Sports key.Read-onlyHockey: Get Account Status
Get the API-Hockey subscription status of the connected API-Sports key. Returns the account name and email, the current plan, its end date and active flag, and today's request count against the daily limit. Use it to check the remaining daily hockey quota. Each sport has its own quota; use apisports_football_get_status or apisports_basketball_get_status for the others. This call does not count against the quota.
Inputs
This tool takes no inputs.
apisports_hockey_list_gamesList hockey games (scheduled, live or finished) by game ID, date, league and season, or team.Read-onlyHockey: List Games
List hockey games (scheduled, live or finished) by game ID, date, league and season, or team. At least one filter is required. Returns each game's ID, date, time and timestamp, timezone, stage, week, status (codes: NS, P1, P2, P3, OT, PT, BT, AW, POST, CANC, INTR, ABD, AOT, AP, FT), league, country, home and away teams and scores (per period, overtime and total). Games update every 15 seconds. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it for hockey schedules, results and live scores. Use apisports_hockey_get_standings for the league table.
Inputs
datestring- Date in YYYY-MM-DD format. Returns games on that day.
idinteger- Game ID. Example: 1912.
leagueinteger- League or cup ID, from apisports_hockey_list_leagues. League IDs stay the same across seasons. Example: 57 (NHL). Use with season.
seasoninteger- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024. Use with league or team.
teaminteger- Team ID, from apisports_hockey_list_teams. Example: 670.
timezonestring- IANA time zone for the dates and times in the response, e.g. 'America/New_York'. Unknown values fall back to UTC.
apisports_hockey_list_leaguesList hockey leagues and cups, filtered by ID, name, country, type, season or text search.Read-onlyHockey: List Leagues
List hockey leagues and cups, filtered by ID, name, country, type, season or text search. Returns each league's ID, name, type, logo, country and its seasons with start and end dates and data coverage. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it to find a league ID and its valid season values before calling apisports_hockey_list_games, apisports_hockey_list_teams or apisports_hockey_get_standings.
Inputs
countrystring- Country name. Example: 'USA'.
country_idinteger- Country ID as returned in league results (the country object's id). Example: 5.
idinteger- League ID. Example: 57 (NHL).
namestring- Exact league name. Example: 'NHL'.
searchstring- Free-text search on the league or country name, at least 3 characters. Example: 'nhl'.
seasoninteger- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024.
typestring- Competition type: 'league' or 'cup'.one of
leaguecup
apisports_hockey_list_teamsList hockey teams by ID, name, league and season, or text search.Read-onlyHockey: List Teams
List hockey teams by ID, name, league and season, or text search. At least one filter is required. Returns each team's ID, name, logo, national-team flag and country. Bad or missing parameters come back as HTTP 200 with an empty `response` and the reason in `errors`. Use it to find a team ID for apisports_hockey_list_games or apisports_hockey_get_standings.
Inputs
idinteger- Team ID. Example: 670.
leagueinteger- League or cup ID, from apisports_hockey_list_leagues. League IDs stay the same across seasons. Example: 57 (NHL). Use with season.
namestring- Exact team name. Example: 'Boston Bruins'.
searchstring- Free-text search on the team name, at least 3 characters. Example: 'bruins'.
seasoninteger- Season as a 4-digit start year (YYYY). A season that spans two years, such as 2024-2025, is 2024. Example: 2024. Use with league.
No tools match.