ContractorRoster Contractors API

Authenticated paid endpoints. Debits partner balance.

GitHub OpenAPI

Operations 1

POST /api/v1/contractors Search contractors and deliver enriched records #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/contractorroster-com:contractorroster-com-contractors-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

contractorroster-com-contractors-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Contractorroster Com Contractors API
  version: 1.0.0
  contact:
    name: ContractorRoster Partnerships
    email: hello@contractorroster.com
    url: https://contractorroster.com/partnerships
  license:
    name: Per-record (prepaid balance)
    url: https://contractorroster.com/partnerships
  description: 'Operations tagged Contractors across 2 of this provider''s published API definitions: contractorroster-com-openapi.yaml, contractorroster-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://contractorroster.com
  description: Production
tags:
- name: Contractors
  description: Authenticated paid endpoints. Debits partner balance.
paths:
  /api/v1/contractors:
    post:
      tags:
      - Contractors
      summary: Search contractors and deliver enriched records
      description: 'Returns enriched contractor records for a state × trade × geo query.

        Charges the partner''s balance at `price_per_record_cents` ×

        `records_delivered`. Set `dry_run: true` to preview count + cost

        without debit.


        Records include phone, email, website, Google rating where

        available. Coverage of enrichment fields varies by state — Supabase-

        backed states (CA, FL, VA, MN) typically deliver 95%+ phone coverage

        from cached enrichment; live-Socrata states (CO, TX, WA, OR)

        deliver only what the source dataset includes natively (WA + TX

        include phone; CO + OR do not).'
      security:
      - ApiKeyAuth: []
      - BearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - state
              - trade
              - geo_type
              - geo_value
              properties:
                state:
                  type: string
                  pattern: ^[A-Z]{2}$
                  example: CA
                  description: 'Two-letter state code. Live list: GET /api/v1/states'
                trade:
                  type: string
                  example: HVAC
                  description: 'Trade code. Live list: GET /api/v1/trades'
                geo_type:
                  type: string
                  enum:
                  - zip
                  - city
                  example: zip
                geo_value:
                  type: string
                  example: '90210'
                active_only:
                  type: boolean
                  default: true
                  description: Only currently-licensed contractors. Default true.
                dry_run:
                  type: boolean
                  default: false
                  description: Return count + estimated cost without debiting balance or delivering records.
                limit:
                  type: integer
                  minimum: 1
                  maximum: 5000
                  description: Cap returned records (and therefore cost). Default 5000.
      responses:
        '200':
          description: Records delivered (or dry-run preview)
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/ContractorsResponse'
                - $ref: '#/components/schemas/ContractorsDryRunResponse'
        '400':
          description: Validation error
        '401':
          description: Missing or invalid API key
        '402':
          description: Insufficient balance — top up via /api/v1/topup
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsufficientBalance'
        '422':
          description: state × trade not configured
        '429':
          description: Rate limited
      operationId: postApiV1Contractors
      x-operation-id-source: derived
    servers:
    - url: https://contractorroster.com
      description: Production
components:
  schemas:
    ContractorRecord:
      type: object
      properties:
        entityname:
          type:
          - string
          - 'null'
        firstname:
          type:
          - string
          - 'null'
        lastname:
          type:
          - string
          - 'null'
        city:
          type:
          - string
          - 'null'
        state:
          type: string
        mailzipcode:
          type:
          - string
          - 'null'
        licensetype:
          type:
          - string
          - 'null'
        licensenumber:
          type:
          - string
          - 'null'
        licensefirstissuedate:
          type:
          - string
          - 'null'
        licenseexpirationdate:
          type:
          - string
          - 'null'
        licensestatusdescription:
          type:
          - string
          - 'null'
        linktoverifylicense:
          type:
          - object
          - 'null'
          properties:
            url:
              type: string
        phone:
          type:
          - string
          - 'null'
        fullAddress:
          type:
          - string
          - 'null'
        website:
          type:
          - string
          - 'null'
        email:
          type:
          - string
          - 'null'
        googleRating:
          type:
          - number
          - 'null'
        googleReviewCount:
          type:
          - integer
          - 'null'
    InsufficientBalance:
      type: object
      properties:
        error:
          type: string
          example: Insufficient balance
        balance_cents:
          type: integer
        cost_cents:
          type: integer
        shortfall_cents:
          type: integer
        total:
          type: integer
        records_would_deliver:
          type: integer
        price_per_record_cents:
          type: integer
        topup_endpoint:
          type: string
          example: /api/v1/topup
    ContractorsDryRunResponse:
      type: object
      properties:
        dry_run:
          type: boolean
          enum:
          - true
        total:
          type: integer
        records_would_deliver:
          type: integer
        estimated_cost_cents:
          type: integer
        price_per_record_cents:
          type: integer
        balance_cents:
          type: integer
    ContractorsResponse:
      type: object
      properties:
        records:
          type: array
          items:
            $ref: '#/components/schemas/ContractorRecord'
        total:
          type: integer
        records_delivered:
          type: integer
        cost_cents:
          type: integer
        balance_cents_after:
          type: integer
        state:
          type: string
        trade:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: cr_live_...
x-refined-from:
- contractorroster-com-openapi.yaml
- contractorroster-com-openapi.yml
x-pricing:
  api:
    standard_price_per_record_cents: 10
    crm_partner_price_per_record_cents: 7
    min_topup_cents: 5000
    max_topup_cents: 1000000
    contact: hello@contractorroster.com