---
type: "firecrawl-provider"
description: "City of Pittsburgh building and property records from the Western Pennsylvania Regional Data Center (data.wprdc.org), the CKAN open data portal for Pittsburgh and Allegheny County. PLI Permits (CC BY; about 66,000 building, electrical, mechanical, demolition and other permits issued since June 2019, reloaded daily): search by address, ZIP, neighborhood, contractor, type, scope, status, issue dates, project value or parcel, and read one permit with every column. The PLI/DOMI/ES Violations Report (CC0): code-enforcement case files with investigations, cited code sections and court dates by address, parcel, case, type, status and date. Condemned and Dead-End Properties (CC BY). Licensed Contractors and Trade Licenses (CC0): the city's general, sign, electrical, HVAC and other licences by name, number, type, status and dates. Every record carries the Allegheny County parcel id where published, so permits, violations and condemnations join on parcel_id, plus its licence and source URL. Rows carry no change time, so new records are polled by issue, investigation or condemnation date."
use_when: "City of Pittsburgh building and property records from the Western Pennsylvania Regional Data Center (data.wprdc.org), the CKAN open data portal for Pittsburgh and Allegheny County. PLI Permits (CC BY; about 66,000 building, electrical, mechanical, demolition and other permits issued since June 2019, reloaded daily): search by address, ZIP, neighborhood, contractor, type, scope, status, issue dates, project value or parcel, and read one permit with every column. The PLI/DOMI/ES Violations Report (CC0): code-enforcement case files with investigations, cited code sections and court dates by address, parcel, case, type, status and date. Condemned and Dead-End Properties (CC BY). Licensed Contractors and Trade Licenses (CC0): the city's general, sign, electrical, HVAC and other licences by name, number, type, status and dates. Every record carries the Allegheny County parcel id where published, so permits, violations and condemnations join on parcel_id, plus its licence and source URL. Rows carry no change time, so new records are polled by issue, investigation or condemnation date.\n\nCity of Pittsburgh building and property records from the Western Pennsylvania Regional Data Center (data.wprdc.org), the CKAN open data portal for Pittsburgh and Allegheny County. PLI Permits (CC BY; about 66,000 building, electrical, mechanical, demolition and other permits issued since June 2019, reloaded daily): search by address, ZIP, neighborhood, contractor, type, scope, status, issue dates, project value or parcel, and read one permit with every column. The PLI/DOMI/ES Violations Report (CC0): code-enforcement case files with investigations, cited code sections and court dates by address, parcel, case, type, status and date. Condemned and Dead-End Properties (CC BY). Licensed Contractors and Trade Licenses (CC0): the city's general, sign, electrical, HVAC and other licences by name, number, type, status and dates. Every record carries the Allegheny County parcel id where published, so permits, violations and condemnations join on parcel_id, plus its licence and source URL. Rows carry no change time, so new records are polled by issue, investigation or condemnation date.\n\nCity of Pittsburgh building and property records from the Western Pennsylvania Regional Data Center (data.wprdc.org), the CKAN open data portal for Pittsburgh and Allegheny County. PLI Permits (CC BY; about 66,000 building, electrical, mechanical, demolition and other permits issued since June 2019, reloaded daily): search by address, ZIP, neighborhood, contractor, type, scope, status, issue dates, project value or parcel, and read one permit with every column. The PLI/DOMI/ES Violations Report (CC0): code-enforcement case files with investigations, cited code sections and court dates by address, parcel, case, type, status and date. Condemned and Dead-End Properties (CC BY). Licensed Contractors and Trade Licenses (CC0): the city's general, sign, electrical, HVAC and other licences by name, number, type, status and dates. Every record carries the Allegheny County parcel id where published, so permits, violations and condemnations join on parcel_id, plus its licence and source URL. Rows carry no change time, so new records are polled by issue, investigation or condemnation date."
categories: "Real estate"
capabilities: 6
credits_per_call: 5
---
# WPRDC (data.wprdc.org): Pittsburgh permits, code violations, condemnations and contractor licences on Firecrawl Alexandria

City of Pittsburgh building and property records from the Western Pennsylvania Regional Data Center (data.wprdc.org), the CKAN open data portal for Pittsburgh and Allegheny County. PLI Permits (CC BY; about 66,000 building, electrical, mechanical, demolition and other permits issued since June 2019, reloaded daily): search by address, ZIP, neighborhood, contractor, type, scope, status, issue dates, project value or parcel, and read one permit with every column. The PLI/DOMI/ES Violations Report (CC0): code-enforcement case files with investigations, cited code sections and court dates by address, parcel, case, type, status and date. Condemned and Dead-End Properties (CC BY). Licensed Contractors and Trade Licenses (CC0): the city's general, sign, electrical, HVAC and other licences by name, number, type, status and dates. Every record carries the Allegheny County parcel id where published, so permits, violations and condemnations join on parcel_id, plus its licence and source URL. Rows carry no change time, so new records are polled by issue, investigation or condemnation date.

