# WPRDC (data.wprdc.org): Pittsburgh permits, code violations, condemnations and contractor licences · 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.

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

## 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 |
| --- | --- | --- | --- | --- |
| `name` | text |  | — | 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). |
| `sort` | one 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. |
| `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]+$. |
| `status` | one of | active, inactive, all | — | active (default): Active only; inactive: Expired, Suspended, Revoked or Closed; all. Defaults to all when license_number is set. |
| `registry` | one of | contractor, trade | contractor | contractor (default): Licensed Contractors; trade: Trade Licenses of individual electricians, HVAC mechanics, fire suppression installers and stationary engineers. |
| `naics_code` | text |  | — | NAICS code or prefix (236220, 2382). Pattern: ^[0-9]{2,6}$. |
| `issued_since` | text |  | — | 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_type` | text |  | — | 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_after` | text |  | — | 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_number` | text |  | — | 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

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

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

## Common questions

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

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

