# Virginia Contractor & Trade License Lookup (DPOR)

> Virginia Contractor & Trade License Lookup (DPOR) is a paid API for AI agents from api.scrapebench.dev, paid per call via x402, $0.08/call, status unknown (last checked 2026-10-20).

Searches Virginia DPOR contractor and trade licenses by business/person name and city, returning license details including number, class, address, expiry, specialties, and email.

## Facts

- Endpoint: POST https://api.scrapebench.dev/v1/va-contractor-licenses?utm_source=zero.xyz
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/virginia-contractor-trade-license-lookup-dpor-fa80e6c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w04jsYGz1TIR7FKBByEvT

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 virginia-contractor-trade-license-lookup-dpor-fa80e6c7 -d '<json body>'
```

Example prompt: Can you look up the DPOR contractor license for a company called Blue Ridge Builders in Roanoke, Virginia? I need their license class, number, expiry date, and any specialties listed.

## When to prefer this

Use this endpoint when you need to verify or discover Virginia contractor and trade licenses from DPOR's official regulant lists, including specialty license types like elevator mechanic, backflow prevention, or energy analyst. Prefer this over manual DPOR website searches when you need programmatic, nightly-refreshed data for compliance checks, pre-hire vetting, or lead generation in Virginia.

## Known failure modes

- No matches found if name/city substring does not match any DPOR record
- Stale data if nightly refresh has not yet captured recent DPOR updates
- Ambiguous results if name substring matches many licensees
- Invalid license_type enum value causes validation error
- Rate limit or payment failure returns 402 or error response

## How this service works

Look up Virginia contractor and trade licences (DPOR) by business or person name and city, returning licence number, class, address, expiry, specialties and email. Statewide roster, refreshed nightly from DPOR's official regulant lists.

## Output

Returns matching Virginia DPOR license records including license number, license class (e.g. Class A, B, C, or specialty type), physical address, expiration date, trade specialties, and email address for each matched individual or business.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "city": {
   "anyOf": [
    {
     "type": "string",
     "maxLength": 100
    },
    {
     "type": "null"
    }
   ],
   "title": "City",
   "default": null,
   "description": "Case-insensitive substring of the licensee's city."
  },
  "name": {
   "anyOf": [
    {
     "type": "string",
     "maxLength": 100
    },
    {
     "type": "null"
    }
   ],
   "title": "Name",
   "default": null,
   "description": "Case-insensitive substring of the individual or business name."
  },
  "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."
  },
  "license_types": {
   "type": "array",
   "items": {
    "enum": [
     "class_a",
     "class_a_legacy",
     "class_b",
     "class_c",
     "temporary",
     "residential_tradesman",
     "backflow_prevention",
     "elevator_mechanic",
     "water_well_provider",
     "accessibility_mechanic",
     "energy_analyst",
     "energy_analyst_firm",
     "sprinkler_inspector"
    ],
    "type": "string"
   },
   "title": "License Types",
   "maxItems": 13,
   "description": "Which DPOR licence lists to search. Default: Class A, B and C contractors."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/virginia-contractor-trade-license-lookup-dpor-fa80e6c7/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)
