Skip to main content
API-Sports logo

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.

This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.

Connect

API-Sports authenticates with an API key. Generate the credential in your API-Sports account, then paste it into FlyMyAI the first time an agent uses an API-Sports action.

Get your API-Sports credential →

Fields to fill in FlyMyAI

FieldDetails
API-Sports API KeyYour unique API key provided by API-Sports. (required)

Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

ActionWhat it doesRequired inputs
API_SPORTS_GET_COACHSTool to fetch coaches and their career history. use when you need coach info by id, team filter, or name search.-
API_SPORTS_GET_COUNTRIESTool to fetch available countries for league queries. use when filtering by name, code, or search string before retrieving leagues.-
API_SPORTS_GET_FIXTURESTool to retrieve football fixtures/matches. use when filtering fixtures by id, date, league, season, team, or date ranges to get upcoming or past matches.-
API_SPORTS_GET_FIXTURES_EVENTSTool to get events (goals, cards, substitutions, var, etc.) from a fixture. use when you need detailed event data after confirming the fixture id.fixture
API_SPORTS_GET_FIXTURES_HEADTOHEADTool to get head-to-head fixtures between two teams. use after determining team ids to compare their direct match history.h2h
API_SPORTS_GET_FIXTURES_LINEUPSTool 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.fixture
API_SPORTS_GET_FIXTURES_PLAYERSTool to get player statistics from a fixture. use when you need detailed per-player stats for a specific match. optionally filter by team.fixture
API_SPORTS_GET_FIXTURES_ROUNDSTool 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.league, season
API_SPORTS_GET_FIXTURES_STATISTICSTool 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.fixture
API_SPORTS_GET_INJURIESTool 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.-
API_SPORTS_GET_LEAGUESTool to retrieve leagues and cups. use when filtering competitions by id, name, country, code, season, team, type, current, search, or last.-
API_SPORTS_GET_LEAGUES_SEASONSTool to get the list of available seasons for all leagues. use when you need season filters for other league endpoints.-
API_SPORTS_GET_ODDSTool to fetch pre-match odds. use when you need odds filterable by fixture, league, season, date, timezone, bookmaker, bet, or to navigate pages.-
API_SPORTS_GET_ODDS_BETSTool to get all available pre-match bet types. use when filtering by bet id or searching bet names before fetching odds.-
API_SPORTS_GET_ODDS_BOOKMAKERSTool to list all available pre-match bookmakers. use when you need to discover or filter bookmakers before fetching odds.-
API_SPORTS_GET_ODDS_LIVETool to fetch in-play odds for fixtures in progress. use during live matches to get in-play odds.-
API_SPORTS_GET_ODDS_LIVE_BETSTool 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.-
API_SPORTS_GET_PLAYERSTool to get player statistics. use when fetching players by id, team, league, season, search, or pagination.-
API_SPORTS_GET_PLAYERS_PROFILESTool to get the list of all available players. use when you need player profiles optionally filtered by id, name search, or page.-
API_SPORTS_GET_PLAYERS_SEASONSTool to list all available seasons for player statistics. use when building a player statistics query, optionally filtering by a specific player id.-
API_SPORTS_GET_PLAYERS_TEAMSTool 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.player
API_SPORTS_GET_PLAYERS_TOP_ASSISTSTool to get the 20 best players (top assists) for a league or cup. use after confirming league and season.league, season
API_SPORTS_GET_PLAYERS_TOP_SCORERSTool to get the 20 best players (top scorers) for a league or cup. use after confirming league and season.league, season
API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDSTool to get the 20 players with the most yellow cards for a league or cup. use after confirming league and season.league, season
API_SPORTS_GET_PREDICTIONSTool to get predictions about a fixture. use when you need calculated predictions for a given fixture id.fixture
API_SPORTS_GET_SIDELINEDTool to get sidelined information (injuries, suspensions, etc.). use when you need current sidelined records filtered by league, season, team, player, or type.-
API_SPORTS_GET_TEAMSTool to retrieve available teams. use when filtering teams by id, name, league, season, country, code, venue, or search before fetching detailed team data.-
API_SPORTS_GET_TEAMS_STATISTICSTool to get detailed statistics of a team for a given league and season. use after confirming league, season, and team id.league, season, team
API_SPORTS_GET_TIMEZONETool 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.-
API_SPORTS_GET_TRANSFERSTool to get all available transfers for players and teams. use when you need transfer history filtered by player or team.-
API_SPORTS_GET_TROPHIESTool to get trophies for a player or coach. use when you need to list honors filtered by player(s) or coach(es).-
We love our partners - FlyMy.AI builds with the best. Thanks, API-Sports!