apisports_football_h2h
Retrieve every past meeting between two football clubs, with fixture details, league, teams, goals, and scores. Filter to recent matches or a specific competition.
Instructions
Every past meeting between two clubs.
Returns: {response:[{fixture, league, teams, goals, score}]} — same fixture shape as apisports_football_fixtures. SHAPE FROM VENDOR DOCS.
NOTE: this shape is from the vendor's documentation and has NOT been verified against a live response (we hold no key for this provider). Treat it as approximate — inspect the actual payload before relying on a field name.
Example: Two clubs' history {"h2h": "33-34", "last": 10}
Auth: needs your own key in API_SPORTS_KEY.
Also answers this: apitennis_h2h, nba_stats_call, nbl_match_outcomes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h2h | Yes | Two team ids joined by a dash, e.g. '33-34'. | |
| last | No | Only the N most recent meetings. | |
| league | No | Restrict to one competition. |