API-FOOTBALL API
Overview
API-FOOTBALL provides comprehensive data on football (soccer) leagues, teams, fixtures, live scores, and player statistics from competitions worldwide. You authenticate with an API key in the request header, and the free tier gives you 100 requests per day, making it ideal for small projects or prototyping. It is one of the most complete football data APIs available for building sports apps and dashboards.
Beginner Tip
Sign up at dashboard.api-football.com to get your free API key (100 requests/day); always include the league ID and season (e.g., 2024) as query parameters — without them, most endpoints return empty results.
Available Data
Example Response
{
"match_id": 4521,
"home_team": "Team A",
"away_team": "Team B",
"score": {
"home": 2,
"away": 1
},
"status": "Full Time",
"date": "2025-01-15",
"league": "Premier League"
} Field Reference
response Array of result objects such as fixtures, teams, or players. response[].fixture.id Unique identifier for the match fixture. response[].fixture.date ISO 8601 date and time of the match in UTC. response[].teams.home.name Name of the home team. response[].teams.away.name Name of the away team. response[].goals.home Number of goals scored by the home team; null if the match has not started. Implementation Example
const url = "https://www.api-football.com/documentation-v3";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →ApiMedic
ApiMedic provides programmatic access to apimedic offers a medical symptom checker api primarily for patients via REST API.
Canadian Football League (CFL)
Canadian Football League (CFL) provides programmatic access to official json api providing real-time league, team and player statistics about the cfl via REST API.
Cloudbet
Cloudbet API lets you access real-time sports odds and place bets programmatically on a wide range of sports events.
CollegeFootballData.com
⭐ Beginner's PickCollegeFootballData.com API provides detailed statistics, scores, and historical records for American college football (NCAA).
JCDecaux Bike
⭐ Beginner's PickJCDecaux Bike API gives you real-time availability data for JCDecaux self-service bicycle stations across 40+ cities worldwide.