API-Football
Live and historical football (soccer) data from API-Football v3 (API-Sports): leagues, standings, fixtures with live scores & events, teams, players & statistics, predictions, injuries, transfers and betting odds.
7 giorni gratis · senza carta · hosting UE
Chiedi qualsiasi cosa a API-Football
Prova un prompt reale su API-Football via AnythingMCP — Claude chiama i tool e risponde. Premi Enter sul tuo messaggio per installare su Cloud.
Installa API-Football su CloudClaude è un'AI e può sbagliare. Verifica sempre le risposte.
Setup in 2 minuti
- 1Avvia la trial gratuita su cloud.anythingmcp.com.
- 2Clicca API-Football nel connector store. Incolla le credenziali quando richiesto.
- 3Genera una MCP API key e punta il client AI all'URL MCP generato.
Guide per API-Football
Setup passo-passo per i principali client AI.
Configurare API-Football
Direttamente dalla definizione del connettore: dove trovare le credenziali, quali permessi servono e con quale API parla questo adapter. Fornite in inglese dall'autore del connettore.
API-Football v3 (API-Sports direct). Auth is a single header x-apisports-key (configured for you from API_FOOTBALL_KEY).
RESPONSE ENVELOPE — every endpoint returns the SAME wrapper:
{ get, parameters, errors, results, paging: { current, total }, response: [ ... ] }.
- The real data is ALWAYS in
response.resultsis its count. - IMPORTANT: check
errorseven on HTTP 200 — an empty array/object means OK; a non-emptyerrors(e.g. token/plan/parameter problems) meansresponseis empty and the call failed logically. - Pagination: up to 250 items per page; if
paging.total> 1 passpageto fetch more.
SEASONS: season is the 4-digit START year of the season (e.g. 2023 = season 2023/24).
DATES: YYYY-MM-DD. Times are UTC unless you pass timezone (get valid values from af_timezone).
TYPICAL FLOW (resolve ids first — do NOT guess numeric ids):
- af_leagues(search='Bundesliga') → league id (78) + available seasons.
- af_standings(league=78, season=2023) or af_fixtures(league=78, season=2023, next=10).
- af_fixtures(...) → a fixture
id, then af_fixture_statistics / af_fixture_events / af_fixture_lineups / af_predictions(fixture=id). - Teams: af_teams(search=...) → team id; Players: af_players(team=id, season=2023).
RATE LIMIT — the account is on the FREE plan: 100 requests/day (check anytime with af_status, which costs 0). Be economical: use precise filters, prefer a single fixtures/players call with the right filters over many broad calls, and reuse ids you already resolved. Responses expose x-ratelimit-requests-remaining.
Read-only data API: all tools are GET; nothing is written.
=== ANALYSIS ===
For ANY analysis (preview/prediction, post-match report, team form, head-to-head, standings, top scorers, player scouting, squad, injuries, transfers, odds, live), call af_analysis_playbook FIRST — it returns the exact af_* tool sequence for each case (it makes no API call). HARD RULES: read errors even on HTTP 200 (errors.plan -> season not in plan, tell the user to upgrade); there is NO referee endpoint (referee is only fixture.referee, set late); national-team head-to-head is barely covered; the pre-match odds tool is af_odds_prematch; the players endpoint is paginated (paging.total); never fabricate numbers.
PROFESSIONAL / COMPLETE PREDICTION — when the user wants a 'professional', 'complete' or 'detailed' prediction/analysis, run this FULL checklist in one go and DO NOT stop after the first call:
- af_teams(search=…)->team id, af_fixtures(team=<id>,next=1)->fixture id + opponent id (+ date, venue, referee).
- af_predictions(fixture=<id>) — probabilities, advice, comparison, form.
- af_odds_prematch(fixture=<id>) — bookmaker odds; convert to implied probabilities and COMPARE with the prediction %.
- af_fixture_lineups(fixture=<id>) — formations & XI (if published).
- af_team_statistics(league,season,team) AND af_injuries(league,season,team) for BOTH teams.
- af_topscorers + af_topassists(league,season) AND af_players(team,league,season) — individual player form/ratings.
- af_head_to_head(h2h='idA-idB') — prior meetings. Only AFTER collecting all of the above do you write the analysis. A one-call (predictions-only) answer is NOT professional — always enrich with odds, lineups, player stats, team stats, injuries and top performers.
La tua AI è a due click da API-Football.
Installa il connettore, incolla le credenziali, chiedi all'AI. 7 giorni gratis, niente carta.