← Back to marketplace

US Building Permits and Licenses Data

US building permits, contractor and business licenses from 53 official US open-data sources by ZIP code, city or state, one row per entity.

data
by kaneliu101 endpoint100% uptime219ms avg

Endpoints

POST/v1/search
$0.0200/req

Search US building permits and business licenses

Request schema

zipCodesarray

ZIP codes. US ZIP codes, for example 78701. Each ZIP code is one input. Only places covered by the sources return rows; the README lists them.

citiesarray

Cities. Cities written as City, ST, for example Austin, TX or New Orleans, LA. Each city is one input.

statesarray

States. Two-letter state codes such as NY or TX. Each state is one input and reads every source in that state (city, county and statewide), so add Record types to narrow it.

sourcesarray

Sources. Without a place, each source you pick is one input and returns its newest records. With a place, only these sources are searched there. The two historical sources are read only when picked here.

recordTypesarray

Record types. Kinds of records to return. Empty means all kinds except professional licenses, which are returned only when selected here or when you pick a professional license source.

keywordstring

Keyword. Words to find anywhere in the record, for example solar or restaurant. Keyword searches are slower on large sources; add a date range to keep them fast.

dateFromstring

Records from. Only records dated on or after this day: a date (YYYY-MM-DD) or a window such as 30 days, counted back from today. Permits use the issue date; licenses use the date each source keeps. Sources without a record date are skipped when a date is set.

dateTostring

Records until. Only records dated on or before this day: a date (YYYY-MM-DD) or a window such as 7 days, counted back from today.

permitTypesarray

Permit types. Kinds of work, for permits only. Each permit gets one kind from its source's own wording.

permitStatusesarray

Permit statuses. Permit statuses to keep, for permits only.

minEstimatedCostinteger

Minimum estimated cost (USD). Only permits with a stated job value of at least this many US dollars. Permits without a job value are left out when this is set.

maxEstimatedCostinteger

Maximum estimated cost (USD). Only permits with a stated job value of at most this many US dollars.

licenseStatusesarray

License statuses. License statuses to keep, for licenses only.

sortBystring

Sort order. Newest records first or oldest first, by record date. Records of sources without a record date come after the dated ones.

maxResultsinteger

Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).

includeRawFieldsboolean

Include the source record. Add the record exactly as the source published it, under raw (up to 64 KiB per row).

requestIdstring

Optional. Your id for this request: repeating it while the job runs returns the same job.

Response schema

{
  "allOf": [
    {
      "type": "object",
      "properties": {
        "jobId": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "queued",
            "running",
            "succeeded",
            "partial",
            "failed",
            "cancelled"
          ]
        },
        "done": {
          "type": "boolean"
        },
        "rowsAvailable": {
          "type": "integer"
        },
        "rowsDelivered": {
          "type": "integer",
          "description": "Rows already delivered (and billed) to you for this job."
        },
        "rowsLimit": {
          "type": "integer",
          "description": "Most rows this job can deliver."
        },
        "estimatedFinishSec": {
          "type": "integer",
          "description": "While running: estimated seconds until done."
        },
        "statusUrl": {
          "type": "string"
        },
        "resultsUrl": {
          "type": "string"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        },
        "retentionHours": {
          "type": "integer"
        },
        "error": {
          "$ref": "#/components/schemas/ErrorDetail"
        }
      }
    },
    {
      "type": "object",
      "properties": {
        "offset": {
          "type": "integer"
        },
        "nextOffset": {
          "type": "integer"
        },
        "hasMore": {
          "type": "boolean"
        },
        "rowCount": {
          "type": "integer"
        },
        "rowsBilled": {
          "type": "integer",
          "description": "Rows delivered by this response."
        },
        "rows": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/Row"
          }
        },
        "meta": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  ]
}

Quick start

Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.

# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call this service
npx @apihubio/cli call "https://proxy.apihub.io/us-permits-licenses/v1/search" \
  -d '{"zipCodes":["string"],"cities":["string"],"states":["string"],"sources":["austin_permits"],"recordTypes":["building_permit"],"keyword":"example keyword","dateFrom":"example dateFrom","dateTo":"example dateTo","permitTypes":["roofing"],"permitStatuses":["issued"],"minEstimatedCost":0,"maxEstimatedCost":0,"licenseStatuses":["active"],"sortBy":"newest","maxResults":10,"includeRawFields":false,"requestId":"example requestId"}'

Or call the proxy directly (curl / any HTTP client):

curl -X POST https://proxy.apihub.io/us-permits-licenses/v1/search \
  -H "Authorization: Bearer ahk_your_key" \
  -H "Content-Type: application/json" \
  -d '{"zipCodes":["string"],"cities":["string"],"states":["string"],"sources":["austin_permits"],"recordTypes":["building_permit"],"keyword":"example keyword","dateFrom":"example dateFrom","dateTo":"example dateTo","permitTypes":["roofing"],"permitStatuses":["issued"],"minEstimatedCost":0,"maxEstimatedCost":0,"licenseStatuses":["active"],"sortBy":"newest","maxResults":10,"includeRawFields":false,"requestId":"example requestId"}'

# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)

Pricing calculator

Estimate your monthly cost for US Building Permits and Licenses Data.

POST /v1/search$0.0200/req
-