# WPRDC (data.wprdc.org): Pittsburgh permits, code violations, condemnations and contractor licences · Search condemned properties

Search property, job and marketplace listings with WPRDC (data.wprdc.org): Pittsburgh permits, code violations, condemnations and contractor licences · Search condemned properties from Alexandria through one Spiral API key. 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. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Listings
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `data-wprdc-org/code-enforcement/search_condemned_properties`
- Page: https://spiral.ai/tools/alexandria/data-wprdc-org/code-enforcement/search_condemned_properties

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `zip` | text |  | — | 5-digit ZIP code (15212). Pattern: ^[0-9]{5}$. |
| `sort` | one of | condemned_desc, condemned_asc | condemned_desc | condemned_desc: newest first; condemned_asc: oldest first. |
| `limit` | number | 1 to 100 | 25 | Rows per page. |
| `cursor` | text |  | — | next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$. |
| `address` | text |  | — | 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). |
| `parcel_id` | text |  | — | 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 -]+$. |
| `neighborhood` | text |  | — | Case-insensitive word match: every word must start a word of the column (prefix), in any order of the city neighborhood (Homewood, Beltzhoover). |
| `condemned_since` | text |  | — | Only records created on or after this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| `condemned_until` | text |  | — | Only records created on or before this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| `inspection_result` | one of | pass, fail | — | pass or fail: the latest inspection result. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "data-wprdc-org/code-enforcement/search_condemned_properties",
    "input": {
      "zip": "<zip>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=data-wprdc-org%2Fcode-enforcement%2Fsearch_condemned_properties

## Common questions

### WPRDC (data.wprdc.org): Pittsburgh permits, code violations, condemnations and contractor licences · Search condemned properties

**How much does WPRDC (data.wprdc.org): Pittsburgh permits, code violations, condemnations and contractor licences · Search condemned properties cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use WPRDC (data.wprdc.org): Pittsburgh permits, code violations, condemnations and contractor licences · Search condemned properties through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "data-wprdc-org/code-enforcement/search_condemned_properties"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use WPRDC (data.wprdc.org): Pittsburgh permits, code violations, condemnations and contractor licences · Search condemned properties?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use WPRDC (data.wprdc.org): Pittsburgh permits, code violations, condemnations and contractor licences · Search condemned properties?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

