ContractorRoster API
REST API v1
Authenticated lookup of licensed contractors across 28 states and 17 trades. Prepaid balance, $0.10/record default ($0.07 for CRM partners), $50 minimum top-up. Email [email protected] to request an API key.
Raw OpenAPI 3.1: /api/v1/openapi.yaml
Public endpoints
No authentication. Rate-limited per IP. Use for partner prospecting, AI-agent discovery, and to qualify queries before committing balance.
Total contractor count + redacted sample for a state × trade. Free preflight before a paid call. Rate-limited per IP.
Catalog of supported states with their geo types and per-trade availability. Use this to build dropdowns / validate inputs.
Authenticated endpoints
Require an API key issued by ContractorRoster. Authorization: Bearer cr_live_... or X-API-Key: cr_live_....
Search + deliver enriched contractor records. Debits balance at price_per_record_cents × records_delivered. Send dry_run: true to preview cost without debit. Returns 402 with shortfall on insufficient balance.
Create a Stripe Checkout Session to credit the partner balance. $50 min, $10k max per session. Returns checkout_url.
Current balance, pricing, and the 20 most recent transactions (top-ups + API calls).
MCP server
Model Context Protocol server for AI agents. Same data, same balance, tool-call interface. Live at /api/mcp. Tools: list_states, list_trades, count_contractors, search_contractors, get_usage. Auth is the same Authorization: Bearer cr_live_… header.
Minimal client setup (TypeScript):
Spec + status: docs/MCP_SPEC.md →
Ready to integrate? Tell us about your use case.
[email protected] →