# BuildZoom US contractor directory (license boards, people, permits)

> List contractors for a category in a city: total, 25 a page, BuildZoom's 10-page window.
> ReefAPI engine `buildzoom` · 4 endpoints · clean JSON, no scraping or browsers to manage.

## How to call
- **Endpoint:** `POST https://api.reefapi.com/buildzoom/v1/<action>` with a JSON body.
- **Auth:** header `x-api-key: <YOUR_REEFAPI_KEY>` — create one free (1,000 credits, no card): https://reefapi.com/signup
- **Response (every call):** `{ ok: boolean, data: ..., meta: { record_count, credits, ... }, error: { code, message } }` — branch on `ok`. Failed calls are free.
- **One key + one shared credit pool** across every ReefAPI API. Per-call credits are listed on each endpoint below.
- **Use it from an AI agent (MCP):** connect `https://api.reefapi.com/mcp` (remote streamable-http). Clients that add connectors by URL, such as ChatGPT and the Claude app, connect with OAuth 2.1 (the user pastes their key once on a ReefAPI page; discovery at `/.well-known/oauth-protected-resource/mcp`). Config files send the key as `Authorization: Bearer <key>`. `?key=<key>` in the URL also works as a last-resort fallback.

## Endpoints

### POST https://api.reefapi.com/buildzoom/v1/search — 1 credit
List contractors for a category in a city: total, 25 a page, BuildZoom's 10-page window.

**Parameters:**
- `location` (string, required) — BuildZoom city slug as in its URLs (austin-tx, los-angeles, new-york-ny), 'City, ST', or a 5-digit ZIP (resolved to the site's own city slug).
- `category` (string, required) — Service slug: architects, carpenters, concrete-contractors, drywall-contractors, electricians, fencing-contractors, flooring-contractors, foundation_contractors, general-contractors, home-addition, home-builders, hvac-mechanical-contractors, kitchen-and-bathroom-remodeling, landscape-contractors, low-voltage-contractors, painters, plumbers, roofers, seismic-retrofit, site-work-contractors, solar-contractors, stone-and-tile-contractors, swimming-pool-contractors, window-contractors. Other BuildZoom keyword slugs also work.
- `page` (integer, optional, default 1) — 1-10, 25 per page.
- `sort` (enum, optional, default "relevance") — Site sort. Each sort is its own 250-row window; combining sorts reaches more rows. [one of: relevance, buildzoom_score, num_permits, avg_review_score, median_job_value]
- `radius` (enum, optional, default "city") — city = the city itself (site default); metro = within `mile_radius`. [one of: city, metro]
- `mile_radius` (integer, optional, default 25) — Miles around the city when radius=metro. [one of: 10, 25, 50]
- `has_reviews` (boolean, optional) — Only contractors with BuildZoom reviews.
- `has_permits` (boolean, optional) — Only contractors with building permits on record.

**Example request body:**
```json
{
  "location": "austin-tx",
  "category": "plumbers"
}
```

### POST https://api.reefapi.com/buildzoom/v1/name_search — 1 credit
Find contractor profiles by business name, optionally within a city or ZIP.

**Parameters:**
- `name` (string, required) — Business name.
- `location` (string, optional) — City slug, 'City, ST' or 5-digit ZIP. Omit to search the whole US.
- `page` (integer, optional, default 1) — Result page.
- `page_size` (integer, optional, default 25) — Rows per page.

**Example request body:**
```json
{
  "name": "Rafael and Iris Roofing",
  "location": "los-angeles"
}
```

### POST https://api.reefapi.com/buildzoom/v1/profile — 1 credit
Read a contractor profile: people with roles, licenses, phone, address, bond, insurance, permits.

**Parameters:**
- `alias` (string, optional) — Slug after /contractor/ (from search or name_search).
- `url` (string, optional) — Full profile URL instead of alias.

**Example request body:**
```json
{
  "alias": "built-to-last-contractor-inc"
}
```

### POST https://api.reefapi.com/buildzoom/v1/sitemap — 1 credit
Read BuildZoom's published crawler feeds: every contractor profile, or every city × service page.

**Parameters:**
- `kind` (enum, optional, default "contractors") — contractors = all profile URLs (~135 parts of 50,000); city_services = city × service listing pages. [one of: contractors, city_services]
- `part` (integer, optional, default 0) — Feed part number (0 = first).
- `offset` (integer, optional, default 0) — Row offset inside the part.
- `limit` (integer, optional, default 1000) — Rows to return.
- `category` (string, optional) — city_services only: keep one service slug.
- `state` (string, optional) — city_services only: keep city slugs ending in this state code.

**Example request body:**
```json
{
  "category": "plumbers"
}
```

## At scale
- **Volume:** 5M+ requests a day, measured at 60 requests a second across the fleet with no
  central bottleneck. Per-key limits are raised for high-volume accounts; volume pricing on request.
- **Missing a source:** tell us a site we do not cover and it becomes an engine. A customer asked
  for bestprice.gr on 21 Sep 2026 and it was in the catalog on 22 Sep.
- **Support:** 2 minute median time from a question in the live chat to the first answer. Setup
  help included, no support tier to buy.
- **One key, one credit pool** across every API. No per-site plans, no separate subscriptions.

## More
- Try it live, no code: https://reefapi.com/playground?engine=buildzoom
- Human docs page: https://reefapi.com/docs/buildzoom
- Overview page: https://reefapi.com/buildzoom-api
- Every ReefAPI API in one file (for your AI): https://reefapi.com/llms-full.txt
