The Roofing List Contractors API

Search and read contractor listings.

GitHub OpenAPI

Operations 2

GET /v1/contractors Search contractors in a city or near a ZIP code #
GET /v1/contractors/{id} Get one contractor by id #

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/theroofinglist-com:theroofinglist-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

theroofinglist-com-contractors-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Roofing List Contractors API
  version: 0.1.1
  summary: Find roofing, siding and gutter contractors in US cities.
  description: 'A read-only API for The Roofing List, a directory of US roofing, siding and gutter contractors.


    - It is free. You do not need a key.

    - It lists only open businesses that passed our contact check.

    - Ratings come from reviews published on The Roofing List only. They never come from Google or other sites.

    - A search returns 25 results at most.

    - Calls are rate-limited. Over the limit, you get HTTP 429 and a `Retry-After` header.


    ## Quick start


    ```bash

    curl ''https://mcp.theroofinglist.com/v1/contractors?trade=roofing&city=Austin&state=TX&limit=5''

    curl ''https://mcp.theroofinglist.com/v1/contractors?trade=roofing&zip=78701&limit=5''

    ```


    The same data is also available to AI agents as an MCP server at `https://mcp.theroofinglist.com/mcp`.'
  termsOfService: https://theroofinglist.com/terms/
  contact:
    name: The Roofing List
    email: support@theroofinglist.com
    url: https://theroofinglist.com/mcp/
  license:
    name: MIT
    identifier: MIT
servers:
- url: https://mcp.theroofinglist.com
tags:
- name: Contractors
  description: Search and read contractor listings.
