Connect API-Sports to Definable AI

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.

About API-Sports

API-Sports is a productivity tool. Connect it to Definable AI with one-click OAuth2 — no API keys or custom code required.

What you can automate with API-Sports

Use Definable AI's agent platform to trigger workflows from API-Sports, process results with 50+ AI models, and sync data across 900+ connected apps.

Tools & Actions (67 available)

  • Get AFL Game Player Statistics: 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 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 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 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: 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: 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: Tool to get all available basketball bet types. Use when you need to retrieve available betting options for basketball games.
  • 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 Coaches: Tool to fetch coaches and their career history. Use when you need coach info by ID, team filter, or name search.
  • Get Countries: Tool to fetch available countries for league queries. Use when filtering by name, code, or search string before retrieving leagues.
  • Get Fastest Laps Rankings: 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 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 Fixture 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: 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 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 Formula 1 Circuits: Tool to get the list of available Formula 1 circuits. Use when searching for circuits by id, competition, name, or search term.
  • Get Formula 1 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 Driver Rankings: 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 Formula 1 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: 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 Formula 1 Team Rankings: 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 Head-to-Head Fixtures: Tool to get head-to-head fixtures between two teams. Use after determining team IDs to compare their direct match history.
  • Get In-Play Odds: Tool to fetch in-play odds for fixtures in progress. Use during live matches to get in-play odds.
  • 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 League Seasons: Tool to get the list of available seasons for all leagues. Use when you need season filters for other league endpoints.
  • 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 Live Odds 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 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 Fight 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: 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 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: 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 NBA game 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: 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: 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: 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: Tool to list all available pre-match bookmakers. Use when you need to discover or filter bookmakers before fetching odds.
  • 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: Tool to get player statistics. Use when fetching players by id, team, league, season, search, or pagination.
  • 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: 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: 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 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: 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: 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: 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: Tool to get the 20 players with the most yellow cards for a league or cup. Use after confirming league and season.
  • Get Predictions: Tool to get predictions about a fixture. Use when you need calculated predictions for a given fixture ID.
  • Get Race Rankings: 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 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: 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: 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: 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 Team 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 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 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: Tool to get all available transfers for players and teams. Use when you need transfer history filtered by player or team.
  • 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: Tool to retrieve available venues. Use when filtering venues by id, name, city, country, or search before fetching detailed venue data.
  • 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 fixture 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 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 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 game statistics by 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 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 player 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 team statistics: Tool to get detailed statistics of a team for a given league and season. Use after confirming league, season, and team ID.

How to connect API-Sports

  1. Sign in to Definable AI and go to Apps
  2. Search for API-Sports and click Connect
  3. Authorize via OAuth2 — takes under 30 seconds
  4. Use API-Sports actions in your AI agents and workflows