Service Area Mapper avatar

Service Area Mapper

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Service Area Mapper

Service Area Mapper

Plan & optimize your service territories w/detailed ZIP code analysis. Understand population, income levels, & competitor saturation to make data-driven expansion decisions. Territory Planning, Franchise Mapping, Market Expansion, Competitor Analysis & Marketing Targeting

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

1

Bookmarked

3

Total users

0

Monthly active users

22 days ago

Last modified

Features

Limited permissions

Share

AI-Powered Service Area Mapper v2.4 - Census Demographics and Claude AI Market Analysis

Map a service area by ZIP code. Give it a center point and a radius and it returns every ZIP code in that area with real U.S. Census demographics, housing data, an opportunity score, a drive-time estimate, and optional real competitor counts from Google Maps, GeoJSON, a heatmap and Claude AI market analysis.

No API key is needed for the core data. Competitor counts are opt-in (they start paid Google Maps searches on your account, see below). An Anthropic API key (BYOK) is optional and only adds the AI market analysis.


What you get per ZIP code

FieldSource
zipCode, coordinatesU.S. Census Bureau TIGERweb, 2020 ZIP Code Tabulation Areas (ZCTAs), internal point of each ZCTA
city, stateZippopotam.us ZIP lookup
distanceFromCenterStraight-line miles from your center point
demographicsCensus ACS 5-year estimates (newest release, currently ACS 2024 5-year): population, median household income, median age, per capita income
housingCensus ACS 5-year: housing units, occupied units, owner-occupied, renter-occupied, homeownership rate
competitionOnly with includeCompetitors: competitors found on Google Maps in this ZIP, competitors per 10,000 residents, density compared with the area average, saturation, and the list of businesses counted (see below)
opportunityScore from 0 to 100 built from population, median income, homeownership and, with competitor counts on, competitor density (see below)
driveTimeMinutesEstimate: straight-line distance at an assumed average speed
dataStatusok, no_census_data, census_unavailable or demographics_disabled

Census figures are read keyless through Census Reporter (censusreporter.org), which republishes the Census Bureau's ACS tables. When the Census Bureau publishes no estimate for a ZIP (for example a PO box or single-building ZIP), the value is null, not zero, and the row carries a _notice.

Competitor counts per ZIP (optional)

Turn on includeCompetitors to count how many competing businesses sit in each ZIP. This is real Google Maps data, not an estimate:

  1. The actor runs our Google Maps Scraper actor once, in its fast list mode: it reads the Google Maps results list for your business type (competitorKeyword, or industry when that is empty) without opening each business page. One search is centered on each ZIP and zoomed to fit it, nearest to the center first (up to 60 ZIPs). Each search reads at least 20 listings.
  2. Listings found by more than one search are counted and charged once. The run stops when it has read maxCompetitorLookups unique listings. By default that budget is 20 per ZIP in the area, at most 1,000, so every ZIP gets its own search in areas of up to 50 ZIPs. A smaller budget covers only the ZIPs nearest the center.
  3. Every listing is placed into a ZIP: the ZIP in its Google Maps address when one is shown, otherwise the Census ZIP Code Tabulation Area polygon that contains its map pin (the list shows no ZIP for most listings, and service-area businesses hide their address). Listings outside the area are dropped and not charged here.
  4. Your own business is left out only on an exact match: your Google Place ID or CID (yourPlaceId), or the same name (yourBusinessName) plus the same street address (yourBusinessAddress). A branch with the same name at another address still counts. With the name alone, a listing is left out only if it is the one listing with exactly that name.
  5. For each ZIP you get competitorCount, competitorsPerCapita (per 10,000 Census residents), densityVsAreaAverage (1.0 means the same density as the measured ZIPs overall), saturation (low below 0.5x the average, medium up to 1.5x, high above), and competitors with each business's name, Google category, rating, review count, street address, Google Maps link and how it was placed.

