Get Overall Football League Standings
View all Football Data API endpoints →Read a league table with team identifiers, played matches, wins, draws, losses, goals, goal difference, points and returned positions. Pass required leagueid; 47 produced a 20-team Premier League table. response.standing rows include id, name, shortName, played, wins, draws, losses, scoresStr, goalConDiff, pts and idx. deduction, ongoing and qualColor were also present and can be null. Keep idx and returned order rather than inventing tie-break rules. No season parameter is declared. The sample's games and points reconciled; competition scoring and deduction rules still need checking before applying arithmetic universally.
API Features
Live API Demo
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
/api/project/football/get-standing-all-by-league-id API Response (JSON)
{} curl -X GET 'https://api.opendata-api.com/api/project/football/get-standing-all-by-league-id?key=<API_KEY>&leagueid=47'
Query Result
Use Cases
- Publish a Premier League table using the verified played, points, goal-difference and position fields.
- Run row-level checks that played equals wins plus draws plus losses while recording any competition-specific exceptions.
- Reconcile total goals for and against from scoresStr when checking an imported table snapshot.
- Link each standings row to a club page by team ID instead of guessing from abbreviated names.
Frequently asked questions
How do I retrieve the Premier League table?
The demonstrated leagueid=47 returned response.standing. Discover and verify IDs and coverage separately for other competitions.
How should I use points, goal difference and position?
Use pts, goalConDiff, idx and the returned order. Arithmetic checks must account for competition scoring and deductions; do not invent tie-break rules.
Can I select a historical season for overall standings?
Only leagueid is declared; there is no season input. Do not promise historical filtering through an undeclared parameter, and allow nullable fields such as deduction.