ContraX
App · 5 actions
Find building permits in your ContraX jurisdictions and see who is doing the work.
Actions
| Action | What it does |
|---|---|
| Get permit | Get one building permit by its ContraX ID. |
| Get permit facets | List the statuses, permit types, work classes, companies and ZIP codes found in a jurisdiction's permits. |
| Get permit totals | Count and total a jurisdiction's permits by week, type, status, company and ZIP code. |
| List jurisdictions | List the jurisdictions your ContraX plan covers, with their IDs. |
| List permits | List one page of a jurisdiction's building permits, filtered and sorted as you choose. |
Get permit
Get one building permit by its ContraX ID.
Inputs
- Permit ID
idtextRequired - The permit's ContraX ID, from List permits.
Outputs
dataobject- The response from ContraX.
Example output
{
"data": {
"permit": {
"address": "123 SE 5th Ave",
"applied_at": "2026-01-05T00:00:00.000Z",
"city": "Cape Coral",
"company_name": "Sunshine Roofing LLC",
"contractor": "Sunshine Roofing LLC",
"county": "Lee",
"description": "Reroof single family home",
"finalized_at": "2026-02-20T00:00:00.000Z",
"id": "cape_coral_0002a652c9c188af",
"issued_at": "2026-01-12T00:00:00.000Z",
"jurisdiction": "cape_coral",
"latitude": 26.56,
"longitude": -81.94,
"parcel": "12-45-23-C1-00001.0010",
"permit_number": "RES24-001234",
"permit_type": "Roofing",
"state": "FL",
"status": "Issued",
"value": 18500,
"work_class": "Alteration",
"zip": "33990"
}
}
}Get permit facets
List the statuses, permit types, work classes, companies and ZIP codes found in a jurisdiction's permits.
Inputs
- Jurisdiction
jurisdictiontextRequired - The jurisdiction to read. Pick one, or use a jurisdiction ID from List jurisdictions.
- Facets
fieldslist - Which lists to return. Leave empty for all five.One or more of:
status,permit_type(Permit type),work_class(Work class),company,zip(ZIP code). - Status
statuslist - Only permits with one of these statuses, exactly as ContraX writes them, such as Issued.
- Permit type
permit_typelist - Only permits whose type contains one of these words, such as Roofing.
- Company
companylist - Only permits for one of these companies or contractors, by full name.
- ZIP code
ziptext - Only permits at this ZIP code.
- Minimum value
min_valuenumber - Only permits worth at least this many dollars.At least 0.
- Maximum value
max_valuenumber - Only permits worth at most this many dollars.At least 0.
- Issued on or after
issued_afterdate - Only permits issued on or after this day.
- Issued on or before
issued_beforedate - Only permits issued on or before this day.
Outputs
dataobject- The response from ContraX.
Example output
{
"data": {
"facets": {
"company": [
"Sunshine Roofing LLC"
],
"permit_type": [
"Roofing"
],
"status": [
"Issued"
],
"work_class": [
"Alteration"
],
"zip": [
"33990"
]
},
"truncated": []
}
}Get permit totals
Count and total a jurisdiction's permits by week, type, status, company and ZIP code.
Inputs
- Jurisdiction
jurisdictiontextRequired - The jurisdiction to read. Pick one, or use a jurisdiction ID from List jurisdictions.
- Status
statuslist - Only permits with one of these statuses, exactly as ContraX writes them, such as Issued.
- Permit type
permit_typelist - Only permits whose type contains one of these words, such as Roofing.
- Company
companylist - Only permits for one of these companies or contractors, by full name.
- ZIP code
ziptext - Only permits at this ZIP code.
- Minimum value
min_valuenumber - Only permits worth at least this many dollars.At least 0.
- Maximum value
max_valuenumber - Only permits worth at most this many dollars.At least 0.
- Issued on or after
issued_afterdate - Only permits issued on or after this day.
- Issued on or before
issued_beforedate - Only permits issued on or before this day.
Outputs
dataobject- The response from ContraX.
Example output
{
"data": {
"by_company": [
{
"company_name": "Sunshine Roofing LLC",
"count": 1,
"value": 18500
}
],
"by_permit_type": [
{
"count": 1,
"permit_type": "Roofing"
}
],
"by_status": [
{
"count": 1,
"status": "Issued"
}
],
"by_week": [
{
"count": 1,
"week": "2026-01-12"
}
],
"by_work_class": [
{
"count": 1,
"work_class": "Alteration"
}
],
"by_zip": [
{
"count": 1,
"value": 18500,
"zip": "33990"
}
],
"metrics": {
"total_permits": 1,
"total_value": 18500,
"unique_contractors": 1,
"unique_zips": 1
}
}
}List jurisdictions
List the jurisdictions your ContraX plan covers, with their IDs.
Inputs
None.
Outputs
dataobject- The response from ContraX.
Example output
{
"data": {
"jurisdictions": [
{
"county": "Lee",
"id": "cape-coral",
"name": "Cape Coral",
"state": "FL"
}
]
}
}List permits
List one page of a jurisdiction's building permits, filtered and sorted as you choose.
Inputs
- Jurisdiction
jurisdictiontextRequired - The jurisdiction to read. Pick one, or use a jurisdiction ID from List jurisdictions.
- Status
statuslist - Only permits with one of these statuses, exactly as ContraX writes them, such as Issued.
- Permit type
permit_typelist - Only permits whose type contains one of these words, such as Roofing.
- Company
companylist - Only permits for one of these companies or contractors, by full name.
- ZIP code
ziptext - Only permits at this ZIP code.
- Minimum value
min_valuenumber - Only permits worth at least this many dollars.At least 0.
- Maximum value
max_valuenumber - Only permits worth at most this many dollars.At least 0.
- Issued on or after
issued_afterdate - Only permits issued on or after this day.
- Issued on or before
issued_beforedate - Only permits issued on or before this day.
- Contractor contains
contractortext - Only permits whose contractor's name contains this.
- Address contains
addresstext - Only permits whose address contains this.
- Parcel contains
parceltext - Only permits whose parcel number contains this.
- Applied on or after
applied_afterdate - Only permits applied for on or after this day.
- Applied on or before
applied_beforedate - Only permits applied for on or before this day.
- Sort by
sorttext - Which date to sort by. Leave empty for ContraX's own order.One of:
issued_at(Date issued),applied_at(Date applied). - Order
ordertext - Newest or oldest first, when sorting.One of:
desc(Newest first),asc(Oldest first). - Page size
limitnumber - How many permits a page holds. Your plan caps it at 100 or 250.From 1 to 250.
- Next page
cursortext - The next_cursor from the page before, to read the page after it.
Outputs
dataobject- The response from ContraX.
Example output
{
"data": {
"limit": 50,
"next_cursor": "",
"permits": [
{
"address": "123 SE 5th Ave",
"applied_at": "2026-01-05T00:00:00.000Z",
"city": "Cape Coral",
"company_name": "Sunshine Roofing LLC",
"contractor": "Sunshine Roofing LLC",
"county": "Lee",
"description": "Reroof single family home",
"finalized_at": "2026-02-20T00:00:00.000Z",
"id": "cape_coral_0002a652c9c188af",
"issued_at": "2026-01-12T00:00:00.000Z",
"jurisdiction": "cape_coral",
"latitude": 26.56,
"longitude": -81.94,
"parcel": "12-45-23-C1-00001.0010",
"permit_number": "RES24-001234",
"permit_type": "Roofing",
"state": "FL",
"status": "Issued",
"value": 18500,
"work_class": "Alteration",
"zip": "33990"
}
]
}
}