- Categories: Real estate
- Category index: [Real estate category](https://firecrawl.dev/alexandria/agents/categories/real-estate)
- Provider key: `data-wprdc-org`
- Access: Firecrawl credits
- Cost: 5 credits per call

## More

- [Human guide](https://firecrawl.dev/app/alexandria/data-wprdc-org)
- [OpenAPI spec](https://firecrawl.dev/alexandria/agents/providers/data-wprdc-org/openapi.json)

## Capabilities

- [Get permit](https://firecrawl.dev/alexandria/agents/providers/data-wprdc-org/building-permits/get_permit): One City of Pittsburgh PLI permit by permit number (BDA-2025-04777, EP-2026-06778): the shared permit fields, neighborhood, source_url, licence, and raw, the permit's datastore row with every published column. The dataset has one row per permit; an unknown number is not_found.
- [Search permits](https://firecrawl.dev/alexandria/agents/providers/data-wprdc-org/building-permits/search_permits): Search City of Pittsburgh building, electrical, mechanical, demolition, sign and other PLI permits (WPRDC dataset pli-permits: about 66,000 permits issued since June 2019, reloaded daily) by street address, ZIP, neighborhood, contractor, permit type, work type, commercial or residential, scope of work, status, issue-date window, minimum project value or Allegheny County parcel id; newest issued first, or largest project value first. Each record has the shared permit fields (number, type, class, work type, scope, status, issue date, address, coordinates, parcel id, project value, contractor of record), the neighborhood, source_url and licence. Text filters match word prefixes, not arbitrary substrings. Plumbing permits are issued by the Allegheny County Health Department and are not in this dataset. An empty page is a valid result.
- [Get license](https://firecrawl.dev/alexandria/agents/providers/data-wprdc-org/licenses/get_license): One City of Pittsburgh contractor or trade licence by licence number (GC-2026-007713, EL-2026-007344), from whichever table holds it (Licensed Contractors or Trade Licenses): the shared contractor-licence record with NAICS code and last issue date, source_url, licence, and raw, the row with every published column. The city publishes no principals, bonds, insurance or discipline tables to join. An unknown number is not_found.
- [Search contractors](https://firecrawl.dev/alexandria/agents/providers/data-wprdc-org/licenses/search_contractors): Search the City of Pittsburgh's contractor and trade licences issued by PLI (WPRDC dataset business-contractors-trades): Licensed Contractors (general and sign contractors, about 5,600 current and historical licences) or Trade Licenses (electrical, HVAC, fire suppression and stationary engineer licences of individual tradespeople, about 4,700). Filter by name, licence number, licence type, NAICS code prefix, status (active by default), issued-or-renewed-since and expires-after dates; newest issue or renewal first, by name, or soonest expiry first. Records follow the shared contractor-licence record; the city publishes no address, phone, bonds, insurance or discipline, so those are null. An empty page is a valid result.
- [Search condemned properties](https://firecrawl.dev/alexandria/agents/providers/data-wprdc-org/code-enforcement/search_condemned_properties): Search the City of Pittsburgh's condemned and dead-end properties (WPRDC dataset condemned-properties, PLI, about 2,000 records since 2020, reloaded daily) by street address, ZIP, Allegheny County parcel id, neighborhood, latest inspection result and condemnation-date window; newest condemnation first or oldest first. Each record has the parcel id, address, condemnation date, latest inspection result and score, coordinates, ward, source_url and licence; owner names are not returned. A parcel can appear more than once, as published. An empty page is a valid result.
- [Search violations](https://firecrawl.dev/alexandria/agents/providers/data-wprdc-org/code-enforcement/search_violations): Search City of Pittsburgh code-enforcement case files logged by PLI, DOMI (mobility and infrastructure) and Environmental Services (WPRDC dataset pittsburgh-pli-violations-report, since June 2020, reloaded daily) by street address, Allegheny County parcel id, case number, neighborhood, case type, status, investigation outcome and investigation-date window; newest investigation first or oldest first. Each row is one entry of a case file: an investigation (date, outcome, findings), a cited violation (code section, title, text, instructions) or a court entry (date, docket, decision), with the case's address, parcel id, coordinates, ward, source_url and licence. The live table held 48,000 rows (13,863 case files) on 2026-10-27, fewer than the roughly 560,000 the dataset notes describe, so an address without results may still have older cases. An empty page is a valid result.

## 1. Choose this provider when

City of Pittsburgh building and property records from the Western Pennsylvania Regional Data Center (data.wprdc.org), the CKAN open data portal for Pittsburgh and Allegheny County. PLI Permits (CC BY; about 66,000 building, electrical, mechanical, demolition and other permits issued since June 2019, reloaded daily): search by address, ZIP, neighborhood, contractor, type, scope, status, issue dates, project value or parcel, and read one permit with every column. The PLI/DOMI/ES Violations Report (CC0): code-enforcement case files with investigations, cited code sections and court dates by address, parcel, case, type, status and date. Condemned and Dead-End Properties (CC BY). Licensed Contractors and Trade Licenses (CC0): the city's general, sign, electrical, HVAC and other licences by name, number, type, status and dates. Every record carries the Allegheny County parcel id where published, so permits, violations and condemnations join on parcel_id, plus its licence and source URL. Rows carry no change time, so new records are polled by issue, investigation or condemnation date.

City of Pittsburgh building and property records from the Western Pennsylvania Regional Data Center (data.wprdc.org), the CKAN open data portal for Pittsburgh and Allegheny County. PLI Permits (CC BY; about 66,000 building, electrical, mechanical, demolition and other permits issued since June 2019, reloaded daily): search by address, ZIP, neighborhood, contractor, type, scope, status, issue dates, project value or parcel, and read one permit with every column. The PLI/DOMI/ES Violations Report (CC0): code-enforcement case files with investigations, cited code sections and court dates by address, parcel, case, type, status and date. Condemned and Dead-End Properties (CC BY). Licensed Contractors and Trade Licenses (CC0): the city's general, sign, electrical, HVAC and other licences by name, number, type, status and dates. Every record carries the Allegheny County parcel id where published, so permits, violations and condemnations join on parcel_id, plus its licence and source URL. Rows carry no change time, so new records are polled by issue, investigation or condemnation date.

City of Pittsburgh building and property records from the Western Pennsylvania Regional Data Center (data.wprdc.org), the CKAN open data portal for Pittsburgh and Allegheny County. PLI Permits (CC BY; about 66,000 building, electrical, mechanical, demolition and other permits issued since June 2019, reloaded daily): search by address, ZIP, neighborhood, contractor, type, scope, status, issue dates, project value or parcel, and read one permit with every column. The PLI/DOMI/ES Violations Report (CC0): code-enforcement case files with investigations, cited code sections and court dates by address, parcel, case, type, status and date. Condemned and Dead-End Properties (CC BY). Licensed Contractors and Trade Licenses (CC0): the city's general, sign, electrical, HVAC and other licences by name, number, type, status and dates. Every record carries the Allegheny County parcel id where published, so permits, violations and condemnations join on parcel_id, plus its licence and source URL. Rows carry no change time, so new records are polled by issue, investigation or condemnation date.

## 2. Minimal request

Call `POST https://api.firecrawl.dev/v2/scrape` with `{ alexandria: { provider, capability, options } }`. For a batch, send `{ alexandria: [...] }` with up to 10 calls.

```json
{
  "provider": "data-wprdc-org",
  "capability": "building-permits/get_permit",
  "options": {
    "permit_number": "BDA-2024-00005"
  }
}
```

## 3. Add provider options

Use only the options needed for the task:

- `permit_number` (string, required): PLI permit number, letters, digits and hyphens (BDA-2025-04777); case-insensitive. Pattern: ^[A-Za-z0-9][A-Za-z0-9-]{2,29}$. Example: `<permit_number>`

## 4. Request through your preferred interface

### JavaScript

```javascript
const result = await firecrawl.scrape({
  alexandria: {
    provider: "data-wprdc-org",
    capability: "building-permits/get_permit",
    options: {
      permit_number: "BDA-2024-00005",
    },
  },
});
```

### Python

```python
result = firecrawl.scrape_alexandria({
  "provider": "data-wprdc-org",
  "capability": "building-permits/get_permit",
  "options": {
    "permit_number": "BDA-2024-00005"
  }
})
```

### cURL

```sh
curl https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "alexandria": {
    "provider": "data-wprdc-org",
    "capability": "building-permits/get_permit",
    "options": {
      "permit_number": "BDA-2024-00005"
    }
  }
}'
```

### CLI

```sh
firecrawl scrape 'data-wprdc-org/building-permits/get_permit' \
  --options '{"permit_number":"BDA-2024-00005"}'
```


### MCP

Call the FCX MCP retrieve tool with this object:

```json
{
  "provider": "data-wprdc-org",
  "capability": "building-permits/get_permit",
  "options": {
    "permit_number": "BDA-2024-00005"
  }
}
```

Ask for only the returned fields needed by the task.

## 5. Full request shape

```json
{
  "provider": "data-wprdc-org",
  "capability": "building-permits/get_permit",
  "options": {
    "permit_number": "BDA-2024-00005"
  }
}
```

## 6. Response data

The response includes `success`, `provider`, `capability`, `creditsCost` and `data`. This example shows the provider payload in `data`:

```json
{
  "address": "1430 MCKENNA AVE",
  "applied_date": null,
  "city": "Pittsburgh",
  "completed_date": null,
  "contractors": [],
  "dataset": {
    "id": "f4d1177a-f597-4c32-8cbf-7885f56253f6",
    "name": "PLI Permits",
    "portal": "data.wprdc.org",
    "updated_at": "2026-10-23T07:21:57Z",
    "url": "https://data.wprdc.org/dataset/pli-permits"
  },
  "description": "15' X 20' SECOND-FLOOR OPEN DECK WITH ROOF AT REAR OF SINGLE-FAMILY DWELLING.",
  "expires_date": null,
  "housing_units": null,
  "issued_date": "2024-08-19",
  "jurisdiction": {
    "county": "Allegheny",
    "name": "Pittsburgh",
    "state": "PA"
  },
  "latitude": 40.4273327239,
  "license": {
    "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
    "name": "Creative Commons Attribution",
    "url": "http://www.opendefinition.org/licenses/cc-by"
  },
  "longitude": -80.0513225367,
  "neighborhood": "Westwood",
  "observed_at_ms": 1793151040816,
  "parcel_id": "0039M00120000000",
  "permit_class": "Residential",
  "permit_number": "BDA-2024-00005",
  "permit_type": "Building & Development Application",
  "raw": {
    "address": "1430 MCKENNA AVE, Pittsburgh, 15205-",
    "commercial_or_residential": "Residential",
    "contractor_name": null,
    "council_district": "2",
    "issue_date": "2024-08-19",
    "latitude": 40.4273327239,
    "longitude": -80.0513225367,
    "neighborhood": "Westwood",
    "parcel_num": "0039M00120000000",
    "permit_id": "BDA-2024-00005",
    "permit_type": "Building & Development Application",
    "status": "Completed",
    "total_project_value": 8000,
    "ward": "28",
    "work_description": "15' X 20' SECOND-FLOOR OPEN DECK WITH ROOF AT REAR OF SINGLE-FAMILY DWELLING.",
    "work_type": "Existing (alteration/addition)",
    "zip_code": "15205"
  },
  "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=f4d1177a-f597-4c32-8cbf-7885f56253f6&filters=%7B%22permit_id%22%3A%22BDA-2024-00005%22%7D",
  "square_feet": null,
  "state": "PA",
  "status": "Completed",
  "valuation_usd": 8000,
  "work_class": "Existing (alteration/addition)",
  "zip": "15205"
}
```

## API reference-derived contract

The following capability contract is generated from the same normalized Alexandria API reference exposed in the API spec.

### Get permit

- Capability: `building-permits/get_permit`
- Description: One City of Pittsburgh PLI permit by permit number (BDA-2025-04777, EP-2026-06778): the shared permit fields, neighborhood, source_url, licence, and raw, the permit's datastore row with every published column. The dataset has one row per permit; an unknown number is not_found.
- Instructions: After search_permits, or when you have a Pittsburgh permit number, to see every published column.
- Cost: 5 credits per call
- Capability file: [Get permit](https://firecrawl.dev/alexandria/agents/providers/data-wprdc-org/building-permits/get_permit)

Accepted options:
- `permit_number` (string, required): PLI permit number, letters, digits and hyphens (BDA-2025-04777); case-insensitive. Pattern: ^[A-Za-z0-9][A-Za-z0-9-]{2,29}$. Example: `<permit_number>`

Response schema example:
```json
{
  "address": "1430 MCKENNA AVE",
  "applied_date": null,
  "city": "Pittsburgh",
  "completed_date": null,
  "contractors": [],
  "dataset": {
    "id": "f4d1177a-f597-4c32-8cbf-7885f56253f6",
    "name": "PLI Permits",
    "portal": "data.wprdc.org",
    "updated_at": "2026-10-23T07:21:57Z",
    "url": "https://data.wprdc.org/dataset/pli-permits"
  },
  "description": "15' X 20' SECOND-FLOOR OPEN DECK WITH ROOF AT REAR OF SINGLE-FAMILY DWELLING.",
  "expires_date": null,
  "housing_units": null,
  "issued_date": "2024-08-19",
  "jurisdiction": {
    "county": "Allegheny",
    "name": "Pittsburgh",
    "state": "PA"
  },
  "latitude": 40.4273327239,
  "license": {
    "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
    "name": "Creative Commons Attribution",
    "url": "http://www.opendefinition.org/licenses/cc-by"
  },
  "longitude": -80.0513225367,
  "neighborhood": "Westwood",
  "observed_at_ms": 1793151040816,
  "parcel_id": "0039M00120000000",
  "permit_class": "Residential",
  "permit_number": "BDA-2024-00005",
  "permit_type": "Building & Development Application",
  "raw": {
    "address": "1430 MCKENNA AVE, Pittsburgh, 15205-",
    "commercial_or_residential": "Residential",
    "contractor_name": null,
    "council_district": "2",
    "issue_date": "2024-08-19",
    "latitude": 40.4273327239,
    "longitude": -80.0513225367,
    "neighborhood": "Westwood",
    "parcel_num": "0039M00120000000",
    "permit_id": "BDA-2024-00005",
    "permit_type": "Building & Development Application",
    "status": "Completed",
    "total_project_value": 8000,
    "ward": "28",
    "work_description": "15' X 20' SECOND-FLOOR OPEN DECK WITH ROOF AT REAR OF SINGLE-FAMILY DWELLING.",
    "work_type": "Existing (alteration/addition)",
    "zip_code": "15205"
  },
  "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=f4d1177a-f597-4c32-8cbf-7885f56253f6&filters=%7B%22permit_id%22%3A%22BDA-2024-00005%22%7D",
  "square_feet": null,
  "state": "PA",
  "status": "Completed",
  "valuation_usd": 8000,
  "work_class": "Existing (alteration/addition)",
  "zip": "15205"
}
```

### Search permits

- Capability: `building-permits/search_permits`
- Description: Search City of Pittsburgh building, electrical, mechanical, demolition, sign and other PLI permits (WPRDC dataset pli-permits: about 66,000 permits issued since June 2019, reloaded daily) by street address, ZIP, neighborhood, contractor, permit type, work type, commercial or residential, scope of work, status, issue-date window, minimum project value or Allegheny County parcel id; newest issued first, or largest project value first. Each record has the shared permit fields (number, type, class, work type, scope, status, issue date, address, coordinates, parcel id, project value, contractor of record), the neighborhood, source_url and licence. Text filters match word prefixes, not arbitrary substrings. Plumbing permits are issued by the Allegheny County Health Department and are not in this dataset. An empty page is a valid result.
- Instructions: Use for permits at a Pittsburgh address or parcel, a contractor's permits, or new permits since a date: to poll, pass issued_since (the last day you checked) and dedupe on permit_number. There is no updated_since: WPRDC wipes and reloads the table on every load, so rows carry no change time. Then get_permit for every column, search_violations or search_condemned_properties with the same parcel_id, or search_contractors with the contractor's name.
- Cost: 5 credits per call
- Capability file: [Search permits](https://firecrawl.dev/alexandria/agents/providers/data-wprdc-org/building-permits/search_permits)

Accepted options:
- `address` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order. Street line only (1815 Lowrie St, 56 South 12th Street); text after a comma is ignored and Street, Avenue, Road, Drive, North, South and similar become the city's abbreviations (ST, AVE, RD, DR, N, S). Example: `<address>`
- `contractor` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order of the contractor of record (Lorand Electric, Sunrun). Example: `<contractor>`
- `cursor` (string): next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$. Example: `<cursor>`
- `description` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order of the scope of work (solar, deck, roof, generator). Example: `<description>`
- `issued_since` (string): Only permits issued on or after this day, YYYY-MM-DD. Use the last day you checked to poll for new permits. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. Example: `<issued_since>`
- `issued_until` (string): Only permits issued on or before this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. Example: `<issued_until>`
- `limit` (number): Rows per page. Example: `25`
- `min_valuation` (number): Only permits whose total project value is at least this many USD. Example: `10`
- `neighborhood` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order of the city neighborhood (Lawrenceville, South Side Flats, Squirrel Hill North). Example: `<neighborhood>`
- `parcel_id` (string): Allegheny County parcel id (block and lot), exact: 16 characters as the datasets store it (0048J00305000000) or the county's dashed form (0048-J-00305-0000-00). The same id joins permits, violations and condemned properties. Pattern: ^[0-9A-Za-z -]+$. Example: `<parcel_id>`
- `permit_class` (string): commercial or residential. Example: `commercial`
- `permit_type` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order of the permit type: building (BUILDING and Building & Development Application), electrical, mechanical, demolition, sign, fire alarm, suppression, occupancy, storm water. Example: `<permit_type>`
- `sort` (string): issued_desc: newest issued first; valuation_desc: largest project value first. Example: `issued_desc`
- `status` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order of the status: issued, completed, expired, revoked, stop work, in review. Example: `<status>`
- `work_type` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order of the work type: new construction, alteration, addition, demolition, replacement. Example: `<work_type>`
- `zip` (string): 5-digit ZIP code (15212). Pattern: ^[0-9]{5}$. Example: `<zip>`

Response schema example:
```json
{
  "count": 5,
  "dataset": {
    "id": "f4d1177a-f597-4c32-8cbf-7885f56253f6",
    "name": "PLI Permits",
    "portal": "data.wprdc.org",
    "updated_at": "2026-10-23T07:21:57Z",
    "url": "https://data.wprdc.org/dataset/pli-permits"
  },
  "jurisdiction": {
    "county": "Allegheny",
    "name": "Pittsburgh",
    "state": "PA"
  },
  "license": {
    "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
    "name": "Creative Commons Attribution",
    "url": "http://www.opendefinition.org/licenses/cc-by"
  },
  "next_cursor": null,
  "observed_at_ms": 1793151037150,
  "records": [
    {
      "address": "1430 MCKENNA AVE",
      "applied_date": null,
      "city": "Pittsburgh",
      "completed_date": null,
      "contractors": [
        {
          "company": "Craddock Electric, LLC",
          "license_number": null,
          "name": null,
          "phone": null,
          "role": "contractor"
        }
      ],
      "description": "Duquesne light has left 10 day shutoff notice due to tampering of the meter. Requires inspection of service equipment",
      "expires_date": null,
      "housing_units": null,
      "issued_date": "2025-09-22",
      "latitude": 40.4273327239,
      "license": {
        "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons Attribution",
        "url": "http://www.opendefinition.org/licenses/cc-by"
      },
      "longitude": -80.0513225367,
      "neighborhood": "Westwood",
      "parcel_id": "0039M00120000000",
      "permit_class": "Residential",
      "permit_number": "EP-2025-06650",
      "permit_type": "ELECTRICAL",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=f4d1177a-f597-4c32-8cbf-7885f56253f6&filters=%7B%22permit_id%22%3A%22EP-2025-06650%22%7D",
      "square_feet": null,
      "state": "PA",
      "status": "Completed",
      "valuation_usd": 500,
      "work_class": "ADDITION / ALTERATION",
      "zip": "15205"
    },
    {
      "address": "1430 MCKENNA AVE",
      "applied_date": null,
      "city": "Pittsburgh",
      "completed_date": null,
      "contractors": [
        {
          "company": "Krieger Electric LLC",
          "license_number": null,
          "name": null,
          "phone": null,
          "role": "contractor"
        }
      ],
      "description": "Garage being turned into livable area. Master bedroom, bathroom, laundry area. Lights, receptacles, and fans being added\nAmendment: Rear porch being closed in to sunroom\nUsing and existing circuit 6 receptacle and 3 lights will be added",
      "expires_date": null,
      "housing_units": null,
      "issued_date": "2025-07-10",
      "latitude": 40.4273327239,
      "license": {
        "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons Attribution",
        "url": "http://www.opendefinition.org/licenses/cc-by"
      },
      "longitude": -80.0513225367,
      "neighborhood": "Westwood",
      "parcel_id": "0039M00120000000",
      "permit_class": "Residential",
      "permit_number": "EP-2025-04720",
      "permit_type": "ELECTRICAL",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=f4d1177a-f597-4c32-8cbf-7885f56253f6&filters=%7B%22permit_id%22%3A%22EP-2025-04720%22%7D",
      "square_feet": null,
      "state": "PA",
      "status": "Issued",
      "valuation_usd": 1000,
      "work_class": "ADDITION / ALTERATION",
      "zip": "15205"
    },
    {
      "address": "1430 MCKENNA AVE",
      "applied_date": null,
      "city": "Pittsburgh",
      "completed_date": null,
      "contractors": [],
      "description": "NONSTRUCTURAL INTERIOR ALTERATIONS. EXTERIOR ALTERATIONS TO INCLUDE ENCLOSEURE OF REAR PORCH (ADDTION) AND NEW PORCH AT FRONT OF EXISTING SINGLE-FAMILY DWELLING",
      "expires_date": null,
      "housing_units": null,
      "issued_date": "2025-07-08",
      "latitude": 40.4273327239,
      "license": {
        "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons Attribution",
        "url": "http://www.opendefinition.org/licenses/cc-by"
      },
      "longitude": -80.0513225367,
      "neighborhood": "Westwood",
      "parcel_id": "0039M00120000000",
      "permit_class": "Residential",
      "permit_number": "BDA-2025-04777",
      "permit_type": "Building & Development Application",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=f4d1177a-f597-4c32-8cbf-7885f56253f6&filters=%7B%22permit_id%22%3A%22BDA-2025-04777%22%7D",
      "square_feet": null,
      "state": "PA",
      "status": "Issued",
      "valuation_usd": 60000,
      "work_class": "Existing (alteration/addition)",
      "zip": "15205"
    },
    {
      "address": "1430 MCKENNA AVE",
      "applied_date": null,
      "city": "Pittsburgh",
      "completed_date": null,
      "contractors": [
        {
          "company": "Craddock Electric, LLC",
          "license_number": null,
          "name": null,
          "phone": null,
          "role": "contractor"
        }
      ],
      "description": "Installing electric to new back porch and roof.",
      "expires_date": null,
      "housing_units": null,
      "issued_date": "2024-10-10",
      "latitude": 40.4273327239,
      "license": {
        "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons Attribution",
        "url": "http://www.opendefinition.org/licenses/cc-by"
      },
      "longitude": -80.0513225367,
      "neighborhood": "Westwood",
      "parcel_id": "0039M00120000000",
      "permit_class": "Residential",
      "permit_number": "EP-2024-12753",
      "permit_type": "ELECTRICAL",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=f4d1177a-f597-4c32-8cbf-7885f56253f6&filters=%7B%22permit_id%22%3A%22EP-2024-12753%22%7D",
      "square_feet": null,
      "state": "PA",
      "status": "Completed",
      "valuation_usd": 1500,
      "work_class": "ADDITION / ALTERATION",
      "zip": "15205"
    },
    {
      "address": "1430 MCKENNA AVE",
      "applied_date": null,
      "city": "Pittsburgh",
      "completed_date": null,
      "contractors": [],
      "description": "15' X 20' SECOND-FLOOR OPEN DECK WITH ROOF AT REAR OF SINGLE-FAMILY DWELLING.",
      "expires_date": null,
      "housing_units": null,
      "issued_date": "2024-08-19",
      "latitude": 40.4273327239,
      "license": {
        "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons Attribution",
        "url": "http://www.opendefinition.org/licenses/cc-by"
      },
      "longitude": -80.0513225367,
      "neighborhood": "Westwood",
      "parcel_id": "0039M00120000000",
      "permit_class": "Residential",
      "permit_number": "BDA-2024-00005",
      "permit_type": "Building & Development Application",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=f4d1177a-f597-4c32-8cbf-7885f56253f6&filters=%7B%22permit_id%22%3A%22BDA-2024-00005%22%7D",
      "square_feet": null,
      "state": "PA",
      "status": "Completed",
      "valuation_usd": 8000,
      "work_class": "Existing (alteration/addition)",
      "zip": "15205"
    }
  ],
  "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=f4d1177a-f597-4c32-8cbf-7885f56253f6&filters=%7B%22issue_date%22%3A%7B%22lte%22%3A%222025-12-31%22%7D%7D&q=%7B%22address%22%3A%221430+%26+mckenna%3A*+%26+ave%3A*%22%7D&full_text=1430+%26+mckenna%3A*+%26+ave%3A*&plain=false&language=simple&sort=issue_date+desc+nulls+last%2C+permit_id+desc&limit=25",
  "total": 5
}
```

### Get license

- Capability: `licenses/get_license`
- Description: One City of Pittsburgh contractor or trade licence by licence number (GC-2026-007713, EL-2026-007344), from whichever table holds it (Licensed Contractors or Trade Licenses): the shared contractor-licence record with NAICS code and last issue date, source_url, licence, and raw, the row with every published column. The city publishes no principals, bonds, insurance or discipline tables to join. An unknown number is not_found.
- Instructions: After search_contractors, or when you have a Pittsburgh licence number, to confirm its status and term.
- Cost: 5 credits per call
- Capability file: [Get license](https://firecrawl.dev/alexandria/agents/providers/data-wprdc-org/licenses/get_license)

Accepted options:
- `license_number` (string, required): City licence number, letters, digits and hyphens (GC-2026-007713, BL007729, EL-2026-007344); case-insensitive. Pattern: ^[A-Za-z0-9][A-Za-z0-9-]{2,29}$. Example: `<license_number>`

Response schema example:
```json
{
  "address": null,
  "bonds": null,
  "business_name": "P.J. Dick Incorporated",
  "city": null,
  "county": null,
  "dataset": {
    "id": "7e195511-5219-4d16-84f7-f34a2aedf5b4",
    "name": "Licensed Contractors",
    "portal": "data.wprdc.org",
    "updated_at": "2026-10-22T04:46:01Z",
    "url": "https://data.wprdc.org/dataset/business-contractors-trades"
  },
  "discipline": null,
  "effective_date": "2026-01-10",
  "expiration_date": "2027-01-09",
  "insurance": null,
  "issue_date": "2012-01-26",
  "jurisdiction": {
    "county": "Allegheny",
    "name": "Pittsburgh",
    "state": "PA"
  },
  "last_issue_date": "2025-12-10",
  "license": {
    "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
    "name": "Creative Commons CCZero",
    "url": "http://www.opendefinition.org/licenses/cc-zero"
  },
  "license_number": "BL000270",
  "license_type": "General Contractor",
  "naics_code": "236220",
  "observed_at_ms": 1793151050446,
  "person_name": null,
  "phone": null,
  "principals": null,
  "raw": {
    "business_name": "P.J. Dick Incorporated",
    "effective_date": "2026-01-10T00:00:00.000",
    "expiration_date": "2027-01-09T00:00:00.000",
    "initial_issue_date": "2012-01-26T10:16:50.000",
    "license_number": "BL000270",
    "license_state": "Active",
    "license_type_name": "General Contractor",
    "most_recent_issue_date": "2025-12-10T00:00:00.000",
    "naics_code": "236220"
  },
  "registry": "contractor",
  "registry_id": null,
  "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=7e195511-5219-4d16-84f7-f34a2aedf5b4&filters=%7B%22license_number%22%3A%22BL000270%22%7D",
  "specialties": null,
  "state": null,
  "status": "Active",
  "suspend_date": null,
  "zip": null
}
```

### Search contractors

- Capability: `licenses/search_contractors`
- Description: Search the City of Pittsburgh's contractor and trade licences issued by PLI (WPRDC dataset business-contractors-trades): Licensed Contractors (general and sign contractors, about 5,600 current and historical licences) or Trade Licenses (electrical, HVAC, fire suppression and stationary engineer licences of individual tradespeople, about 4,700). Filter by name, licence number, licence type, NAICS code prefix, status (active by default), issued-or-renewed-since and expires-after dates; newest issue or renewal first, by name, or soonest expiry first. Records follow the shared contractor-licence record; the city publishes no address, phone, bonds, insurance or discipline, so those are null. An empty page is a valid result.
- Instructions: Use to check whether a contractor named on a Pittsburgh permit holds an active city licence, to list newly licensed contractors (issued_since the last day you checked: initial issues and renewals) or to find trade licensees (registry trade). Names match word prefixes: Lorand Electric, not Lorand Elec Inc spelled differently.
- Cost: 5 credits per call
- Capability file: [Search contractors](https://firecrawl.dev/alexandria/agents/providers/data-wprdc-org/licenses/search_contractors)

Accepted options:
- `cursor` (string): next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$. Example: `<cursor>`
- `expires_after` (string): Only licences whose current term ends on or after this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. Example: `<expires_after>`
- `issued_since` (string): Only licences first issued or renewed on or after this day (most_recent_issue_date), YYYY-MM-DD. Use the last day you checked to poll. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. Example: `<issued_since>`
- `license_number` (string): Licence number, exact (GC-2026-007713); case-insensitive. Status defaults to all when this is set. Pattern: ^[A-Za-z0-9][A-Za-z0-9-]{2,29}$. Example: `<license_number>`
- `license_type` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order of the licence type: general, sign; electrical, hvac, fire suppression, stationary. Example: `<license_type>`
- `limit` (number): Rows per page. Example: `25`
- `naics_code` (string): NAICS code or prefix (236220, 2382). Pattern: ^[0-9]{2,6}$. Example: `<naics_code>`
- `name` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order of the business or licensee name (Lorand Electric, Mosites). Example: `<name>`
- `registry` (string): contractor (default): Licensed Contractors; trade: Trade Licenses of individual electricians, HVAC mechanics, fire suppression installers and stationary engineers. Example: `contractor`
- `sort` (string): issued_desc: newest issue or renewal first; name_asc: by name; expires_asc: soonest expiry first. Example: `issued_desc`
- `status` (string): active (default): Active only; inactive: Expired, Suspended, Revoked or Closed; all. Defaults to all when license_number is set. Example: `active`

Response schema example:
```json
{
  "count": 2,
  "dataset": {
    "id": "7e195511-5219-4d16-84f7-f34a2aedf5b4",
    "name": "Licensed Contractors",
    "portal": "data.wprdc.org",
    "updated_at": "2026-10-22T04:46:01Z",
    "url": "https://data.wprdc.org/dataset/business-contractors-trades"
  },
  "jurisdiction": {
    "county": "Allegheny",
    "name": "Pittsburgh",
    "state": "PA"
  },
  "license": {
    "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
    "name": "Creative Commons CCZero",
    "url": "http://www.opendefinition.org/licenses/cc-zero"
  },
  "next_cursor": null,
  "observed_at_ms": 1793151047100,
  "records": [
    {
      "address": null,
      "bonds": null,
      "business_name": "Mascaro Construction Co LP",
      "city": null,
      "county": null,
      "discipline": null,
      "effective_date": "2026-11-06",
      "expiration_date": "2027-11-05",
      "insurance": null,
      "issue_date": "2012-01-12",
      "last_issue_date": "2026-10-08",
      "license": {
        "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons CCZero",
        "url": "http://www.opendefinition.org/licenses/cc-zero"
      },
      "license_number": "BL000157",
      "license_type": "General Contractor",
      "naics_code": "236220",
      "person_name": null,
      "phone": null,
      "principals": null,
      "registry": "contractor",
      "registry_id": null,
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=7e195511-5219-4d16-84f7-f34a2aedf5b4&filters=%7B%22license_number%22%3A%22BL000157%22%7D",
      "specialties": null,
      "state": null,
      "status": "Active",
      "suspend_date": null,
      "zip": null
    },
    {
      "address": null,
      "bonds": null,
      "business_name": "Mascaro Contracting LP",
      "city": null,
      "county": null,
      "discipline": null,
      "effective_date": "2026-11-06",
      "expiration_date": "2027-11-05",
      "insurance": null,
      "issue_date": "2012-01-26",
      "last_issue_date": "2026-10-08",
      "license": {
        "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons CCZero",
        "url": "http://www.opendefinition.org/licenses/cc-zero"
      },
      "license_number": "BL005832",
      "license_type": "General Contractor",
      "naics_code": "236220",
      "person_name": null,
      "phone": null,
      "principals": null,
      "registry": "contractor",
      "registry_id": null,
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=7e195511-5219-4d16-84f7-f34a2aedf5b4&filters=%7B%22license_number%22%3A%22BL005832%22%7D",
      "specialties": null,
      "state": null,
      "status": "Active",
      "suspend_date": null,
      "zip": null
    }
  ],
  "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=7e195511-5219-4d16-84f7-f34a2aedf5b4&filters=%7B%22license_state%22%3A%22Active%22%7D&q=%7B%22business_name%22%3A%22mascaro%3A*%22%7D&full_text=mascaro%3A*&plain=false&language=simple&sort=most_recent_issue_date+desc+nulls+last%2C+license_number&limit=25",
  "total": 2
}
```

### Search condemned properties

- Capability: `code-enforcement/search_condemned_properties`
- Description: Search the City of Pittsburgh's condemned and dead-end properties (WPRDC dataset condemned-properties, PLI, about 2,000 records since 2020, reloaded daily) by street address, ZIP, Allegheny County parcel id, neighborhood, latest inspection result and condemnation-date window; newest condemnation first or oldest first. Each record has the parcel id, address, condemnation date, latest inspection result and score, coordinates, ward, source_url and licence; owner names are not returned. A parcel can appear more than once, as published. An empty page is a valid result.
- Instructions: Use to check whether a Pittsburgh property is condemned (address or parcel_id), to list condemnations in a neighborhood or ZIP, or to watch new condemnations (condemned_since the last day you checked); then search_permits for demolition or repair permits on the same parcel_id.
- Cost: 5 credits per call
- Capability file: [Search condemned properties](https://firecrawl.dev/alexandria/agents/providers/data-wprdc-org/code-enforcement/search_condemned_properties)

Accepted options:
- `address` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order. Street line only (1815 Lowrie St, 56 South 12th Street); text after a comma is ignored and Street, Avenue, Road, Drive, North, South and similar become the city's abbreviations (ST, AVE, RD, DR, N, S). Example: `<address>`
- `condemned_since` (string): Only records created on or after this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. Example: `<condemned_since>`
- `condemned_until` (string): Only records created on or before this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. Example: `<condemned_until>`
- `cursor` (string): next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$. Example: `<cursor>`
- `inspection_result` (string): pass or fail: the latest inspection result. Example: `pass`
- `limit` (number): Rows per page. Example: `25`
- `neighborhood` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order of the city neighborhood (Homewood, Beltzhoover). Example: `<neighborhood>`
- `parcel_id` (string): Allegheny County parcel id (block and lot), exact: 16 characters as the datasets store it (0048J00305000000) or the county's dashed form (0048-J-00305-0000-00). The same id joins permits, violations and condemned properties. Pattern: ^[0-9A-Za-z -]+$. Example: `<parcel_id>`
- `sort` (string): condemned_desc: newest first; condemned_asc: oldest first. Example: `condemned_desc`
- `zip` (string): 5-digit ZIP code (15212). Pattern: ^[0-9]{5}$. Example: `<zip>`

Response schema example:
```json
{
  "count": 5,
  "dataset": {
    "id": "0a963f26-eb4b-4325-bbbc-3ddf6a871410",
    "name": "Condemned and Dead-End Properties",
    "portal": "data.wprdc.org",
    "updated_at": "2026-10-23T07:48:36Z",
    "url": "https://data.wprdc.org/dataset/condemned-properties"
  },
  "jurisdiction": {
    "county": "Allegheny",
    "name": "Pittsburgh",
    "state": "PA"
  },
  "license": {
    "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
    "name": "Creative Commons Attribution",
    "url": "http://www.opendefinition.org/licenses/cc-by"
  },
  "next_cursor": "5",
  "observed_at_ms": 1793151045090,
  "records": [
    {
      "address": "107 DUFFLAND ST",
      "city": "Pittsburgh",
      "condemned_date": "2020-06-16",
      "council_district": "4",
      "latest_inspection_result": "Fail",
      "latest_inspection_score": 1,
      "latitude": 40.392471662,
      "license": {
        "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons Attribution",
        "url": "http://www.opendefinition.org/licenses/cc-by"
      },
      "longitude": -79.9845617194,
      "neighborhood": "Carrick",
      "parcel_id": "0095D00352000100",
      "property_type": "Condemned/Dead End Property",
      "record_number": "0095D00352000100",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=0a963f26-eb4b-4325-bbbc-3ddf6a871410&filters=%7B%22parcel_id%22%3A%220095D00352000100%22%7D",
      "state": "PA",
      "status": "Active",
      "ward": "29",
      "zip": "15210"
    },
    {
      "address": null,
      "city": null,
      "condemned_date": "2020-06-18",
      "council_district": "3",
      "latest_inspection_result": "Fail",
      "latest_inspection_score": 2,
      "latitude": 40.4152350582,
      "license": {
        "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons Attribution",
        "url": "http://www.opendefinition.org/licenses/cc-by"
      },
      "longitude": -80.0000504364,
      "neighborhood": "Beltzhoover",
      "parcel_id": "0015S00126000000",
      "property_type": "Condemned/Dead End Property",
      "record_number": "0015S00126000000",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=0a963f26-eb4b-4325-bbbc-3ddf6a871410&filters=%7B%22parcel_id%22%3A%220015S00126000000%22%7D",
      "state": null,
      "status": "Active",
      "ward": "18",
      "zip": "15210"
    },
    {
      "address": "814 ESTELLA AVE",
      "city": "Pittsburgh",
      "condemned_date": "2020-06-18",
      "council_district": "3",
      "latest_inspection_result": "Fail",
      "latest_inspection_score": 2,
      "latitude": 40.4153403978,
      "license": {
        "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons Attribution",
        "url": "http://www.opendefinition.org/licenses/cc-by"
      },
      "longitude": -80.0006173787,
      "neighborhood": "Beltzhoover",
      "parcel_id": "0015S00141000000",
      "property_type": "Condemned/Dead End Property",
      "record_number": "0015S00141000000",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=0a963f26-eb4b-4325-bbbc-3ddf6a871410&filters=%7B%22parcel_id%22%3A%220015S00141000000%22%7D",
      "state": "PA",
      "status": "Active",
      "ward": "18",
      "zip": "15210"
    },
    {
      "address": "825 ELDORA PL",
      "city": "Pittsburgh",
      "condemned_date": "2020-06-22",
      "council_district": "3",
      "latest_inspection_result": "Fail",
      "latest_inspection_score": 1,
      "latitude": 40.4151358457,
      "license": {
        "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons Attribution",
        "url": "http://www.opendefinition.org/licenses/cc-by"
      },
      "longitude": -80.0010352388,
      "neighborhood": "Beltzhoover",
      "parcel_id": "0015S00193000000",
      "property_type": "Condemned/Dead End Property",
      "record_number": "0015S00193000000",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=0a963f26-eb4b-4325-bbbc-3ddf6a871410&filters=%7B%22parcel_id%22%3A%220015S00193000000%22%7D",
      "state": "PA",
      "status": "Active",
      "ward": "18",
      "zip": "15210"
    },
    {
      "address": "821 ELDORA PL",
      "city": "Pittsburgh",
      "condemned_date": "2020-06-22",
      "council_district": "3",
      "latest_inspection_result": "Fail",
      "latest_inspection_score": 1,
      "latitude": 40.415202632,
      "license": {
        "attribution": "City of Pittsburgh Department of Permits, Licenses, and Inspections, via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons Attribution",
        "url": "http://www.opendefinition.org/licenses/cc-by"
      },
      "longitude": -80.0010349711,
      "neighborhood": "Beltzhoover",
      "parcel_id": "0015S00194000000",
      "property_type": "Condemned/Dead End Property",
      "record_number": "0015S00194000000",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=0a963f26-eb4b-4325-bbbc-3ddf6a871410&filters=%7B%22parcel_id%22%3A%220015S00194000000%22%7D",
      "state": "PA",
      "status": "Active",
      "ward": "18",
      "zip": "15210"
    }
  ],
  "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=0a963f26-eb4b-4325-bbbc-3ddf6a871410&filters=%7B%22zip_code%22%3A%2215210%22%7D&sort=create_date+asc+nulls+last%2C+parcel_id%2C+_id&limit=5",
  "total": 333
}
```

### Search violations

- Capability: `code-enforcement/search_violations`
- Description: Search City of Pittsburgh code-enforcement case files logged by PLI, DOMI (mobility and infrastructure) and Environmental Services (WPRDC dataset pittsburgh-pli-violations-report, since June 2020, reloaded daily) by street address, Allegheny County parcel id, case number, neighborhood, case type, status, investigation outcome and investigation-date window; newest investigation first or oldest first. Each row is one entry of a case file: an investigation (date, outcome, findings), a cited violation (code section, title, text, instructions) or a court entry (date, docket, decision), with the case's address, parcel id, coordinates, ward, source_url and licence. The live table held 48,000 rows (13,863 case files) on 2026-10-27, fewer than the roughly 560,000 the dataset notes describe, so an address without results may still have older cases. An empty page is a valid result.
- Instructions: Use to check a Pittsburgh property's code-enforcement history (address or parcel_id from search_permits), to read one case file (case_number returns all its rows) or to watch new investigations (investigated_since the last day you checked). Violation and court rows have no investigation date, so a date filter returns investigation rows; fetch the case_number for the rest.
- Cost: 5 credits per call
- Capability file: [Search violations](https://firecrawl.dev/alexandria/agents/providers/data-wprdc-org/code-enforcement/search_violations)

Accepted options:
- `address` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order. Street line only (1815 Lowrie St, 56 South 12th Street); text after a comma is ignored and Street, Avenue, Road, Drive, North, South and similar become the city's abbreviations (ST, AVE, RD, DR, N, S). Example: `<address>`
- `case_number` (string): Case file number, exact (CF-PLI-2025-063616); returns every row of the case. Case-insensitive. Pattern: ^[A-Za-z0-9][A-Za-z0-9-]{2,29}$. Example: `<case_number>`
- `case_type` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order of the case file type: building without a permit, vacant building, fire safety, weeds, construction site, illegal dumping. Example: `<case_type>`
- `cursor` (string): next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$. Example: `<cursor>`
- `investigated_since` (string): Only investigation rows on or after this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. Example: `<investigated_since>`
- `investigated_until` (string): Only investigation rows on or before this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. Example: `<investigated_until>`
- `limit` (number): Rows per page. Example: `25`
- `neighborhood` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order of the city neighborhood. Example: `<neighborhood>`
- `outcome` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order of the investigation outcome: violation found, no violation found, violation resolved, taking case to court. Example: `<outcome>`
- `parcel_id` (string): Allegheny County parcel id (block and lot), exact: 16 characters as the datasets store it (0048J00305000000) or the county's dashed form (0048-J-00305-0000-00). The same id joins permits, violations and condemned properties. Pattern: ^[0-9A-Za-z -]+$. Example: `<parcel_id>`
- `sort` (string): investigated_desc: newest investigation first; investigated_asc: oldest first (a case's history in order). Rows without an investigation date come last. Example: `investigated_desc`
- `status` (string): Case-insensitive word match: every word must start a word of the column (prefix), in any order of the case status: under investigation, in violation, in court, closed. Example: `<status>`

Response schema example:
```json
{
  "count": 9,
  "dataset": {
    "id": "70c06278-92c5-4040-ab28-17671866f81c",
    "name": "Pittsburgh PLI/DOMI/ES Violations Report",
    "portal": "data.wprdc.org",
    "updated_at": "2026-10-26T13:11:47Z",
    "url": "https://data.wprdc.org/dataset/pittsburgh-pli-violations-report"
  },
  "jurisdiction": {
    "county": "Allegheny",
    "name": "Pittsburgh",
    "state": "PA"
  },
  "license": {
    "attribution": "City of Pittsburgh (PLI, DOMI and Environmental Services), via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
    "name": "Creative Commons CCZero",
    "url": "http://www.opendefinition.org/licenses/cc-zero"
  },
  "next_cursor": null,
  "observed_at_ms": 1793151042800,
  "records": [
    {
      "address": "516 S MURTLAND ST",
      "case_number": "CF-PLI-2022-046136",
      "case_type": "Building Without a Permit",
      "city": "Pittsburgh",
      "code_section": null,
      "code_text": null,
      "code_title": null,
      "council_district": "9",
      "court_date": null,
      "court_decision": null,
      "court_time": null,
      "department": "PLI",
      "docket_number": null,
      "entry_type": "investigation",
      "findings": "New garage was built behind house without obtaining proper addition/alterations building permit via OnestopPGH.",
      "instructions": null,
      "investigation_date": "2022-11-17",
      "latitude": 40.4465814214,
      "license": {
        "attribution": "City of Pittsburgh (PLI, DOMI and Environmental Services), via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons CCZero",
        "url": "http://www.opendefinition.org/licenses/cc-zero"
      },
      "longitude": -79.9088187712,
      "neighborhood": "Point Breeze",
      "outcome": "Violation Found",
      "parcel_id": "0126K00237000000",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=70c06278-92c5-4040-ab28-17671866f81c&filters=%7B%22casefile_number%22%3A%22CF-PLI-2022-046136%22%7D",
      "state": "PA",
      "status": "Closed",
      "violation": null,
      "ward": "14",
      "zip": "15208"
    },
    {
      "address": "516 S MURTLAND ST",
      "case_number": "CF-PLI-2022-046136",
      "case_type": "Building Without a Permit",
      "city": "Pittsburgh",
      "code_section": null,
      "code_text": null,
      "code_title": null,
      "council_district": "9",
      "court_date": null,
      "court_decision": null,
      "court_time": null,
      "department": "PLI",
      "docket_number": null,
      "entry_type": "investigation",
      "findings": "BP-2022-18499 application incomplete. Permit needs reviewed and issued then contacted for inspection.",
      "instructions": null,
      "investigation_date": "2022-12-06",
      "latitude": 40.4465814214,
      "license": {
        "attribution": "City of Pittsburgh (PLI, DOMI and Environmental Services), via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons CCZero",
        "url": "http://www.opendefinition.org/licenses/cc-zero"
      },
      "longitude": -79.9088187712,
      "neighborhood": "Point Breeze",
      "outcome": "Violation Found",
      "parcel_id": "0126K00237000000",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=70c06278-92c5-4040-ab28-17671866f81c&filters=%7B%22casefile_number%22%3A%22CF-PLI-2022-046136%22%7D",
      "state": "PA",
      "status": "Closed",
      "violation": null,
      "ward": "14",
      "zip": "15208"
    },
    {
      "address": "516 S MURTLAND ST",
      "case_number": "CF-PLI-2022-046136",
      "case_type": "Building Without a Permit",
      "city": "Pittsburgh",
      "code_section": null,
      "code_text": null,
      "code_title": null,
      "council_district": "9",
      "court_date": null,
      "court_decision": null,
      "court_time": null,
      "department": "PLI",
      "docket_number": null,
      "entry_type": "investigation",
      "findings": "BP-2022-18499 in review.",
      "instructions": null,
      "investigation_date": "2022-12-23",
      "latitude": 40.4465814214,
      "license": {
        "attribution": "City of Pittsburgh (PLI, DOMI and Environmental Services), via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons CCZero",
        "url": "http://www.opendefinition.org/licenses/cc-zero"
      },
      "longitude": -79.9088187712,
      "neighborhood": "Point Breeze",
      "outcome": "Filing Court Paperwork",
      "parcel_id": "0126K00237000000",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=70c06278-92c5-4040-ab28-17671866f81c&filters=%7B%22casefile_number%22%3A%22CF-PLI-2022-046136%22%7D",
      "state": "PA",
      "status": "Closed",
      "violation": null,
      "ward": "14",
      "zip": "15208"
    },
    {
      "address": "516 S MURTLAND ST",
      "case_number": "CF-PLI-2022-046136",
      "case_type": "Building Without a Permit",
      "city": "Pittsburgh",
      "code_section": null,
      "code_text": null,
      "code_title": null,
      "council_district": "9",
      "court_date": null,
      "court_decision": null,
      "court_time": null,
      "department": "PLI",
      "docket_number": null,
      "entry_type": "investigation",
      "findings": "Permits issued and inspected.",
      "instructions": null,
      "investigation_date": "2023-02-28",
      "latitude": 40.4465814214,
      "license": {
        "attribution": "City of Pittsburgh (PLI, DOMI and Environmental Services), via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons CCZero",
        "url": "http://www.opendefinition.org/licenses/cc-zero"
      },
      "longitude": -79.9088187712,
      "neighborhood": "Point Breeze",
      "outcome": "Violation Resolved",
      "parcel_id": "0126K00237000000",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=70c06278-92c5-4040-ab28-17671866f81c&filters=%7B%22casefile_number%22%3A%22CF-PLI-2022-046136%22%7D",
      "state": "PA",
      "status": "Closed",
      "violation": null,
      "ward": "14",
      "zip": "15208"
    },
    {
      "address": "516 S MURTLAND ST",
      "case_number": "CF-PLI-2022-046136",
      "case_type": "Building Without a Permit",
      "city": "Pittsburgh",
      "code_section": null,
      "code_text": null,
      "code_title": null,
      "council_district": "9",
      "court_date": "2023-03-22",
      "court_decision": "Court Date Scheduled",
      "court_time": "10:00AM",
      "department": "PLI",
      "docket_number": "MJ-05235-NT-0000043-2023,MJ-05235-NT-0000044-2023,MJ-05235-NT-0000045-2023",
      "entry_type": "court",
      "findings": null,
      "instructions": null,
      "investigation_date": null,
      "latitude": 40.4465814214,
      "license": {
        "attribution": "City of Pittsburgh (PLI, DOMI and Environmental Services), via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons CCZero",
        "url": "http://www.opendefinition.org/licenses/cc-zero"
      },
      "longitude": -79.9088187712,
      "neighborhood": "Point Breeze",
      "outcome": null,
      "parcel_id": "0126K00237000000",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=70c06278-92c5-4040-ab28-17671866f81c&filters=%7B%22casefile_number%22%3A%22CF-PLI-2022-046136%22%7D",
      "state": "PA",
      "status": "Closed",
      "violation": null,
      "ward": "14",
      "zip": "15208"
    },
    {
      "address": "516 S MURTLAND ST",
      "case_number": "CF-PLI-2022-046136",
      "case_type": "Building Without a Permit",
      "city": "Pittsburgh",
      "code_section": "UCC 403.64(b)",
      "code_text": "The permit holder failed to request/provide access for inspection and/or concealed work prior to inspection.",
      "code_title": "Inspection Not Requested/Work Concealed",
      "council_district": "9",
      "court_date": null,
      "court_decision": null,
      "court_time": null,
      "department": "PLI",
      "docket_number": null,
      "entry_type": "violation",
      "findings": null,
      "instructions": "Once submittal of building permit has been reviewed and issued, please request necessary inspections for work",
      "investigation_date": null,
      "latitude": 40.4465814214,
      "license": {
        "attribution": "City of Pittsburgh (PLI, DOMI and Environmental Services), via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons CCZero",
        "url": "http://www.opendefinition.org/licenses/cc-zero"
      },
      "longitude": -79.9088187712,
      "neighborhood": "Point Breeze",
      "outcome": null,
      "parcel_id": "0126K00237000000",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=70c06278-92c5-4040-ab28-17671866f81c&filters=%7B%22casefile_number%22%3A%22CF-PLI-2022-046136%22%7D",
      "state": "PA",
      "status": "Closed",
      "violation": "New garage was built behind house without proper inspections.",
      "ward": "14",
      "zip": "15208"
    },
    {
      "address": "516 S MURTLAND ST",
      "case_number": "CF-PLI-2022-046136",
      "case_type": "Building Without a Permit",
      "city": "Pittsburgh",
      "code_section": "UCC 403.81",
      "code_text": "Work violates the PA UCC or has been performed in a dangerous or unsafe manner and shall cease immediately.",
      "code_title": "Stop Work Order",
      "council_district": "9",
      "court_date": null,
      "court_decision": null,
      "court_time": null,
      "department": "PLI",
      "docket_number": null,
      "entry_type": "violation",
      "findings": null,
      "instructions": "All work must be stopped for concealment of illegal work done without proper issuance of building permits and required inspections.",
      "investigation_date": null,
      "latitude": 40.4465814214,
      "license": {
        "attribution": "City of Pittsburgh (PLI, DOMI and Environmental Services), via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons CCZero",
        "url": "http://www.opendefinition.org/licenses/cc-zero"
      },
      "longitude": -79.9088187712,
      "neighborhood": "Point Breeze",
      "outcome": null,
      "parcel_id": "0126K00237000000",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=70c06278-92c5-4040-ab28-17671866f81c&filters=%7B%22casefile_number%22%3A%22CF-PLI-2022-046136%22%7D",
      "state": "PA",
      "status": "Closed",
      "violation": "New garage was built behind house without building permit.",
      "ward": "14",
      "zip": "15208"
    },
    {
      "address": "516 S MURTLAND ST",
      "case_number": "CF-PLI-2022-046136",
      "case_type": "Building Without a Permit",
      "city": "Pittsburgh",
      "code_section": "PCC 924",
      "code_text": "As identified in this notice, the development/use is not in accordance with permit approval and/or conditions.",
      "code_title": "Development/Use In Violation of Zoning Code",
      "council_district": "9",
      "court_date": null,
      "court_decision": null,
      "court_time": null,
      "department": "PLI",
      "docket_number": null,
      "entry_type": "violation",
      "findings": null,
      "instructions": "Submit for addition/alteration permit Via OnestopPGH, and obtain zoning approval for location of structure built.",
      "investigation_date": null,
      "latitude": 40.4465814214,
      "license": {
        "attribution": "City of Pittsburgh (PLI, DOMI and Environmental Services), via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons CCZero",
        "url": "http://www.opendefinition.org/licenses/cc-zero"
      },
      "longitude": -79.9088187712,
      "neighborhood": "Point Breeze",
      "outcome": null,
      "parcel_id": "0126K00237000000",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=70c06278-92c5-4040-ab28-17671866f81c&filters=%7B%22casefile_number%22%3A%22CF-PLI-2022-046136%22%7D",
      "state": "PA",
      "status": "Closed",
      "violation": "New garage was built behind house without proper zoning approval of location of structure.",
      "ward": "14",
      "zip": "15208"
    },
    {
      "address": "516 S MURTLAND ST",
      "case_number": "CF-PLI-2022-046136",
      "case_type": "Building Without a Permit",
      "city": "Pittsburgh",
      "code_section": "UCC 403.62(a)",
      "code_text": "Construction, alterations, repairs, removal/demolition, replacement of residential building or associated electrical, gas, mechanical and/or fire suppression systems; or change of occupancy of residential building without a permit.",
      "code_title": "Permit Required",
      "council_district": "9",
      "court_date": null,
      "court_decision": null,
      "court_time": null,
      "department": "PLI",
      "docket_number": null,
      "entry_type": "violation",
      "findings": null,
      "instructions": "Submit proper addition/alteration building permit application online Via OnestopPGH",
      "investigation_date": null,
      "latitude": 40.4465814214,
      "license": {
        "attribution": "City of Pittsburgh (PLI, DOMI and Environmental Services), via the Western Pennsylvania Regional Data Center (data.wprdc.org)",
        "name": "Creative Commons CCZero",
        "url": "http://www.opendefinition.org/licenses/cc-zero"
      },
      "longitude": -79.9088187712,
      "neighborhood": "Point Breeze",
      "outcome": null,
      "parcel_id": "0126K00237000000",
      "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=70c06278-92c5-4040-ab28-17671866f81c&filters=%7B%22casefile_number%22%3A%22CF-PLI-2022-046136%22%7D",
      "state": "PA",
      "status": "Closed",
      "violation": "New garage was built behind house without additions/alteration permit via OnestopPGH.",
      "ward": "14",
      "zip": "15208"
    }
  ],
  "source_url": "https://data.wprdc.org/api/3/action/datastore_search?resource_id=70c06278-92c5-4040-ab28-17671866f81c&filters=%7B%22casefile_number%22%3A%22CF-PLI-2022-046136%22%7D&sort=investigation_date+asc+nulls+last%2C+casefile_number%2C+court_date+nulls+last%2C+_id&limit=25",
  "total": 9
}
```
