API-Sports

67 tools available

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.

Connect API-Sports to Definable to triage issues, review pull requests, monitor builds. Personas call API-Sports's 67 tools directly from chat or scheduled flows. Wire it into a triage, review, or release-management persona — every action runs scoped, reviewable, and logged.

Common workflows with API-Sports

01

Triage incoming issues

  1. Webhook fires on every new issue
  2. Persona summarises and labels it
  3. Assigns the right engineer
02

Auto-review PRs

  1. Pull the diff
  2. Run a code-review persona
  3. Post structured feedback as PR comment
03

Failing-build alerts

  1. CI sends a failure event
  2. Agent inspects logs and stack trace
  3. Drops a debug summary in Slack
04

Release notes from commits

  1. Read commits since last tag
  2. Group by type with the model
  3. Post to a changelog channel

API-Sports actions 67

Every API-Sports action below is a callable tool any Definable persona can invoke.

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

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

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

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

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

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. Always provide at least one of season, date, team, or league to avoid oversized payloads. Never guess IDs — obtain valid league, season, team, or fixture IDs before calling this tool.

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

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

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

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

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

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

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

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

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

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

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

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

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

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 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 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 In-Play Odds

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

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 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. Returned player IDs are used as inputs to downstream tools such as fixtures statistics, predictions, and odds.

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 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 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. Predictions may not be available for all fixtures; empty or null responses indicate no predictions exist, not an error.

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 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 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 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 Sidelined

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

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 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. Team IDs are not inferrable from names; use `name` or `search` to look up and confirm the correct `id` before passing it to downstream requests.

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 team 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

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.

Frequently asked questions

What can I automate with API-Sports on Definable?

Anything API-Sports exposes through its API. Common developer tools workflows on Definable include triage issues, review pull requests, monitor builds. Personas can call any of the 67 API-Sports tools directly, then chain the result into another integration without you writing code.

How does API-Sports authentication work?

API-Sports uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.

Is the API-Sports integration included in my Definable plan?

Yes — every Definable plan, including Starter, includes access to all 67 API-Sports tools. You only need a separate API-Sports subscription if API-Sports itself charges per seat or per API call.

Is using API-Sports through Definable secure?

Every call from a persona to API-Sports is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.

How do I get started with API-Sports on Definable?

Sign up for Definable, open the integrations page, find API-Sports, and connect via OAuth or API key. You can immediately attach API-Sports to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.

What API-Sports actions does Definable expose?

Definable exposes all 67 API-Sports actions as callable tools — including `Get AFL Games`, `Get AFL Game Player Statistics`, `Get AFL Seasons`, plus 64 more. Each tool gets a typed parameter schema so personas know exactly how to call it.

Ready to automate with API-Sports?

Wire it up in minutes. No coding required.

← All integrations