Find football matches
find_matchesUpcoming football matches in a city or a country between two dates, with the cheapest ticket price we hold. Accepts exactly one of city or country. Supports filters for budget, men's or women's football, senior, reserve or youth sides, and top competitions. url is the match's page on weekendgoals.com, listing every seller and price we hold.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, YYYY-MM-DD, any date ahead. 7 days after the first unless given, and at most 31 days after it. | |
| city | No | A city, for example Lisbon. Omit when naming a country. | |
| from | No | First day, YYYY-MM-DD. Today unless given. | |
| limit | No | How many matches to return, 20 unless given, at most 50. | |
| squad | No | senior, reserve or youth: which side plays. Leaves out competitions classified otherwise. | |
| gender | No | men or women: who plays. Leaves out competitions classified the other way. | |
| country | No | A country, for example Portugal. Omit when naming a city. | |
| currency | No | The currency to show prices in: the one the user wrote their budget in or uses where they are. When absent, maxPrice's currency, else USD. | |
| maxPrice | No | Keep only matches whose cheapest ticket costs at most this. The budget is compared with every ticket at today's exchange rate; a match priced only in a currency with no rate is kept and marked priceNotConverted, and a match with no price is left out. | |
| topRanksOnly | No | True to keep only the matches of the highest-ranked competitions found, for example the top division rather than the lower leagues. Friendlies are left out. |