Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaListingsAvailable now

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

data-wprdc-org/code-enforcement/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.

Pricing

$0.00873 per call.

Limits

Runs
In the background
Returns
json
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

FieldKindDefaultDescription
ziptext—

5-digit ZIP code (15212). Pattern: ^[0-9]{5}$.

sortone of
condemned_desc, condemned_asc
condemned_desc

condemned_desc: newest first; condemned_asc: oldest first.

limitnumber
1 to 100
25

Rows per page.

cursortext—

next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$.

addresstext—

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_idtext—

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 -]+$.

neighborhoodtext—

Case-insensitive word match: every word must start a word of the column (prefix), in any order of the city neighborhood (Homewood, Beltzhoover).

condemned_sincetext—

Only records created on or after this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

condemned_untiltext—

Only records created on or before this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

inspection_resultone of
pass, fail
—

pass or fail: the latest inspection result.

Same request in code

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>"
    }
  }'

Frequently asked questions

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.