paths:
  /v1/contractors:
    get:
      operationId: searchContractors
      tags:
      - Contractors
      summary: Search contractors in a city or near a ZIP code
      description: 'Find roofing, siding or gutter contractors in a US city, or near a US ZIP code. Returns only listed businesses that are open and passed our contact check. Ratings come from reviews published on The Roofing List only.


        - Give `city` and `state`, or give `zip`.

        - A city search returns the firms with an office in that city, A to Z.

        - A ZIP search returns the firms with an office within 25 miles of the ZIP''s centre, nearest first. Each firm''s `city` and `state` are those of its nearest office. A ZIP we do not know returns an empty list.

        - When `zip` comes with `city` or `state`, `zip` wins and the API ignores `city` and `state`.'
      parameters:
      - name: trade
        in: query
        required: true
        description: 'The trade: roofing, siding or gutters.'
        schema:
          type: string
          enum:
          - roofing
          - siding
          - gutters
        example: roofing
      - name: city
        in: query
        required: false
        description: US city name, for example "Austin". Required with `state` when there is no `zip`.
        schema:
          type: string
          minLength: 1
          maxLength: 80
        example: Austin
      - name: state
        in: query
        required: false
        description: US state as a USPS code ("TX") or a full name ("Texas"). Required with `city` when there is no `zip`.
        schema:
          type: string
          minLength: 2
          maxLength: 40
        example: TX
      - name: zip
        in: query
        required: false
        description: A 5-digit US ZIP code. Returns the nearest firms within 25 miles, nearest first. With `zip`, the API ignores `city` and `state`.
        schema:
          type: string
          pattern: ^\d{5}$
        example: '78701'
      - name: limit
        in: query
        required: false
        description: How many results, 1 to 25. Default 10.
        schema:
          type: integer
          minimum: 1
          maximum: 25
          default: 10
        example: 10
      responses:
        '200':
          description: The contractors that match. The list is empty when none match.
          headers:
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractorList'
              examples:
                austinRoofers:
                  summary: Roofers in Austin, Texas
                  value:
                    contractors:
                    - id: 101
                      name: Lone Star Roofing
                      trades:
                      - roofing
                      - gutters
                      city: Austin
                      state: TX
                      phone: '+15125550101'
                      profileUrl: https://theroofinglist.com/roofers/texas/austin/lone-star-roofing
                      claimed: true
                      website: https://lonestarroofing.example.com
                      rating:
                        value: 4.7
                        count: 12
                    - id: 102
                      name: Hill Country Roof & Gutter
                      trades:
                      - roofing
                      city: Austin
                      state: TX
                      phone: '+15125550102'
                      profileUrl: https://theroofinglist.com/roofers/texas/austin/hill-country-roof-gutter
                      claimed: false
        '400':
          description: 'The input is not valid: an unknown state, a city that is not a name, no city and state and no zip, a zip that is not 5 digits, an unknown trade, or a limit out of range.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                unknownState:
                  summary: Unknown state
                  value:
                    error: Unknown US state "Narnia". Use a USPS code like "TX" or a name like "Texas".
                badLimit:
                  summary: Limit out of range
                  value:
                    error: 'Invalid input: limit: Too big: expected number to be <=25'
                badZip:
                  summary: ZIP not 5 digits
                  value:
                    error: 'Invalid input: zip: Use a 5-digit US ZIP code'
                noPlace:
                  summary: No city and state, and no zip
                  value:
                    error: 'Invalid input: city: Required without zip, state: Required without zip'
        '405':
          $ref: '#/components/responses/MethodNotAllowed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v1/contractors/{id}:
    get:
      operationId: getContractor
      tags:
      - Contractors
      summary: Get one contractor by id
      description: Get one contractor by the id from a search. A business that is closed or no longer listed returns 404.
      parameters:
      - name: id
        in: path
        required: true
        description: The contractor id from a search.
        schema:
          type: integer
          minimum: 1
        example: 101
      responses:
        '200':
          description: The contractor.
          headers:
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicContractor'
              examples:
                claimed:
                  summary: A claimed profile with ratings
                  value:
                    id: 101
                    name: Lone Star Roofing
                    trades:
                    - roofing
                    - gutters
                    city: Austin
                    state: TX
                    phone: '+15125550101'
                    profileUrl: https://theroofinglist.com/roofers/texas/austin/lone-star-roofing
                    claimed: true
                    website: https://lonestarroofing.example.com
                    rating:
                      value: 4.7
                      count: 12
        '400':
          description: The id is not a positive whole number.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                badId:
                  summary: Not a number
                  value:
                    error: 'Invalid input: id: Invalid input: expected number, received string'
        '404':
          description: No listed contractor has this id. The business may be closed or no longer listed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                notFound:
                  summary: Not listed
                  value:
                    error: No listed contractor with id 999.
        '405':
          $ref: '#/components/responses/MethodNotAllowed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: What went wrong, in plain English.
      required:
      - error
    ContractorList:
      type: object
      properties:
        contractors:
          type: array
          items:
            $ref: '#/components/schemas/PublicContractor'
      required:
      - contractors
      additionalProperties: false
    PublicContractor:
      type: object
      description: A listed, open contractor. Only these fields leave the API.
      properties:
        id:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          description: The contractor id. Use it with getContractor.
        name:
          type: string
          description: The business name.
        trades:
          type: array
          items:
            type: string
            enum:
            - roofing
            - siding
            - gutters
          description: The trades the business works in.
        city:
          type: string
          description: The main location's city, for example "Austin".
        state:
          type: string
          description: The main location's USPS state code, for example "TX".
        phone:
          anyOf:
          - type: string
          - type: 'null'
          description: The phone number in E.164 form, or null.
        profileUrl:
          type: string
          description: The profile page on theroofinglist.com.
        claimed:
          type: boolean
          description: True when the business has claimed its profile.
        website:
          description: Only present for claimed profiles.
          type: string
        rating:
          description: From reviews published on The Roofing List only. Absent when there are none.
          type: object
          properties:
            value:
              type: number
              description: Average of published reviews on The Roofing List, 1 to 5.
            count:
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
              description: How many published reviews.
          required:
          - value
          - count
          additionalProperties: false
      required:
      - id
      - name
      - trades
      - city
      - state
      - phone
      - profileUrl
      - claimed
      additionalProperties: false
  responses:
    Unavailable:
      description: The directory is not available right now.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: The directory is not available right now. Try again soon.
    MethodNotAllowed:
      description: Only GET is allowed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Method not allowed. Use GET.
    RateLimited:
      description: Too many calls. Wait for the Retry-After seconds, then try again.
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Rate limit exceeded. Try again in a minute.
  headers:
    RetryAfter:
      description: Seconds to wait before the next call.
      schema:
        type: integer
        examples:
        - 60
    CacheControl:
      description: Successful responses may be cached for 5 minutes.
      schema:
        type: string
        examples:
        - public, max-age=300