# Location formats the search API accepts

> The location formats /maps-search accepts: city and state, city and country, a state or country, US ZIP codes and UK postcodes, and how each one is resolved.
>
> Part of the LocalPipe API reference: https://www.localpipe.io/docs/location-resolution (full reference in one file: https://www.localpipe.io/localpipe-api-docs.md, categories CSV: https://www.localpipe.io/localpipe-business-categories.csv)

# Location Resolution

The `location` field in `/maps-search` supports:
- **City + State**: "Austin, TX", "Denver, Colorado"
- **City + Country**: "London, UK", "Toronto, Canada"
- **State/Region**: "California", "Texas" (searches top cities by population)
- **Country**: "Germany", "Australia" (searches top cities by population)
- **US ZIP code**: "90210", "78701" (geocoded via Nominatim)
- **UK postcode**: "EH1 1AB", "SW1A 1AA" (geocoded via Nominatim)

Multiple locations can be combined in a single request:
```json
{ "location": ["Austin, TX", "Denver, CO", "90210"] }
```
