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

AlexandriaListingsAvailable now

Oregon Open Data Portal · Search contractors

data-oregon-gov/licenses/search_contractors

Search property, job and marketplace listings with Oregon Open Data Portal · Search contractors from Alexandria through one Spiral API key. Find an Oregon contractor by business or person name, licence number, city, ZIP, county or licence type, or poll CCB for licences and endorsements registered since a date. Call get_license with a record's license_number and source for its source rows. 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—

Five-digit ZIP code; also matches ZIP+4 entries. Pattern: ^[0-9]{5}$.

citytext—

City, exact and case-insensitive (Portland).

nametext—

Case-insensitive substring of the licensee name; ccb also matches the responsible managing individual, bcd also DBA names. Must not contain % or _.

limitnumber
1 to 100
25

Licences per page.

countytext—

County, exact and case-insensitive; a trailing County is ignored. CCB also uses Out of State.

cursortext—

next_cursor from a previous call with the same filters.

sourceone of
ccb, bcd
ccb

ccb: Construction Contractors Board active licences (g77e-6bhs, daily). bcd: Building Codes Division active trade licences and certifications (vhbr-cuaq, monthly).

specialtytext—

Case-insensitive substring. ccb: endorsement name (Residential General, Home Inspector). bcd: profession (Electrical, Plumbing, Boiler, Elevator, Prefab, Certification, Combo License, RV and Manuf Dwellings).

issued_sincetext—

ccb only. Licences with an endorsement first registered on or after this date, YYYY-MM-DD. Results are newest registration first, so this polls for new licences and endorsements. Both datasets are reloaded wholesale, so per-row update times cannot track changes. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

license_typetext—

Case-insensitive substring. ccb: endorsement code, e.g. RGC (residential general), RSC (residential specialty), CGC1/CGC2 (commercial general), CSC1/CSC2, RLC, LBPR (lead-based paint), OCHI (home inspector), OCLS (locksmith). bcd: licence type, e.g. Plumbing Contractor, JP-Journeyman Plumber, C-Electrical Contractor.

expires_aftertext—

Only licences with an endorsement (ccb) or licence (bcd) expiring after this date, YYYY-MM-DD. BCD rows without an expiration (most certifications) are excluded. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

license_numbertext—

Licence number, exact (CCB 28417 or 5001OCLS, BCD 26-45C); case-insensitive. Pattern: ^[A-Za-z0-9-]+$.

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

Frequently asked questions

How much does Oregon Open Data Portal · 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 Oregon Open Data Portal · Search contractors through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "data-oregon-gov/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 Oregon Open Data Portal · Search contractors?

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

Can my AI agent use Oregon Open Data Portal · Search contractors?

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