# API-Sports

API-Sports provides comprehensive sports data APIs covering over 2,000 competitions with more than 15 years of historical data, offering real-time updates and easy integration for developers.

- **Category:** developer tools
- **Auth:** API_KEY
- **Tools:** 67
- **Triggers:** 0
- **Slug:** `API_SPORTS`
- **Version:** 20260217_00

## Tools

### Get AFL Games

**Slug:** `API_SPORTS_GET_AFL_GAMES`

Tool to retrieve AFL games and matches. Use when filtering games by id, date, league, season, team, or timezone to get upcoming, past, or live matches.

### Get AFL Game Player Statistics

**Slug:** `API_SPORTS_GET_AFL_GAMES_STATISTICS_PLAYERS`

Tool to retrieve player statistics from AFL (Australian Football League) game(s). Use when you need detailed player performance data for specific AFL games by game ID, player ID, or season.

### Get AFL Seasons

**Slug:** `API_SPORTS_GET_AFL_SEASONS`

Tool to get the list of available seasons for AFL. All seasons are 4-digit keys (e.g., 2018 for 2018-2019 season). Use when you need season filters for AFL endpoints.

### Get AFL Standings

**Slug:** `API_SPORTS_GET_AFL_STANDINGS`

Tool to retrieve AFL standings for a league. Use when needing current team rankings, points, and positions for a specific season.

### Get Baseball Games Head-to-Head

**Slug:** `API_SPORTS_GET_BASEBALL_GAMES_H2H`

Tool to get head-to-head baseball games between two teams. Use when comparing the match history between two specific baseball teams.

### Get Basketball Bets

**Slug:** `API_SPORTS_GET_BASKETBALL_BETS`

Tool to get all available basketball bet types. Use when you need to retrieve available betting options for basketball games.

### Get Basketball Bookmakers

**Slug:** `API_SPORTS_GET_BASKETBALL_BOOKMAKERS`

Tool to get all available basketball bookmakers. Use when you need to retrieve available bookmakers for basketball odds and betting data.

### Get basketball statistics

**Slug:** `API_SPORTS_GET_BASKETBALL_STATISTICS`

Tool to get basketball statistics for a team in a given league and season. Use when you need detailed basketball team statistics including games played, wins, losses, points, and other performance metrics.

### Get Formula 1 Circuits

**Slug:** `API_SPORTS_GET_CIRCUITS`

Tool to get the list of available Formula 1 circuits. Use when searching for circuits by id, competition, name, or search term.

### Get Coaches

**Slug:** `API_SPORTS_GET_COACHS`

Tool to fetch coaches and their career history. Use when you need coach info by ID, team filter, or name search.

### Get Countries

**Slug:** `API_SPORTS_GET_COUNTRIES`

Tool to fetch available countries for league queries. Use when filtering by name, code, or search string before retrieving leagues.

### Get Fighters Records

**Slug:** `API_SPORTS_GET_FIGHTERS_RECORDS`

Tool to get fighter career statistics. Use when you need a fighter's complete record including wins, losses, draws, knockouts, and submissions.

### Get Fixtures

**Slug:** `API_SPORTS_GET_FIXTURES`

Tool to retrieve football fixtures/matches. Use when filtering fixtures by id, date, league, season, team, or date ranges to get upcoming or past matches.

### Get fixtures events

**Slug:** `API_SPORTS_GET_FIXTURES_EVENTS`

Tool to get events (goals, cards, substitutions, VAR, etc.) from a fixture. Use when you need detailed event data after confirming the fixture ID.

### Get Head-to-Head Fixtures

**Slug:** `API_SPORTS_GET_FIXTURES_HEADTOHEAD`

Tool to get head-to-head fixtures between two teams. Use after determining team IDs to compare their direct match history.

### Get Fixture Lineups

**Slug:** `API_SPORTS_GET_FIXTURES_LINEUPS`

