Find a match
find_matchFinds upcoming or recent football matches (next 21 days) by team name, accepting nicknames such as "PSG", "Man City", "Barça" or "Bayern Munich". Optionally narrow with the opponent and a date. Returns candidate matches with their match_id, to pass to get_match_probabilities. If several teams match (e.g. "Paris" = Paris FC or Paris Saint-Germain), all are returned: ask the user which one they mean.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Match date (YYYY-MM-DD, UTC), if known. | |
| lang | No | Language of the summary and notices: "en" or "fr". | en |
| team | Yes | A team name or nickname, e.g. "PSG", "Arsenal", "Inter". | |
| opponent | No | The other team, if known. |