SoccersAPIDocsv2.2
Docs/Reference/Head to head

Head to head

Historical meetings between two teams.

Open in the interactive reference

Operations

Route reference

Operations

The t query parameter selects the operation. Parameters not listed for an operation are ignored. The plans column lists the plans that include the operation for the leagues they cover; Free plans carry the Standard datasets. A plan outside the list receives 403 with meta.msg = Endpoint not available for your plan.

t Operation Required Optional Plans
teams Team vs team. Previous meetings of two teams with the result and form of each one. team1, team2 — Standard, World Cup
match Match head to head. Previous meetings of the two teams of a match. id — Standard, World Cup

Examples

Team vs team:

GET /v2.2/h2h/?api_key=API_KEY&t=teams&team1=99&team2=113

Match head to head:

GET /v2.2/h2h/?api_key=API_KEY&t=match&id=2589310