Tool to retrieve starting XI and substitutes for a fixture. Use after confirming fixture ID; optionally filter by team, player, or section (startXI/substitutes). Lineups appear ~20-40 minutes before kickoff for supported competitions.

### Get fixtures players

**Slug:** `API_SPORTS_GET_FIXTURES_PLAYERS`

Tool to get player statistics from a fixture. Use when you need detailed per-player stats for a specific match. Optionally filter by team.

### Get Fixtures Rounds

**Slug:** `API_SPORTS_GET_FIXTURES_ROUNDS`

Tool to get the rounds for a league or cup. Use after confirming league and season to retrieve available round identifiers (optionally with dates) for filtering fixtures.

### Get fixture statistics

**Slug:** `API_SPORTS_GET_FIXTURES_STATISTICS`

Tool to get statistics for a fixture. Use when you need detailed match stats (shots, fouls, possession, cards, passes, etc.), optionally filtered by team, statistic type, or including halftime data.

### Get Formula 1 Competitions

**Slug:** `API_SPORTS_GET_FORMULA1_COMPETITIONS`

Tool to retrieve Formula 1 competitions (Grand Prix races). Use when filtering competitions by id, name, country, city, or search term.

### Get Formula 1 Races

**Slug:** `API_SPORTS_GET_FORMULA1_RACES`

Tool to retrieve Formula 1 race information for a given season. Use when you need to get race schedules, results, or details for a specific Formula 1 competition season.

### Get Formula 1 Starting Grid

**Slug:** `API_SPORTS_GET_FORMULA1_RANKINGS_STARTINGGRID`

Tool to retrieve the starting grid for a Formula 1 race. Use when you need to get the qualifying positions and times for drivers before a race starts.

### Get games events

**Slug:** `API_SPORTS_GET_GAMES_EVENTS`

Tool to get events (goals, penalties, etc.) from a game. Use when you need detailed event data after confirming the game ID.

### Get AFL Games Quarters

**Slug:** `API_SPORTS_GET_GAMES_QUARTERS`

Tool to retrieve AFL game quarter scores. Use when you need detailed scoring breakdown by quarter for one or multiple AFL games.

### Get game statistics by teams

**Slug:** `API_SPORTS_GET_GAMES_STATISTICS_TEAMS`

Tool to get team statistics from a game by ID. Use when you need detailed team stats (assists, blocks, field goals, rebounds, steals, turnovers, etc.) for a specific game or multiple games.

### Get Injuries

**Slug:** `API_SPORTS_GET_INJURIES`

Tool to get injured or suspended players. Use when you need a list of sidelined players filtered by league, season, fixture, team, player, date, ids, or timezone.

### Get Leagues

**Slug:** `API_SPORTS_GET_LEAGUES`

Tool to retrieve leagues and cups. Use when filtering competitions by id, name, country, code, season, team, type, current, search, or last.

### Get League Seasons

**Slug:** `API_SPORTS_GET_LEAGUES_SEASONS`

Tool to get the list of available seasons for all leagues. Use when you need season filters for other league endpoints.

### Get MMA Categories

**Slug:** `API_SPORTS_GET_MMA_CATEGORIES`

Tool to fetch the list of all available MMA categories. Use when you need to get weight class categories (e.g., 'Flyweight', 'Lightweight', 'Heavyweight') for MMA fights.

### Get MMA Fighters

**Slug:** `API_SPORTS_GET_MMA_FIGHTERS`

Tool to fetch MMA fighters data. Use when you need to get fighter information by id, team, name, category, or search term.

### Get MMA Fights

**Slug:** `API_SPORTS_GET_MMA_FIGHTS`

Tool to retrieve the list of MMA fights according to given parameters. Use when filtering fights by id, date, season, fighter, or weight category to get upcoming or past MMA fight details.

### Get MMA Fight Results

**Slug:** `API_SPORTS_GET_MMA_FIGHTS_RESULTS`

Tool to retrieve results from one or several MMA fights. Use when you need outcome details like victory method, round, time, knockout type, or judge scores for specific fights by id(s) or date.

