Scraper API
Contractor licenceslicences.contractorsAvailable
Contractor licences
Licensed businesses: licence number, business name, type, trade, status, issue and expiry dates, bond and insurance expiry where published, and city.
Give it a register, and optionally a business name, a licence number, a trade or an expiry window.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 8, 1 required
- Record
- 17 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/licences.contractors/runs
sent, and answered
a record of the run17 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 17 fields are set down here; the whole record is below.

What it is used for
- Check a contractor
- Look up a
license_numberorbusiness_nameand confirm itsstatusbefore you hire. - Catch expiring licences
- Read licences by
expires_fromandexpires_toand reach businesses about to renew. - Build a trade list
- List licensed businesses by
tradeandcityfor a sales territory.
What you send
A register, and optionally a business name, a licence number, a trade or an expiry window. These are its 8 inputs, as its schema has them.
sourcestring Required- The register: washington, texas, oregon, chicago, new_york_mold, new_york_elevator or buffalo.
businessstring Optional- Only businesses whose name holds this text.
license_numberstring Optional- One licence, by its number in the register.
tradestring Optional- Only licences whose type or trade holds this text.
expires_fromstring Optional- Only licences that run out on or after this day.
expires_tostring Optional- Only licences that run out on or before this day.
max_resultsinteger Optional- Rows a page, up to 200.Default
25 offsetinteger Optional- How many rows to skip, to read the next page.Default
0
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/licences.contractors/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"source":"washington","expires_from":"2026-11-24","expires_to":"2028-12-31","max_results":3}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("licences.contractors", {
"source": "washington",
"expires_from": "2026-11-24",
"expires_to": "2028-12-31",
"max_results": 3,
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("licences.contractors", {
source: "washington",
expires_from: "2026-11-24",
expires_to: "2028-12-31",
max_results: 3,
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "licences.contractors", map[string]any{"source": "washington", "expires_from": "2026-11-24", "expires_to": "2028-12-31", "max_results": 3})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("licences.contractors", Map.of("source", "washington", "expires_from", "2026-11-24", "expires_to", "2028-12-31", "max_results", 3));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run licences.contractors --input source=washington --input expires_from=2026-11-24 --input expires_to=2028-12-31 --input max_results=3Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
Licensed businesses: licence number, business name, type, trade, status, issue and expiry dates, bond and insurance expiry where published, and city. A record has 17 fields. One we could not read is null, never an empty string or a zero.
{
"source": "washington",
"source_name": "Washington L&I",
"state": "WA",
"license_number": "APEXCCL936D9",
"business_name": "APEX COMPANIES LLC",
"license_type": "CONSTRUCTION CONTRACTOR",
"trade": "GENERAL",
"status": "ACTIVE",
"issue_date": "2007-03-29",
"expiry_date": "2028-12-31",
"bond_expiry_date": null,
"insurance_expiry_date": null,
"city": "Rockville",
"region": "MD",
"postal_code": "20850",
"source_url": "https://data.wa.gov/d/m8qx-ubtq",
"fetched_at": "2026-11-23T23:15:34.847328Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
The fields of a record
sourcestring- The register's key, e.g.
washington,texas. source_namestring- The register's name, e.g.
Texas TDLR. statestring- The US state of the register, as two letters.
license_numberstring- The licence number in the register.
business_namestring- The licensed business's name.
license_typestring or null- The type of licence, in the register's own words.
tradestring or null- The trade or speciality the register gives, in its own words.
statusstring or null- The licence's status, in words. Null where the register does not publish one.
issue_datestring or null- The day the licence was issued or took effect,
YYYY-MM-DD, where the register publishes it. expiry_datestring or null- The day the licence runs out,
YYYY-MM-DD. bond_expiry_datestring or null- The day the business's bond runs out,
YYYY-MM-DD, where the register publishes it. insurance_expiry_datestring or null- The day the business's insurance runs out,
YYYY-MM-DD, where the register publishes it. citystring or null- The business's city.
regionstring or null- The business's state, as two letters.
postal_codestring or null- The business's ZIP code.
source_urlstring- The register's public page.
fetched_atdatetime- When the register was asked, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- Businesses only: someone licensed under their own name is left out, so a page can hold fewer records than asked.
- Oregon's register lists active licences only.
- Bond and insurance dates are published by Oregon.
The bounds its schema sets
source- washington, texas, oregon, chicago, new_york_mold, new_york_elevator, buffalo
max_results- 1 to 200; 25 unless you say otherwise
offset- 0 to 50,000; 0 unless you say otherwise
Questions
What does Contractor licences return?
Licensed businesses: licence number, business name, type, trade, status, issue and expiry dates, bond and insurance expiry where published, and city. A record has 17 fields, among them source, source_name, state, license_number, business_name and license_type. A value that could not be read is null, never an empty string or a zero.
What do I send?
A register, and optionally a business name, a licence number, a trade or an expiry window. The input source is required. Optional: business, license_number, trade, expires_from, expires_to, max_results and offset.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: source washington, texas, oregon, chicago, new_york_mold, new_york_elevator, buffalo; max_results 1 to 200 (25 unless you say otherwise); offset 0 to 50,000 (0 unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
Businesses only: someone licensed under their own name is left out, so a page can hold fewer records than asked. Oregon's register lists active licences only. Bond and insurance dates are published by Oregon.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id licences.contractors and the same input. It costs what the same API call costs.
Used in this playbook
A playbook runs Contractor licences as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.
Real estate
Contractor Licence Watch
Contractor businesses whose licence, bond or insurance expires in the next weeks, from official state and city registers.
Contractor licences
Licensed contractor businesses from official state and city registers: licence number, trade, status, and issue, expiry, bond and insurance dates.
Contractor licences on the line-up
- Industry
- Government and public records
- Where
- United States
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.