ContraX

App · 5 actions

Find building permits in your ContraX jurisdictions and see who is doing the work.

Actions

ActionWhat it does
Get permitGet one building permit by its ContraX ID.
Get permit facetsList the statuses, permit types, work classes, companies and ZIP codes found in a jurisdiction's permits.
Get permit totalsCount and total a jurisdiction's permits by week, type, status, company and ZIP code.
List jurisdictionsList the jurisdictions your ContraX plan covers, with their IDs.
List permitsList 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 IDidtextRequired
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

JurisdictionjurisdictiontextRequired
The jurisdiction to read. Pick one, or use a jurisdiction ID from List jurisdictions.
Facetsfieldslist
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).
Statusstatuslist
Only permits with one of these statuses, exactly as ContraX writes them, such as Issued.
Permit typepermit_typelist
Only permits whose type contains one of these words, such as Roofing.
Companycompanylist
Only permits for one of these companies or contractors, by full name.
ZIP codeziptext
Only permits at this ZIP code.
Minimum valuemin_valuenumber
Only permits worth at least this many dollars.At least 0.
Maximum valuemax_valuenumber
Only permits worth at most this many dollars.At least 0.
Issued on or afterissued_afterdate
Only permits issued on or after this day.
Issued on or beforeissued_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

JurisdictionjurisdictiontextRequired
The jurisdiction to read. Pick one, or use a jurisdiction ID from List jurisdictions.
Statusstatuslist
Only permits with one of these statuses, exactly as ContraX writes them, such as Issued.
Permit typepermit_typelist
Only permits whose type contains one of these words, such as Roofing.
Companycompanylist
Only permits for one of these companies or contractors, by full name.
ZIP codeziptext
Only permits at this ZIP code.
Minimum valuemin_valuenumber
Only permits worth at least this many dollars.At least 0.
Maximum valuemax_valuenumber
Only permits worth at most this many dollars.At least 0.
Issued on or afterissued_afterdate
Only permits issued on or after this day.
Issued on or beforeissued_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

JurisdictionjurisdictiontextRequired
The jurisdiction to read. Pick one, or use a jurisdiction ID from List jurisdictions.
Statusstatuslist
Only permits with one of these statuses, exactly as ContraX writes them, such as Issued.
Permit typepermit_typelist
Only permits whose type contains one of these words, such as Roofing.
Companycompanylist
Only permits for one of these companies or contractors, by full name.
ZIP codeziptext
Only permits at this ZIP code.
Minimum valuemin_valuenumber
Only permits worth at least this many dollars.At least 0.
Maximum valuemax_valuenumber
Only permits worth at most this many dollars.At least 0.
Issued on or afterissued_afterdate
Only permits issued on or after this day.
Issued on or beforeissued_beforedate
Only permits issued on or before this day.
Contractor containscontractortext
Only permits whose contractor's name contains this.
Address containsaddresstext
Only permits whose address contains this.
Parcel containsparceltext
Only permits whose parcel number contains this.
Applied on or afterapplied_afterdate
Only permits applied for on or after this day.
Applied on or beforeapplied_beforedate
Only permits applied for on or before this day.
Sort bysorttext
Which date to sort by. Leave empty for ContraX's own order.One of: issued_at (Date issued), applied_at (Date applied).
Orderordertext
Newest or oldest first, when sorting.One of: desc (Newest first), asc (Oldest first).
Page sizelimitnumber
How many permits a page holds. Your plan caps it at 100 or 250.From 1 to 250.
Next pagecursortext
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"
      }
    ]
  }
}

On this page