### Get MMA Fighter Statistics

**Slug:** `API_SPORTS_GET_MMA_FIGHTS_STATISTICS_FIGHTERS`

Tool to get fighter statistics from MMA fights. Use when you need detailed strike, takedown, and grappling statistics for fighters in specific fights or on a specific date.

### Get NBA game statistics

**Slug:** `API_SPORTS_GET_NBA_GAMES_STATISTICS`

Tool to get NBA game statistics including player stats for both teams. Use when you need detailed statistics for a specific NBA game such as points, rebounds, assists, field goals, free throws, and other performance metrics.

### Get NFL Standings Conferences

**Slug:** `API_SPORTS_GET_NFL_STANDINGS_CONFERENCES`

Tool to retrieve the list of available conferences for the NFL to be used in the standings endpoint. Use when you need to know which conferences are available for a specific NFL league and season before fetching detailed standings data.

### Get Odds

**Slug:** `API_SPORTS_GET_ODDS`

Tool to fetch pre-match odds. Use when you need odds filterable by fixture, league, season, date, timezone, bookmaker, bet, or to navigate pages.

### Get Odds Bets

**Slug:** `API_SPORTS_GET_ODDS_BETS`

Tool to get all available pre-match bet types. Use when filtering by bet ID or searching bet names before fetching odds.

### Get Odds Bookmakers

**Slug:** `API_SPORTS_GET_ODDS_BOOKMAKERS`

Tool to list all available pre-match bookmakers. Use when you need to discover or filter bookmakers before fetching odds.

### Get In-Play Odds

**Slug:** `API_SPORTS_GET_ODDS_LIVE`

Tool to fetch in-play odds for fixtures in progress. Use during live matches to get in-play odds.

### Get Live Odds Bets

**Slug:** `API_SPORTS_GET_ODDS_LIVE_BETS`

Tool to fetch all available bet types for in-play odds. Use when you need to retrieve bet IDs or names (optionally filtering by id or search) before fetching live odds.

### Get Odds Mapping

**Slug:** `API_SPORTS_GET_ODDS_MAPPING`

Tool to get the list of available fixture IDs for the odds endpoint. Use when you need to discover which fixtures have odds data available.

### Get Players

**Slug:** `API_SPORTS_GET_PLAYERS`

Tool to get player statistics. Use when fetching players by id, team, league, season, search, or pagination.

### Get Players Profiles

**Slug:** `API_SPORTS_GET_PLAYERS_PROFILES`

Tool to get the list of all available players. Use when you need player profiles optionally filtered by ID, name search, or page.

### Get Players Seasons

**Slug:** `API_SPORTS_GET_PLAYERS_SEASONS`

Tool to list all available seasons for player statistics. Use when building a player statistics query, optionally filtering by a specific player id.

### Get Players Squads

**Slug:** `API_SPORTS_GET_PLAYERS_SQUADS`

Tool to get player squads. Use when fetching the current squad of a team (with team ID) or finding which teams a player belongs to (with player ID).

### Get player statistics

**Slug:** `API_SPORTS_GET_PLAYERS_STATISTICS`

Tool to get player statistics for a specific basketball game. Use when you need detailed performance stats like points, rebounds, assists, field goals, three pointers, free throws, etc. Requires at least a game ID to retrieve player statistics.

### Get Players Teams

**Slug:** `API_SPORTS_GET_PLAYERS_TEAMS`

Tool to get the list of teams and seasons in which a player played during his career. Use after confirming the player ID to retrieve club history.

### Get Players Top Assists

**Slug:** `API_SPORTS_GET_PLAYERS_TOP_ASSISTS`

Tool to get the 20 best players (top assists) for a league or cup. Use after confirming league and season.

### Get Players Top Red Cards

**Slug:** `API_SPORTS_GET_PLAYERS_TOP_RED_CARDS`

Tool to get the 20 players with the most red cards for a league or cup. Use after confirming league and season.

