{"slug":"api-scrapebench-dev-v1-ca-contractor-directory-43503f","title":"List every California-licensed contractor in one trade classification and county","host":"api.scrapebench.dev","method":"POST","resource":"https://api.scrapebench.dev/v1/ca-contractor-directory","category":"other","description":"List every California-licensed contractor in one trade classification and county (e.g. C-10 electrical in Los Angeles), with licence status, address, phone, bond and workers' comp. Read live from the CSLB public data portal.","price_listed":0.04,"price_asked":0.04,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":209,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"county":"Alameda","license_class":"C-10"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"county":{"description":"California county name, e.g. 'Los Angeles' ('County' suffix and case are ignored).","maxLength":40,"minLength":1,"title":"County","type":"string"},"license_class":{"description":"CSLB classification code, e.g. 'A', 'B', 'C-10' (electrical), 'C-36' (plumbing).","maxLength":40,"minLength":1,"title":"License Class","type":"string"}},"required":["license_class","county"],"title":"Input","type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"next_page":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Page to request next, or null when this is the last.","title":"Next Page"},"page":{"description":"Zero-based page number of this response.","title":"Page","type":"integer"},"page_size":{"description":"Most rows a page can hold; one page is one price.","title":"Page Size","type":"integer"},"rows":{"description":"Data rows, or free Notice rows explaining a gap.","items":{"anyOf":[{"additionalProperties":false,"properties":{"address":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Street address of record.","title":"Address"},"bond_number":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Contractor bond number.","title":"Bond Number"},"business_name":{"description":"Licensed business name.","title":"Business Name","type":"string"},"business_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Entity type, e.g. Corporation, Sole Owner.","title":"Business Type"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"City of record.","title":"City"},"classifications":{"description":"Every classification the licence holds.","items":{"type":"string"},"title":"Classifications","type":"array"},"county":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"County of record.","title":"County"},"expiration_date":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Licence expiry date as CSLB writes it.","title":"Expiration Date"},"issue_date":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Licence issue date as CSLB writes it.","title":"Issue Date"},"license_number":{"description":"CSLB licence number; source_url is its public detail page.","title":"License Number","type":"string"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Business phone on file with CSLB.","title":"Phone"},"scraped_at":{"description":"UTC timestamp of the read.","format":"date-time","title":"Scraped At","type":"string"},"source_url":{"description":"The URL or endpoint this record was read from.","title":"Source Url","type":"string"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"State code of record.","title":"State"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Licence status, e.g. CLEAR.","title":"Status"},"surety_company":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Contractor bond surety company.","title":"Surety Company"},"workers_comp_company":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Workers' comp insurer.","title":"Workers Comp Company"},"workers_comp_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Workers' comp coverage type, e.g. Exempt.","title":"Workers Comp Type"},"zip_code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"ZIP code of record.","title":"Zip Code"}},"required":["source_url","license_number","business_name"],"title":"Output","type":"object"},{"additionalProperties":false,"description":"A free row explaining why a page has no (or partial) data. Never charged.","properties":{"notice":{"description":"Human-readable reason, and what to send instead if the input was the problem.","title":"Notice","type":"string"},"notice_type":{"default":"input_error","description":"Machine-readable reason: input_error, no_results, blocked, truncated, source_changed, not_ready or stale.","title":"Notice Type","type":"string"},"scraped_at":{"description":"UTC timestamp of the read.","format":"date-time","title":"Scraped At","type":"string"},"source_url":{"default":"","description":"Empty: a notice is about the request, not about a page.","title":"Source Url","type":"string"}},"required":["notice"],"title":"Notice","type":"object"}]},"title":"Rows","type":"array"},"service":{"description":"The service that answered.","title":"Service","type":"string"}},"required":["service","page","page_size","next_page","rows"],"title":"CaContractorDirectoryPage","type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.04,"price_match":true,"latency_ms":209,"error":null}],"description_full":"List every California-licensed contractor in one trade classification and county (e.g. C-10 electrical in Los Angeles), with licence status, address, phone, bond and workers' comp. Read live from the CSLB public data portal.","last_updated":"2026-10-16T04:00:50.567Z","schemes":["exact"]}