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 contractors

data-wprdc-org/licenses/search_contractors

Search property, job and marketplace listings with WPRDC (data.wprdc.org): Pittsburgh permits, code violations, condemnations and contractor licences · Search contractors from Alexandria through one Spiral API key. 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). 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
nametext—

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).

sortone of
issued_desc, name_asc, expires_asc
issued_desc

issued_desc: newest issue or renewal first; name_asc: by name; expires_asc: soonest expiry 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]+$.

statusone of
active, inactive, all
—

active (default): Active only; inactive: Expired, Suspended, Revoked or Closed; all. Defaults to all when license_number is set.

registryone of
contractor, trade
contractor

contractor (default): Licensed Contractors; trade: Trade Licenses of individual electricians, HVAC mechanics, fire suppression installers and stationary engineers.

naics_codetext—

NAICS code or prefix (236220, 2382). Pattern: ^[0-9]{2,6}$.

issued_sincetext—

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}$.

license_typetext—

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.

expires_aftertext—

Only licences whose current term ends on or after this day, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

license_numbertext—

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}$.

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/licenses/search_contractors",
    "input": {
      "name": "<name>"
    }
  }'

Frequently asked questions

How much does WPRDC (data.wprdc.org): Pittsburgh permits, code violations, condemnations and contractor licences · Search contractors 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 contractors through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "data-wprdc-org/licenses/search_contractors"` 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 contractors?

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 contractors?

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