### Get Players Top Scorers

**Slug:** `API_SPORTS_GET_PLAYERS_TOP_SCORERS`

Tool to get the 20 best players (top scorers) for a league or cup. Use after confirming league and season.

### Get Players Top Yellow Cards

**Slug:** `API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS`

Tool to get the 20 players with the most yellow cards for a league or cup. Use after confirming league and season.

### Get Predictions

**Slug:** `API_SPORTS_GET_PREDICTIONS`

Tool to get predictions about a fixture. Use when you need calculated predictions for a given fixture ID.

### Get Formula 1 Driver Rankings

**Slug:** `API_SPORTS_GET_RANKINGS_DRIVERS`

Tool to retrieve Formula 1 driver rankings for a season. Use when querying driver standings, championship positions, or filtering by specific driver or team.

### Get Fastest Laps Rankings

**Slug:** `API_SPORTS_GET_RANKINGS_FASTEST_LAPS`

Tool to get the ranking of the fastest laps for a Formula 1 race. Use when retrieving fastest lap times, speeds, and rankings by race, team, or driver.

### Get Race Rankings

**Slug:** `API_SPORTS_GET_RANKINGS_RACES`

Tool to retrieve rankings for a specific Formula 1 race. Use when you need to get finishing positions, lap times, and pit stop information for drivers in a race.

### Get Formula 1 Team Rankings

**Slug:** `API_SPORTS_GET_RANKINGS_TEAMS`

Tool to retrieve Formula 1 team rankings for a specific season. Use when you need to get championship standings showing teams ordered by points.

### Get Sidelined

**Slug:** `API_SPORTS_GET_SIDELINED`

Tool to get sidelined information (injuries, suspensions, etc.). Use when you need current sidelined records filtered by league, season, team, player, or type.

### Get Standings Divisions

**Slug:** `API_SPORTS_GET_STANDINGS_DIVISIONS`

Tool to retrieve the list of available divisions for an NFL competition to be used in the standings endpoint. Use when you need to know which divisions are available for a specific league and season before fetching detailed standings data.

### Get Standings Groups

**Slug:** `API_SPORTS_GET_STANDINGS_GROUPS`

Tool to retrieve the list of available groups for a league to be used in the standings endpoint. Use when querying standings groups for a specific league and season before fetching detailed standings data.

### Get Standings Stages

**Slug:** `API_SPORTS_GET_STANDINGS_STAGES`

Tool to retrieve the list of available stages for a league to be used in the standings endpoint. Use when you need to know which stages or groups are available for a specific league and season before fetching standings data.

### Get Teams

**Slug:** `API_SPORTS_GET_TEAMS`

Tool to retrieve available teams. Use when filtering teams by id, name, league, season, country, code, venue, or search before fetching detailed team data.

### Get Team Seasons

**Slug:** `API_SPORTS_GET_TEAMS_SEASONS`

Tool to get the list of seasons available for a team. Use when you need to know which seasons a specific team has data for.

### Get team statistics

**Slug:** `API_SPORTS_GET_TEAMS_STATISTICS`

Tool to get detailed statistics of a team for a given league and season. Use after confirming league, season, and team ID.

### Get Timezone

**Slug:** `API_SPORTS_GET_TIMEZONE`

Tool to fetch the complete list of available timezones for fixture queries. Use when you need valid timezone identifiers (e.g., 'Europe/London') before calling fixtures endpoints.

### Get Transfers

**Slug:** `API_SPORTS_GET_TRANSFERS`

Tool to get all available transfers for players and teams. Use when you need transfer history filtered by player or team.

### Get Trophies

**Slug:** `API_SPORTS_GET_TROPHIES`

Tool to get trophies for a player or coach. Use when you need to list honors filtered by player(s) or coach(es).

### Get Venues

**Slug:** `API_SPORTS_GET_VENUES`

Tool to retrieve available venues. Use when filtering venues by id, name, city, country, or search before fetching detailed venue data.