Honest counts. Google Maps shows at most about 120 listings per search, and a search reads only its share of the budget (20 listings at the default). So:

  • isLowerBound is false only when a search whose list ran out on its own (below Google's cap) covered the ZIP. A cut-off, stalled, consent-blocked or failed search leaves it true, and the count means "at least this many".
  • A ZIP where no listing was found while the searches near it were cut off gets status: "unknown" and competitorCount: null. It is never treated as low competition: it is scored on Census data only (opportunity.basis: "census_only") and left out of topOpportunities.
  • A ZIP is scored on competition when its own search ran (to its listing limit, to the end of Google's list, or until scrolling stalled) and found at least one listing in it, or when a search that read every listing Google had covered it. A search that stopped at its limit still gives a lower bound, so a scored count usually means "at least this many". A ZIP whose search the budget never reached, with listings found only by its neighbours' searches, shows that lower-bound count but is not scored on it.
  • Saturation and the competition points compare each ZIP with the area average of these lower-bound counts. A ZIP where few of the listings Google showed for its search sit inside the ZIP can still come out as low saturation and "Low competition", so check isLowerBound and the competitors list before treating a low count as an open market.
  • SUMMARY.competitorSearch shows every planned search (ZIP, zoom, outcome, listings shown and new), how many searches actually ran (zipsWithOwnSearch) and how many the budget stopped (searchesStoppedByBudget), how many ZIPs are counted complete, counted as lower bounds, or unknown, the lookup budget and where it came from, and the run ID.

Speed and coverage. In the 10 mile Dallas plumber test (41 ZIPs, measured November 3, 2026) the default budget of 820 lookups ran all 41 ZIP searches, read 222 unique listings (overlapping searches share most listings), counted 124 competitors in returned ZIPs, scored 35 ZIPs on competition and left 6 unknown. The whole run took 4 minutes 37 seconds. For comparison, a budget of 100 lookups ran only the 20 searches nearest the center and scored 17 ZIPs. The Google Maps run uses 2 GB of memory below 180 lookups and 4 GB at 180 or more. In areas with more than 50 ZIPs the 1,000 cap can stop the run before the farthest ZIPs are searched, and only the 60 ZIPs nearest the center get their own search; ZIPs without one are not scored on competition.

If no Google Maps search returns listings, every ZIP gets competition.status: "unavailable", scores fall back to the Census-only formula, and nothing is charged for competitors.

What this actor does not include

  • Road-network isochrones. Drive-time polygons are circles of (minutes x assumed speed): optimistic 40 mph, best_guess 30 mph, pessimistic 20 mph. Treat them as estimates.

Opportunity score

Population (25 points), median household income (25 points) and homeownership rate (20 points) come from measured Census values. With competitor counts on, competition adds 30 points from the ZIP's competitor density compared with the average of the measured ZIPs: below 0.5x scores 30 (low competition), below 1x scores 20, below 2x scores 10, and 2x or more scores 5. That makes 100 points. Without competitor counts, and for ZIPs whose competition is unknown or not measured, the 70 Census points are rescaled to 0 to 100 and opportunity.basis says census_only. 75 and up is high, 50 to 74 is medium, below 50 is low. A ZIP without the needed Census values gets score: null and rating: "unknown", and the factors list shows what drove each score.


Quick start

{
"centerPoint": "Dallas, TX",
"radiusMiles": 25,
"industry": "plumbers"
}

With real competitor counts from Google Maps (opt-in, see Pricing):

{
"centerPoint": "Dallas, TX",
"radiusMiles": 10,
"industry": "plumbers",
"includeCompetitors": true,
"competitorKeyword": "plumber",
"yourBusinessName": "Your Plumbing Co",
"yourBusinessAddress": "123 Main St, Dallas, TX 75201"
}

With drive-time estimates, a heatmap and AI analysis:

{
"centerPoint": "Dallas, TX",
"radiusMiles": 25,
"industry": "plumbers",
"includeDriveTime": true,
"driveTimeMinutes": [15, 30, 45],
"generateHeatmap": true,
"heatmapMetric": "opportunity",
"anthropicApiKey": "YOUR_ANTHROPIC_KEY"
}

Demo Mode is off by default, so runs fetch real data. Set demoMode to true to get one labeled sample record (demo: true) that shows the output format. It charges no task events; Apify's Actor start charge still applies, as on every run.


Input parameters

ParameterTypeDefaultDescription
centerPointstring-US city and state, street address, or "lat,lon"
radiusMilesnumber25Radius in miles (5 to 100)
industrystring-Your business type. The Google Maps search term for competitor counts (unless competitorKeyword is set) and the framing for the AI analysis
includeDemographicsbooleantruePopulation, income and age per ZIP
includeHouseholdsbooleantrueHousing units and homeownership per ZIP
minPopulationinteger0Keep only ZIPs with at least this population
minMedianIncomeinteger0Keep only ZIPs with at least this median household income
outputFormatstring"json"geojson also saves a GEOJSON record to the key-value store
includeDriveTimebooleanfalseSave drive-time estimate polygons
driveTimeMinutesarray[15, 30, 45]Drive-time intervals
trafficModelstring"best_guess"Assumed speed for drive-time estimates
generateHeatmapbooleanfalseSave a HEATMAP record
heatmapMetricstring"opportunity"opportunity, population, income, or competition (needs includeCompetitors)
heatmapResolutionstring"medium"Heatmap grid size
geoNamesUsernamestring-Optional GeoNames username for ZIP discovery instead of TIGERweb
includeCompetitorsbooleanfalseCount competitors per ZIP from Google Maps and use them in the score
competitorKeywordstring-Google Maps search term, for example plumber. Defaults to industry
maxCompetitorLookupsinteger20 per ZIP, at most 1000Total unique Google Maps listings to read across the area (10 to 1000). Leave empty for the default
yourBusinessNamestring-Your business exactly as named on Google Maps
yourBusinessAddressstring-Your street address; with the name, only your own listing is left out
yourPlaceIdstring-Your Google Place ID, CID or Google Maps link; the exact way to leave yourself out
anthropicApiKeystring-Optional BYOK key for the Claude AI market analysis
enableAiAnalysisbooleantrueRun the AI analysis when a key is given
demoModebooleanfalseReturn one labeled sample record instead of real data
webhookUrlstring-POST a short summary when the run finishes

Other outputs (key-value store)

  • SUMMARY: totals, how many ZIPs had Census data and were charged, data sources, notices, top opportunities, and with competitor counts on, competitorSearch: the Google Maps run ID, each search (ZIP, zoom, outcome, listings shown and new), listings read, how many were counted, outside the area or your own business, the average density of the measured ZIPs, and how many ZIPs are complete, lower bounds or unknown
  • GEOJSON, HEATMAP, DRIVE_TIME_POLYGONS: when requested
  • AI_MARKET_ANALYSIS: when an Anthropic key is given and the analysis succeeds. If the AI call fails, nothing is substituted and SUMMARY.aiAnalysisStatus says failed.

Pricing

This actor uses pay-per-event billing:

EventWhen it is chargedPrice
Actor startOnce when the run starts, one event per GB of memory (minimum one). At the default 1 GB of memory that is $0.10 per run$0.10 per GB
ZIP AnalyzedPer ZIP code returned with real Census data and an opportunity score. ZIPs without Census data are returned free$0.01
Competitor LookupOnly with includeCompetitors: per competitor found on Google Maps and counted in a returned ZIP. Duplicates, your own business, listings outside the area and failed searches are free$0.01
ResultEach item written to the default dataset$0.00001

Demographics Fetched is never charged. Demo Mode charges none of the events above; Apify's Actor start charge still applies to every run.

Competitor counts also run Google Maps Scraper on your account. The Google Maps search is one run of our Google Maps Scraper actor in list mode, started with your run's token and billed to your Apify account at that actor's prices: Actor start ($0.20 at 2 GB, $0.40 at 4 GB from 180 lookups) plus $0.02 per unique listing read. That run stops at the lookup budget. Example, the 10 mile Dallas test above with the default 820 lookups: $0.40 + 222 listings x $0.02 = $4.84 there, plus $1.24 of Competitor Lookup here (124 counted), plus this actor's $0.10 start and $0.39 of ZIP Analyzed: about $6.57 in total. The budget is a hard ceiling on the Google Maps part ($0.40 + 820 x $0.02 = $16.80); overlapping searches keep the real cost well below it. If you set a max charge for this run, competitor lookups are reduced (or skipped, with a notice) so the total stays within it.


Troubleshooting

"Could not geocode center point"

Use a full city and state ("Plano, TX"), a street address, or coordinates ("33.0198,-96.6989"). The run then ends with one geocode_failed record and nothing is charged.

Some ZIPs have null demographics

The Census Bureau publishes no estimates for some ZIP codes (PO boxes, universities, single buildings). Those rows have dataStatus: "no_census_data", null values, no score, and are not charged.

All demographics are null

The Census data service was unreachable during the run. Every row has dataStatus: "census_unavailable", nothing is charged, and you can simply run again.

Competitor counts look low, or many ZIPs are unknown

Google Maps shows a limited number of listings per search, so in a busy market the counts are lower bounds (check competition.isLowerBound) and ZIPs without a listing found are unknown. By default every ZIP gets its own search of 20 listings; raising maxCompetitorLookups (up to 1,000) reads more listings per search, and a smaller radius spreads the budget over fewer ZIPs. A more specific competitorKeyword (for example water heater repair instead of plumber) counts that niche only.

Competitor counts are unavailable

SUMMARY.competitorSearch.searches shows each Google Maps search and why it failed (for example your account's memory limit or monthly usage limit). Nothing is charged for competitors when no search returns listings.

Outside the US

ZIP discovery and Census data cover the United States only.


Built by John Rippy | Actor Arsenal