Map a service area
service_areaRead-onlyIdempotent
Work out what a local service business covers. Give a base (a 5-digit ZIP or "City, ST") and a radius in miles, or a list of ZIPs. Returns every ZIP Code Tabulation Area inside it with distance, population, housing units and owner-occupied homes; the cities, towns and Census places inside it; the counties it touches with the population inside the area; totals; and up to 20 candidate areas for a Google Business Profile service area with Google's written rules. Uses Census Gazetteer, relationship-file and ACS 2020-2024 data stored on the server. Distances are straight-line miles, not driving distance.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Where the business is based: a 5-digit ZIP such as 59901, or a city with its state such as "Kalispell, MT". Use with radius_miles. | |
| zips | No | Instead of a base and radius: the ZIPs the business serves. | |
| max_zips | No | How many ZIPs to list (default and maximum 250). Totals always count every ZIP. | |
| radius_miles | No | Straight-line radius in miles, 1 to 100. |