Operations
- GETTeam vs team Free, Standard, World Cup — Previous meetings of two teams with the result and form of each one.
- GETMatch head to head Free, Standard, World Cup — Previous meetings of the two teams of a match.
Route reference
Operations
The t query parameter selects the operation. Parameters not listed for an operation are ignored. Plans are listed explicitly for each operation; league coverage and request limits still apply. An include requires both access to the base operation and access to that dataset. See Plans and Data Access.
t |
Operation | Required | Optional | Plans |
|---|---|---|---|---|
teams |
Team vs team. Previous meetings of two teams with the result and form of each one. | team1, team2 |
— | Free, Standard, World Cup |
match |
Match head to head. Previous meetings of the two teams of a match. | id |
— | Free, 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