Count matching permits
count_permitsHow many permits match a search (area, category, city, zip, distance, multi-trade projects, dates, minimum value) before paying for the records. Free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"jurisdiction": "<jurisdiction>"
},
"name": "count_permits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | ||
| city | No | City name, case-insensitive | |
| near | No | Only permits near a zip code in the area or a "lat,lng" point | |
| since | No | Issued on or after (YYYY-MM-DD) | |
| until | No | Issued on or before (YYYY-MM-DD) | |
| category | No | Permit category, e.g. roof, pool, solar, hvac, new_residential | |
| minValue | No | Minimum job valuation in USD | |
| multiTrade | No | Only permits at addresses with another type of permit within 90 days (usually bigger projects) | |
| radiusMiles | No | Radius around near, in miles | |
| jurisdiction | Yes | Area id, e.g. new-york-ny, miami-dade-fl. Use list_coverage for names. | |
| includeRenewals | No | Include New York renewals of existing permits (left out by default) |