# Scrapebench NM Contractor License Lookup

> Scrapebench NM Contractor License Lookup is a paid API for AI agents from api.scrapebench.dev, paid per call via x402, $0.08/call, status unknown (last checked 2026-11-17).

Search New Mexico Construction Industries Division (CID) contractor licenses by license number, business name, city, ZIP, or status, returning status, expiry, and business address.

## Facts

- Endpoint: POST https://api.scrapebench.dev/v1/nm-contractor-licenses?utm_source=zero.xyz
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapebench-nm-contractor-license-lookup-a7750d79
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6VyoY4EOBNHczvj7ZtK8n

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scrapebench-nm-contractor-license-lookup-a7750d79 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapebench-nm-contractor-license-lookup-a7750d79/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.scrapebench.dev](https://www.zero.xyz/host/api.scrapebench.dev/llms.txt)
