Overview
By analyzing permit data, you can determine:- All cities where a contractor has worked
- All zip codes in their service area
- Geographic coverage patterns over time
Step-by-Step Process
Step 1: Get Permits for a Contractor
Use the/v2/contractors/{id}/permits endpoint to retrieve all permits associated with a specific contractor:
You need the contractor’s
id first. Get it from the contractor search endpoint. Note that /permits/search has no contractor_id filter—this dedicated endpoint is the way to pull a single contractor’s permits.Step 2: Extract Geographic Data
From each permit record, extract:- City/jurisdiction names
- Zip codes
- Any additional geographic identifiers
Step 3: Create Unique Lists
Process the permit data to create deduplicated lists of:- All cities where the contractor has worked
- All zip codes in their service area
- Geographic coverage patterns over time
Best Practices
- Filter by Recency - The endpoint returns the contractor’s full permit history; filter client-side on permit dates (e.g. last 2-3 years) for active service areas
- Handle Pagination - Make sure to handle paginated responses to get complete permit histories
- Filter by Property Type - Use each permit’s
property_typefield to understand different service area patterns (residential vs commercial)
Geographic Filtering Capabilities
Thegeo_id system enables precise searching by:
- Address
- Zip code
- Jurisdiction
- City
- County
Alternative: Shovels Online
In Shovels Online, we show recent permits for each contractor. You can:- Search at the county, city, or address level
- Download permit and contractor data to CSV
- View contractor profiles with permit history
