Contractors
Find contractors by location and profile, and the contractors who filed permits at a property
Contractors search
Returns contractors from the Kukun contractor index that match a location, filters, or both, each with its Kukun profile and a summary of its permit activity. Send a location or an identifying filter (license-number, company-name, website); other filters alone return 400. Search around a point (latitude/longitude) or a property (kukun-id or a full address) within distance miles: a resolved property is returned as resolved_by, kukun_id and address, and each contractor carries address.distance_miles to the search point, nearest first. Without a point, contractors are ordered by Kukun score. Send at least one location or filter. Paginate with next-page-id; replay it with the same filters and limit.
query Parameters
latitudeLatitude of the search point (requires longitude). Without distance, only contractors located at this exact point match.
longitudeLongitude of the search point (requires latitude). Without distance, only contractors located at this exact point match.
distanceMaximum distance in miles from the search point (max 100). The point is latitude/longitude, or the kukun-id or full-address property location. Without distance, a kukun-id or address matches contractors at that address.
kukun-idKukun property identifier, resolved to the property address and location; takes precedence over address, city, state and zip-code. Cannot be combined with latitude/longitude. An unknown kukun-id returns no results.
addressStreet address beginning with a street number; requires city, state and zip-code. Resolved to a property and its location through Kukun identity (resolved_by address) or, failing that, the permits at the address (resolved_by permits_address); an address neither knows returns 404 Address not found. Cannot be combined with latitude/longitude. An address with no known location returns no results with distance.
cityContractor city (exact match, case-insensitive); part of the property address when address is sent.
stateContractor state, name or abbreviation (e.g. FL or Florida); part of the property address when address is sent.
zip-code^\d{5}$Contractor 5-digit ZIP code; part of the property address when address is sent.
countyContractor county (exact match, case-insensitive, e.g. Cook).
business-typeBusiness type (exact match, case-insensitive, e.g. Roofing Contractors).
license-numberLicense number held by the contractor. Letters and digits must match exactly; case, # and punctuation are ignored (CGC1508013, #CGC1508013 and cgc-1508013 are the same).
company-nameCompany name; every word must appear (e.g. empire construction).
websiteWebsite domain contained in the contractor website (e.g. gcempire.com).
min-years-in-businessMinimum years in business, from the founding year (0-200).
min-kukun-scoreMinimum Kukun score (0-100).
cost-rangePrice tier as stored in the index (exact match, e.g. $50,001- $100,000).
work-labelComma-separated permit labels, the same values and grammar as label on /v1/permits/search: no prefix = any of, + (or !) = required, - = excluded (e.g. roof,kitchen-remodel or +roof,-solar). Up to 20 values; an unknown label returns 400. Allowed values: basement-remodel, bathroom-remodel, comm-conversion, demolition, drywall, floor-task, foundation, general-construction, general-remodel, hvac, kitchen-remodel, landscape, new-addition, new-construct, new-construct-adu, roof, siding, solar, whole-house-remodel, window, electrical, plumbing, pool, fence, sidewalk, deck.
min-permitsMinimum number of permits on record for the contractor.
servicesComma-separated services; the contractor must offer at least one (case-insensitive, e.g. Door Installation). Up to 20 values.
limitMaximum number of contractors per page (1-50, default 25).
next-page-idCursor token from a previous next_page_id. Replay with the same filters and limit or the request returns Invalid pagination cursor.
Headers
AuthorizationAPI key used to authenticate the request.
Contractors search › Responses
Contractors matching the search
Contractors property search
The endpoint takes one property, by kukun-id or by exact address, and returns every contractor that filed a permit there. Each contractor comes with its Kukun profile and an activity block with the permits it filed at that property only, newest first. Contractors are ordered by their most recent permit at the property. Permits with no contractor on record are counted in unattributed_permits. When a contractor has no Kukun profile, its name, phone and address come from the permit, id and profile are null, and metadata.partial is true.
query Parameters
addressRequired unless kukun-id is sent. Street line starting with the street number; may include a unit (1 Baldwin Ave Apt 305).
cityRequired with address.
stateRequired with address. Name or abbreviation (FL = Florida).
zip-codeRequired with address. 5 digits or ZIP+4.
kukun-idKnown Kukun property identifier. Takes precedence when both forms are sent.
limit1–50, default 25. Maximum number of contractors in items.
Headers
AuthorizationAPI key used to authenticate the request.
Contractors property search › Responses
Successful response
successerrors