Get a match's head-to-head and recent-form blocks (soccer only)
Returns the per-fixture H2H view — an Overall tab plus home-only and away-only
tabs, each holding recent-form blocks and a previous-meetings block — read from
the per-league match_h2h collection.
Complements rather than replaces /v1/sports/{league}/head-to-head. That route
computes a record for any pair of teams out of our own matches, needing no
fixture, but reads a single league database and so cannot see a meeting from
another competition; for a promoted club that is every prior meeting. On the
reference fixture the computed route returns 0 where this document holds 28,
spanning four competitions back to 2012.
Team and match identifiers in the rows are the source’s own, not canonical ids:
the rows reach into competitions the league does not ingest. Blocks are typed
form or head-to-head from their rows rather than their labels.
Soccer-only — other sports return 404 endpoint_not_for_sport.
Authorizations
Send a workspace API token in the Authorization: Bearer <token> header.
Path Parameters
League identifier from the /v1/leagues catalog (e.g. mlb, nba,
epl, nfl, nhl). Unknown values return 404 unsupported_league.
Response
Per-match head-to-head response (tabs then blocks then matches).