Kukun API v1 is now available
Kukun Developer Portal

Search U.S. building permits by filters, keyword, property, or area, with geo-distance search and permit labels


Search permits

GET
https://api.mykukun.com
/v1/permits/search

Search across Kukun's 900M+ U.S. permit records with full-text query, geo, status, label, and date filters. Returns enriched permit records including project labels (Kukun taxonomy), inferred activity labels, and contractor linkage where available. Radius searches can be centered on coordinates (latitude + longitude), a Kukun property (kukun-id + distance), or a full address (address + city + state + zip-code + distance); each permit then includes location.distance_miles, its distance in miles from that center, and results can be sorted nearest first with sort-by=distance. When the search resolves a property (kukun-id, or the full address with distance), the response also includes resolved_by, kukun_id and address next to permits, in the same shape as property search.

Search permits › query Parameters

status
​string · enum

Permit status filter. Use lowercase kebab-case values only.

Enum values:
applied
issued
in-process
denied
closed
review
expired
inspection
label
​string

Comma-delimited label filters. Syntax: No prefix = OR include (any label matches), +prefix or !prefix = required include (AND — all must match), -prefix = exclude. Example: kitchen-remodel, bathroom-remodel returns permits labeled kitchen-remodel and excludes any labeled bathroom-remodel.

address
​string · maxLength: 500

Street address filter (flexible AND match, e.g. 123 Main St). When sent together with city, state, zip-code and distance (and no latitude/longitude), the full address becomes the center of the radius search instead of a filter. Ignored when kukun-id is sent.

city
​string · maxLength: 200

City name filter (exact match, case-insensitive). Example: Tampa.

state
​string · maxLength: 200

State the property is located in. Accepts either the two-letter abbreviation or the full state name, case-insensitive (e.g. FL, Florida, or florida) - passed through as-is with no normalization applied.

zip-code
​string · maxLength: 10

ZIP code filter (exact match, e.g. 33565)

county
​string · maxLength: 200

County name filter (exact match, e.g. Hillsborough)

kukun-id
​integer · min: 1 · max: 999999999

Known Kukun property identifier. Takes precedence over address, city, state and zip-code, which are ignored when kukun-id is sent. With distance (and no latitude/longitude), the property's location is the center of the radius search; without distance, kukun-id returns the permits filed at that property. An unknown kukun-id returns an empty result (total 0), not an error.

jurisdiction
​string · maxLength: 200

Issuing jurisdiction — matched against both city and county fields (e.g. Los Angeles)

latitude
​number · min: -90 · max: 90

Center point latitude for geo-distance filtering. Requires longitude; distance is optional (defaults to 5 miles). Coordinates take precedence over kukun-id and the full address as the search center. Example: 28.0614426.

longitude
​number · min: -180 · max: 180

Center point longitude for geo-distance filtering. Requires latitude; distance is optional (defaults to 5 miles). Example: -82.150608.

distance
​number · min: 0.01

Search radius in miles, e.g. 25. The radius is centered on one of, in order of precedence: latitude + longitude (distance optional, defaults to 5 miles); kukun-id; or the full address (address, city, state and zip-code, all four required). Sending distance without one of these centers returns 400. If the kukun-id or address cannot be located, the response is an empty result (total 0). Every permit in a radius search includes location.distance_miles.

date-from
​string

Status date range start (ISO 8601, e.g. 2024-01-01)

date-to
​string

Status date range end (ISO 8601, e.g. 2024-12-31)

has-cost
​boolean

When true, exclude permits with a null cost. When false, only return permits with a null/missing cost.

min-cost
​number · min: 0

Minimum permit cost (inclusive)

max-cost
​number · min: 0

Maximum permit cost (inclusive)

keyword
​string · maxLength: 100

Case-insensitive phrase match on the permit description: the words must appear together and in order (e.g. water heater, ADU, re-roof). Whole words only, so heat does not match heater. Max 100 characters. Permits without a description are excluded when keyword is present.

limit
​number · min: 1 · max: 1000

Number of records to return per page. Minimum 1, maximum 1000. Default 10.

