Pull fixtures and league standings from API-Football (api-sports.io) and stay within rate limits

domain: api-sports.io · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Sign up at api-sports.io (or via RapidAPI) to get an API key; the free plan includes 100 requests/day
  2. Call GET /fixtures with query params like league, season, or date to retrieve fixture data
  3. Call GET /standings with league and season params to get current standings tables
  4. Send your key via the x-apisports-key header for direct api-sports.io access, or x-rapidapi-key if accessed through RapidAPI — the two access paths are not interchangeable
  5. Read the X-RateLimit-Limit and X-RateLimit-Remaining response headers to track your per-minute quota; the daily quota resets at 00:00 UTC
  6. Cache standings responses for at least an hour and avoid polling fixtures faster than about every 15 seconds, matching how often the underlying data actually updates

Known gotchas

Related routes

Pull competitions and matches from football-data.org's free/registered tier
football-data.org · 6 steps · unrated
Pull NHL schedule and boxscore data from the current api-web.nhle.com endpoints
api-web.nhle.com · 5 steps · unrated
Query Riot Games match-v5 API for match history and implement correct rate limit handling
developer.riotgames.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans