Compare areas for a business
compare_areasRank areas by market per competing business for a category (the opportunity score).
Each area gets a yearly market in euros, estimated competing businesses and an opportunity score against its region, all with ranges. Areas are ranked by the cautious (low) end of the score; areas too small for the category are left out and counted. Use for "where in Valladolid should I open a gym" or "which towns in Málaga province lack pharmacies".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | 'district' or 'tract' within a municipality; 'municipality' within a province or region. | auto |
| limit | No | How many areas to return, best first. | |
| within | Yes | A municipality (compares its districts or tracts) or a province or region (compares its municipalities). | |
| category | Yes | Business category: restaurant, cafe, bar, fast_food, bakery, butcher, greengrocer, supermarket, pharmacy, optician, dentist, physiotherapy, hairdresser, beauty_salon, veterinary, gym, childcare, private_school, clothes, home. Plain words work too ('gyms', 'peluquerías'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| checks | No | ||
| sources | Yes | ||
| confidence | Yes | Lowest confidence across inputs: high, medium or low. Never state a conclusion more strongly than this. |