sort-by
​string · enum

Sort field. Defaults to relevance for full-text queries; otherwise to most-recent-issued. distance sorts by distance from the search center and requires one (latitude + longitude, or kukun-id or the full address with distance).

Enum values:
city
address
jurisdiction
county
state
date
distance
sort-order
​string · enum

Sort direction. Defaults to desc, except with sort-by=distance, which defaults to asc (nearest first).

Enum values:
asc
desc
details
​number · min: 0 · max: 1

Include permit details in the response. Use 0 for count-only results and 1 for full results. Default 1.

next-page-id
​string

Cursor token for pagination (from the previous response next_page_id field)

Search permits › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Search permits › Responses

Search results

success
​boolean · required
​PermitSearchResultDto · required
errors
​required
​ApiResponseMetadataDto · required

GET
https://api.mykukun.com
/v1/permits/property-search

The endpoint takes one address and returns the permits filed at exactly that address. It accepts no ZIP-only, city, county, jurisdiction, radius, label, status, date or cost query.

Property search › query Parameters

address
​string · maxLength: 500

Street line, starting with the street number. It may include a unit (1 Baldwin Ave Apt 305).

city
​string

Used to fetch candidates, not to match (permit city names vary).

state
​string

Normalized with normalizeUsState, as on /search (TX = Texas).

zip-code
​string

5 digits or ZIP+4. When ZIP+4 is sent, the +4 is also matched.

kukun-id
​integer · min: 1 · max: 999999999

TKnown Kukun property identifier. Can be combined with address fields and takes precedence.

limit
​integer · min: 1 · max: 100

Maximum number of permits to return, 1–100. Default 10. There is no pagination: when the property has more matching permits than this, permits.truncated is true. Send limit=100 to get the full history.

keyword
​string · maxLength: 100

Case-insensitive phrase match on the permit description: the words must appear together and in order (e.g. water heater, ADU, re-roof). Whole words only. Max 100 characters. Permits without a description are excluded when keyword is present.

Property search › Headers

Authorization
​string · required

API key used to authenticate the request.

Property search › Responses

Successful response

success
​boolean · required
​PropertySearchResultDto · required
errors
​required
​ApiResponseMetadataDto · required

GET
https://api.mykukun.com
/v1/permits/area-search

Search addresses by permit condition in an area: Returns deduplicated addresses that either have or are missing a permit label within a date window. Use label-condition=has for addresses with matching permits, or label-condition=missing for addresses without matching permits.

Area search › query Parameters

label
​string · maxLength: 100 · required

Permit label to check

label-condition
​string · enum · required

has = address has matching permit, missing = address has no matching permit

Enum values:
has
missing
date-from
​string · required

Start date for permit check window (ISO 8601)

date-to
​string · required

End date for permit check window (ISO 8601)

zip-code
​string · maxLength: 10

Area filter by ZIP code

city
​string · maxLength: 200

Area filter by city

county
​string · maxLength: 200

Area filter by county

state
​string · maxLength: 200

State the property is located in. Accepts either the two-letter abbreviation or the full state name, case-insensitive (e.g. FL, Florida, or florida) - passed through as-is with no normalization applied.

latitude
​number · min: -90 · max: 90

Center latitude for radius-based area search (requires longitude and distance)

longitude
​number · min: -180 · max: 180

Center longitude for radius-based area search (requires latitude and distance)

distance
​number · min: 0.01

Radius distance in miles (required when latitude/longitude are provided)

keyword
​string · maxLength: 100

Case-insensitive phrase match on the permit description, evaluated on the same permit entry as label and the date window (e.g. water heater, ADU, re-roof). Whole words only. Max 100 characters. Permits without a description never match.

limit
​number · min: 1 · max: 1000

Page size (max 1000, default 10)

next-page-id
​string

Cursor token for pagination (from previous response next_page_id field)

details
​number · enum

Include details in response. 0 = count-only, 1 = full results

Enum values:
0
1

Area search › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Area search › Responses

Area search results

success
​boolean · required
​AreaSearchResultDto · required
errors
​required
​ApiResponseMetadataDto · required