Menu

Check a contractor's license, bond and insurance in Python (Washington State open data)
📰

Check a contractor's license, bond and insurance in Python (Washington State open data)

DEV Community: api·DataForge·about 6 hours ago
#qy8dFlFB
#devtoapi#devto#dev#bond#insurance
Long article (593 words) — no AI summary yet.
Reading 0:00
15s threshold

If you hire subcontractors, insure them or sell to them, the same three questions come up: is the license active, is there a bond, is there insurance in force. In Washington State the answers are public. The Department of Labor & Industries (L&I) publishes contractor licenses, bonds and insurance as separate open datasets on data.wa.gov. They are not joined, so checking one contractor means looking in three places.

Disclosure: I built the Actor used below. It reads those official datasets and joins them by license number. It is a lookup helper, not a certificate of compliance. Confirm with L&I before any legal or contractual decision.

Run it

from apify_client import ApifyClient

client = ApifyClient ( "<YOUR_APIFY_TOKEN>" ) run = client . actor ( "dataforge_api/wa-lni-contractors-bond-ppe" ) . call ( run_input = { "queries" : [ "roofing" ] , "licenseStatuses" : [ "ACTIVE" ] , "cities" : [ "SEATTLE" ] , "licenseTypeCodes" : [ "CC" ] , # construction contractor "maxResults" : 5 , } ) for r in client .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.