Find football matches near a place
find_matches_nearUpcoming football matches within a distance of a point, given as latitude and longitude, between two dates, with the cheapest ticket price we hold. Supports locations outside named cities and the same budget, men's or women's, squad and top-competitions filters as find_matches. 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. | |
| 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. | |
| 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. | |
| latitude | Yes | Latitude of the point to search around, for example 38.72. | |
| 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. | |
| radiusKm | No | How far from the point to look, in kilometres: 50 unless given, at most 200. | |
| longitude | Yes | Longitude of the point to search around, for example -9.14. | |
| 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. |