{"uid":"cap_6VyoY4EOBNHczvj7ZtK8n","slug":"scrapebench-nm-contractor-license-lookup-a7750d79","name":"Scrapebench NM Contractor License Lookup","description":"Look up New Mexico contractor licences (Construction Industries Division) by licence number, business name, city, ZIP or status, returning status, expiry and business address. Every licence PSI Exams lists for NM CID, active and lapsed, refreshed monthly.","url":"https://api.scrapebench.dev/v1/nm-contractor-licenses?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","title":"Input","properties":{"city":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"City","default":null,"description":"Business city, exact match ignoring case, e.g. 'Albuquerque'."},"name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Name","default":null,"description":"Case-insensitive substring of the business name."},"status":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Status","default":null,"description":"Licence status, ignoring case: one of Active, Cancelled, Revoked, Suspended, Inactive, Expired, Inspector. Default: every status."},"purpose":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Purpose","default":null,"description":"Optional: what you need this data for, in one sentence (e.g. 'vetting a roofer before hiring'). It never changes the price or the rows; it tells us what to improve."},"zip_code":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"title":"Zip Code","default":null,"description":"ZIP code or its leading digits, e.g. '871'."},"license_number":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"License Number","default":null,"description":"Exact NM CID licence number, e.g. '1010'."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"NmContractorLicensesPage","required":["service","page","page_size","next_page","rows"],"properties":{"page":{"type":"integer","title":"Page","description":"Zero-based page number of this response."},"rows":{"type":"array","items":{"anyOf":[{"type":"object","title":"Output","required":["source_url","license_number"],"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City","default":null,"description":"Business city (some licensees are out of state)."},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","default":null,"description":"Licence status: Active, Cancelled, Revoked, Suspended, Inactive, Expired, Inspector."},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","default":null,"description":"Principal place of business, street or PO box."},"zip_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zip Code","default":null,"description":"Business ZIP, with the +4 extension when CID has one."},"scraped_at":{"type":"string","title":"Scraped At","format":"date-time","description":"UTC timestamp of scrape."},"source_url":{"type":"string","title":"Source Url","description":"The URL or endpoint this record was scraped from."},"business_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Name","default":null,"description":"Licensed business name as CID lists it."},"license_number":{"type":"string","title":"License Number","description":"NM CID contractor licence number."},"expiration_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiration Date","default":null,"description":"Licence expiry, MM/DD/YYYY as CID writes it."}},"additionalProperties":false},{"type":"object","title":"Notice","required":["notice"],"properties":{"notice":{"type":"string","title":"Notice","description":"Human-readable reason, and what to send instead if the input was the problem."},"scraped_at":{"type":"string","title":"Scraped At","format":"date-time","description":"UTC timestamp of scrape."},"source_url":{"type":"string","title":"Source Url","default":"","description":"Empty: a notice is about the request, not about a page."},"notice_type":{"type":"string","title":"Notice Type","default":"input_error","description":"Machine-readable reason: input_error, no_results, blocked, truncated, source_changed, not_ready or stale."}},"description":"A free row explaining why a page has no (or partial) data. Never charged.","additionalProperties":false}]},"title":"Rows","description":"Data rows, or free Notice rows explaining a gap."},"service":{"type":"string","title":"Service","description":"The service that answered."},"next_page":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Page","description":"Page to request next, or null when this is the last."},"page_size":{"type":"integer","title":"Page Size","description":"Most rows a page can hold; one page is one price."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RoFqQRcKDtw787sYS51OF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search New Mexico Construction Industries Division (CID) contractor licenses by license number, business name, city, ZIP, or status, returning status, expiry, and business address.","exampleAgentPrompt":"Can you check whether a New Mexico contractor named 'Sunrise Roofing LLC' has an active CID license? I want their license status, expiry date, and business address.","exampleUseCases":[{"title":"Vetting a contractor before hiring","prompt":"I'm about to hire a contractor in Santa Fe, NM — can you look up their NM CID license number 1010 and tell me if it's active and when it expires?"},{"title":"Finding licensed electricians in a city","prompt":"Can you pull a list of all active licensed contractors based in Albuquerque, New Mexico from the CID database? I want their business names and license statuses."},{"title":"Compliance check on a specific ZIP code","prompt":"I need to find all contractors with NM CID licenses in ZIP code 87501 — show me any that are suspended, revoked, or expired so I can flag them."}],"resultDescription":"Returns a paginated list of NM CID contractor license records matching the query, each including business name, license number, license status (Active, Cancelled, Revoked, Suspended, Inactive, Expired, Inspector), expiry date, and business address. Data is refreshed monthly from PSI Exams records.","failureModes":["No matching records found — returns empty rows array when the query parameters don't match any license","Invalid status value — returns an error if the status field doesn't match the accepted enum values","Request missing required fields — returns a validation error if the body type or method is incorrect","Rate limit or payment failure — call rejected if x402 payment is not processed correctly","Stale data — monthly refresh cycle means very recent changes may not yet be reflected"],"whenToPreferThis":"Use this endpoint when you need to verify or search New Mexico contractor licenses specifically from the CID/PSI Exams database, including both active and lapsed records. Prefer this over generic web searches when you need structured, machine-readable license data with consistent fields like status and expiry. Choose this when vetting contractors for hire, auditing compliance, or cross-referencing license numbers programmatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T06:34:04.444Z","isFirstParty":false,"canonicalSlug":"scrapebench-nm-contractor-license-lookup-a7750d79"}