- Takes: Name
- Passive: the target is not contacted
- Cost: 1 credit per record
- Plan: Any plan
Returns permits matching all filters. permit_from, permit_to and geo_id are required. Money values are in cents.
Query parameters
permit_fromPermits whose earliest date is on or after this date (YYYY-MM-DD)
permit_toPermits whose latest date is on or before this date (YYYY-MM-DD)
geo_idA US state code, a ZIP code, or a Shovels geolocation ID; free-form addresses are rejected
permit_qCase-insensitive substring search on permit descriptions, max 50 characters
permit_tagsTags to include; prefix with - to exclude. Repeat to give several
permit_statusPermit status, up to 4 values
permit_has_contractortrue: only permits with a contractor; false: only without
permit_min_job_valueMinimum job value, in cents
property_typeProperty type; repeat the key for several
contractor_namePartial match on contractor or business name, minimum 3 characters
contractor_licenseContractor license number
contractor_websiteWebsite prefix; protocol, www. and trailing slashes are stripped
cursorCursor from the previous response's next_cursor
sizePage size, 1 to 100
include_countOn the first page only, include total_count
Response fields · 25ShowHide
id
Permit identifier
number
Permit number from the jurisdiction
description
Free-form permit description
jurisdiction
Where the permit was filed
type
Permit type
status
Permit status
job_value
Reported job value, in cents
fees
Fees charged, in cents
file_date
File date
issue_date
Issue date
final_date
Final date
contractor_id
Contractor identifier
tags[]
Permit tags
property_type
Property type
property_legal_owner
Legal owner of the property
street_no
Street number
street
Street
city
City
zip_code
ZIP code
state
State
address_id
Address geo id
size
Items returned
next_cursor
Cursor for the next page; null when none remain
value
Count, exact up to 10,000
relation
eq (exact) or gte (at least)
curl 'https://api.shovels.ai/v2/permits/search?permit_from=2025-01-01&permit_to=2025-12-31&geo_id=90210' \
-H 'X-API-Key: YOUR_API_KEY'{
"items": [
{
"id": "PERMIT_EXAMPLE_1",
"number": "BLD-0000-0001",
"description": "Install rooftop solar",
"jurisdiction": "EXAMPLE CITY",
"type": "Building",
"status": "final",
"job_value": 2500000,
"fees": 30000,
"file_date": "2025-03-01",
"issue_date": "2025-03-10",
"final_date": "2025-04-20",
"contractor_id": "CONTRACTOR_EXAMPLE_1",
"tags": [
"solar"
],
"property_type": "residential",
"address": {
"street_no": "100",
"street": "EXAMPLE ST",
"city": "EXAMPLE CITY",
"zip_code": "90210",
"state": "CA"
},
"geo_ids": {
"address_id": "ADDR_EXAMPLE_1"
}
}
],
"size": 1,
"next_cursor": null
}