Head to head
v3_head_to_headGet past meetings between two football teams and a won/drawn/lost summary; scans team match history because Varzesh3 lacks a head-to-head page.
Instructions
Get the past meetings of two football teams with a won/drawn/lost summary for team_id.
Use it for "Perspolis vs Esteghlal history", "last derby results". Varzesh3 has no head-to-head page, so this scans the last depth*24 matches of team_id (all competitions) for the opponent; raise depth to look further back. Find ids with v3_search. Each meeting has an id for v3_match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many pages of 24 past matches of team_id to scan (5 is about 4 seasons). | |
| limit | No | How many meetings to list, newest first. | |
| team_id | Yes | Team id from v3_search or v3_standings, e.g. 6 (Perspolis), 4 (Esteghlal). | |
| opponent_id | Yes | Team id from v3_search or v3_standings, e.g. 6 (Perspolis), 4 (Esteghlal). |