Api sports
Overview
SLUG: API_SPORTS
Description
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.
Authentication Details
API Key
Connecting to Api sports
Create an auth config
Use the dashboard to create an auth config for the Api sports toolkit. This allows you to connect multiple Api sports accounts to Composio for agents to use.
Select App
Navigate to the [Api sports toolkit page](https://app.composio.dev/apps/Api sports) and click “Setup Integration”.
Create and Get auth config ID
Click “Create Integration”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
API_SPORTS_GET_FIXTURES_EVENTS
Tool Name: Get fixtures events
Description
Action Parameters
Action Response
API_SPORTS_GET_FIXTURES_HEADTOHEAD
Tool Name: Get Head-to-Head Fixtures
Description
Action Parameters
Action Response
API_SPORTS_GET_FIXTURES_LINEUPS
Tool Name: Get Fixture Lineups
Description
Action Parameters
Action Response
API_SPORTS_GET_FIXTURES_STATISTICS
Tool Name: Get fixture statistics
Description
Action Parameters
Action Response
API_SPORTS_GET_INJURIES
Tool Name: Get Injuries
Description
Action Parameters
Action Response
API_SPORTS_GET_LEAGUES
Tool Name: Get Leagues
Description
Action Parameters
Action Response
API_SPORTS_GET_LEAGUES_SEASONS
Tool Name: Get League Seasons
Description
Action Parameters
Action Response
API_SPORTS_GET_ODDS
Tool Name: Get Odds
Description
Action Parameters
Action Response
API_SPORTS_GET_ODDS_LIVE
Tool Name: Get In-Play Odds
Description
Action Parameters
Action Response
API_SPORTS_GET_PLAYERS
Tool Name: Get Players
Description
Action Parameters
Action Response
API_SPORTS_GET_PLAYERS_PROFILES
Tool Name: Get Players Profiles
Description
Action Parameters
Action Response
API_SPORTS_GET_PLAYERS_SEASONS
Tool Name: Get Players Seasons
Description
Action Parameters
Action Response
API_SPORTS_GET_PLAYERS_TEAMS
Tool Name: Get Players Teams
Description
Action Parameters
Action Response
API_SPORTS_GET_PLAYERS_TOP_SCORERS
Tool Name: Get Players Top Scorers
Description
Action Parameters
Action Response
API_SPORTS_GET_TEAMS
Tool Name: Get Teams
Description
Action Parameters
Action Response
API_SPORTS_GET_TEAMS_STATISTICS
Tool Name: Get team statistics
Description
Action Parameters
Action Response
API_SPORTS_GET_COACHS
Tool Name: Get Coaches
Description
Action Parameters
Action Response
API_SPORTS_GET_COUNTRIES
Tool Name: Get Countries
Description
Action Parameters
Action Response
API_SPORTS_GET_FIXTURES_PLAYERS
Tool Name: Get fixtures players
Description
Action Parameters
Action Response
API_SPORTS_GET_FIXTURES_ROUNDS
Tool Name: Get Fixtures Rounds
Description
Action Parameters
Action Response
API_SPORTS_GET_ODDS_BETS
Tool Name: Get Odds Bets
Description
Action Parameters
Action Response
API_SPORTS_GET_ODDS_BOOKMAKERS
Tool Name: Get Odds Bookmakers
Description
Action Parameters
Action Response
API_SPORTS_GET_ODDS_LIVE_BETS
Tool Name: Get Live Odds Bets
Description
Action Parameters
Action Response
API_SPORTS_GET_PLAYERS_TOP_ASSISTS
Tool Name: Get Players Top Assists
Description
Action Parameters
Action Response
API_SPORTS_GET_PLAYERS_TOP_YELLOW_CARDS
Tool Name: Get Players Top Yellow Cards
Description
Action Parameters
Action Response
API_SPORTS_GET_PREDICTIONS
Tool Name: Get Predictions
Description
Action Parameters
Action Response
API_SPORTS_GET_SIDELINED
Tool Name: Get Sidelined
Description
Action Parameters
Action Response
API_SPORTS_GET_TIMEZONE
Tool Name: Get Timezone
Description
Action Parameters
Action Response
API_SPORTS_GET_TRANSFERS
Tool Name: Get Transfers
Description
Action Parameters
Action Response
API_SPORTS_GET_TROPHIES
Tool Name: Get Trophies
Description
Action Parameters
Action Response