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
| Field | Details |
|---|---|
API-Sports API Key | Your 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.
| Action | What it does | Required inputs |
|---|---|---|
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. | - |
API_SPORTS_GET_COUNTRIES | Tool to fetch available countries for league queries. use when filtering by name, code, or search string before retrieving leagues. | - |
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. | - |
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. | fixture |
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. | h2h |
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. | fixture |
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. | fixture |
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. | league, season |
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. | fixture |
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. | - |
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. | - |
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. | - |
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. | - |
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. | - |
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. | - |
API_SPORTS_GET_ODDS_LIVE | Tool to fetch in-play odds for fixtures in progress. use during live matches to get in-play odds. | - |
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. | - |
API_SPORTS_GET_PLAYERS | Tool to get player statistics. use when fetching players by id, team, league, season, search, or pagination. | - |
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. | - |
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. | - |
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. | player |
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. | league, season |
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. | league, season |
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. | league, season |
API_SPORTS_GET_PREDICTIONS | Tool to get predictions about a fixture. use when you need calculated predictions for a given fixture id. | fixture |
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. | - |
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. | - |
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. | league, season, team |
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. | - |
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. | - |
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). | - |
Links
We love our partners - FlyMy.AI builds with the best. Thanks, API-Sports!