logo
theme
API-FOOTBALL
FREEMIUM
By api-sports
Updated 11 days ago

API-FOOTBALL API Documentation

We cover +550 football major and minor leagues and many more to come. Livescore (15s), pre-matchs odds, events, line-ups, coachs, players, top scorers, standings, statistics, transfers, predictions. Documentation : https://www.api-football.com/documentation | Demo : https://www.api-football.com/demo/ | Beta : https://rapidapi.com/api-sports/api/api-football-beta | Basketball : https://rapidapi.com/api-sports/api/api-basketball

Learn more about this API
GETpredictions
GETtimezone
Fixtures
GETlast fixtures from league id
GETlast fixtures from team id
GETnext fixtures from league id
GETfixtures from league id
GETfixtures from one date
GETh2h between 2 teams
GETfixtures in play
GETfixtures from id
GETfixtures from league id & date
GETnext fixtures from team id
GETfixtures from team id
GETfixtures in play filtered by league ids
GETfixtures from team & league ids
GETfixtures from league id & round
Teams
GETteam from id
GETteams from league id
V1
GET/countries
GET/seasons
GET/leagues
GET/leagues/league/{league_id}
GET/leagues/season/{season}
GET/teams/team/{team_id}
GET/teams/league/{league_id}
GET/fixtures/date/{date}
GET/fixtures/live
GET/fixtures/league/{league_id}
GET/fixtures/team/{team_id}
GET/events/{fixture_id}
GET/odds/{fixture_id}
GET/fixtures/id/{fixture_id}
GET/standings/{league_id}
GET/fixtures/h2h/{team_1}/{team_2}
GET/statistics/{league_id}/{team_id}
GET/leagues/country/{country_name}/{season}
GET/lineups/{fixture_id}
GET/statistics/{league_id}/{team_id}/{date}
GET/players/{season}/{team_id}
GET/leagueTable/{league_id}
GET/statistics/fixture/{fixture_id}
Countries & seasons
GETseasons availables
GETcountries available
Leagues
GETleagues from country
GETleagues available
GETleagues by type
GETleagues from id
GETcurrent seasons for all leagues
GETleagues by type filtered by season
GETleagues from team id
GETavailable seasons for a league
GETleagues from team id filtered by season
GETcurrent seasons for all leagues from one country
GETleagues by type filtered by country and season
GETavailable seasons for a league filtered by season
GETleagues from season
GETleagues by type filtered by country
Odds
GETbookmakers available
GETodds from league id
GETlabels available
GETodds from fixture id
Events
GETevents available from fixture id
Standings
GETstandings
Statistics
GETteam statistics
GETfixtures statistics
GETteam statistics filtered by date
Players
GETplayers statistics filtered by season
GETplayers statistics from team
GETplayers statistics from fixture id
GETplayers statistics
GET/v2/players/team/{team_id}/{season}
GET/v2/players/squad/{team_id}/{season}
GETseasons available for players
Trophies
GETtrophies from player id
GETtrophies from coach id
Coachs
GETcoach from id
GETcoachs from team id
Rounds
GETrounds available for a league
GETcurrent round for a league
TopScorers
GETtopscorers
Search
GETsearch a league
GETsearch a coach
GETSearch a player
GETsearch a team
Sidelined
GETsidelined from player id
GETsidelined from coach id
LineUps
GETlineups available from fixture id
Transfers
GETtransfers from player id
GETtransfers from team id
GET/fixtures/h2h/{team_1}/{team_2}

Get all Head 2 Heads between 2 teams

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication