Discover/thebluebook.com API
live

thebluebook.com APIthebluebook.com

Search and retrieve commercial contractor profiles from The Blue Book Network. Filter by CSI trade code, region, keyword, and get full company details.

Endpoints
4
Updated
3mo ago
Try it
Search keyword (e.g. 'HVAC', 'plumbing', 'electrical contractor').
CSI trade code for filtering results (e.g. '1680' for Electrical Contractors). Obtain code
Region ID to filter by geographic area (e.g. '1' for New York - NYC region). Obtain IDs fr
api.parse.bot/scraper/ece15523-b39d-42ad-96c3-9240ef62b597/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/ece15523-b39d-42ad-96c3-9240ef62b597/search_companies?query=HVAC&region_id=1' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalclick to expand

Search for commercial construction companies by keyword. Returns a list of matching companies with their IDs and names. Results can be filtered by region and CSI trade code.

Input
ParamTypeDescription
queryrequiredstringSearch keyword (e.g. 'HVAC', 'plumbing', 'electrical contractor').
csi_codestringCSI trade code for filtering results (e.g. '1680' for Electrical Contractors). Obtain codes from list_categories endpoint.
region_idstringRegion ID to filter by geographic area (e.g. '1' for New York - NYC region). Obtain IDs from list_regions endpoint.
Response
{
  "type": "object",
  "fields": {
    "results": "array of company objects with company_id, name, and location",
    "total_count": "integer total number of matching companies"
  },
  "sample": {
    "data": {
      "results": [
        {
          "name": "Joe Lombardo Plumbing & Heating of Rockland, Inc.",
          "location": "",
          "company_id": "398517"
        },
        {
          "name": "Mechanical Solutions, Inc.",
          "location": "",
          "company_id": "808224"
        }
      ],
      "total_count": 983
    },
    "status": "success"
  }
}

About the thebluebook.com API

This API provides 4 endpoints for searching and retrieving contractor profiles from The Blue Book Building & Construction Network, covering company names, addresses, phone numbers, websites, trade specialties, and CSI codes. Use search_companies to find matching contractors by keyword with optional filters for trade category and geographic region, then fetch full profiles with get_company_detail.

Search and Filter Commercial Contractors

The search_companies endpoint accepts a query string (e.g. "HVAC", "plumbing", "electrical contractor") and returns an array of matching companies, each with a company_id, name, and location. Two optional parameters let you narrow results: csi_code filters by CSI trade division (e.g. 1680 for electrical contractors), and region_id filters by geographic area. Both values are discoverable through the list_categories and list_regions endpoints respectively. The response also includes a total_count integer representing the full result set size.

Full Company Profiles

Once you have a company_id, pass it to get_company_detail to retrieve the complete company record. The response includes name, phone, address (city/state/zip), website, company_id, a description field containing the company's profile text, and a specialties array listing the trades or services the company self-reports. This is the primary endpoint for building enriched contractor records.

Reference Data: Regions and Categories

The list_regions endpoint returns all available Blue Book geographic regions as objects containing id, city, state, zip, region, booksplitlabel, and recordcnt. Pass a query string to filter by region name, or use the default **** to return the full list. The list_categories endpoint takes no inputs and returns all trade categories as objects with name and code fields — these codes map directly to the csi_code parameter in search_companies, letting you programmatically enumerate and filter across every trade division The Blue Book recognizes.

Common use cases
  • Build a searchable directory of commercial contractors filtered by CSI trade code and metropolitan region
  • Enrich CRM records with verified phone numbers, addresses, and websites from contractor profiles
  • Map trade specialty coverage across geographic regions using region_id and specialties fields
  • Generate lead lists of HVAC, plumbing, or electrical contractors in a target city using keyword and region filters
  • Monitor which CSI trade categories have the highest contractor density via total_count across regions
  • Populate a vendor qualification database with company descriptions and specialty arrays from get_company_detail
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does The Blue Book have an official developer API?+
The Blue Book Building & Construction Network (thebluebook.com) does not publish a public developer API or API documentation for third-party access.
What does `get_company_detail` return beyond what `search_companies` provides?+
search_companies returns only company_id, name, and location per result. get_company_detail adds phone, website, a description narrative, and a specialties array listing the specific trades the company reports. The detail endpoint is required to retrieve any contact or trade information.
How do I find the right `region_id` or `csi_code` to filter my search?+
Use list_regions to browse all geographic regions — each object includes the region's id field, which maps to the region_id parameter in search_companies. Use list_categories to enumerate all trade categories and their code values, which map to the csi_code parameter. Both endpoints are designed to be called first to populate filter options.
Does the API return contractor reviews, ratings, or project history?+
Not currently. The API covers company contact details, trade specialties, and descriptive text. Reviews, ratings, and project history are not exposed in any current endpoint. You can fork this API on Parse and revise it to add an endpoint targeting that data.
Is pagination supported for large search result sets?+
search_companies returns a total_count indicating how many companies match the query, but the current endpoints do not expose a page or offset parameter for stepping through large result sets. You can fork this API on Parse and revise it to add pagination support.
Page content last updated . Spec covers 4 endpoints from thebluebook.com.
Related APIs in B2b DirectorySee all →
angieslist.com API
Search for home service professionals on Angi and access their detailed profiles including reviews, contact information, and photos to find the right contractor for your project. Quickly compare multiple service providers by viewing their ratings, customer feedback, and verified business details all in one place.
naukri.com API
naukri.com API
maxpreps.com API
Access high school sports data from MaxPreps. Search for schools, retrieve team rosters and schedules, look up athlete profiles, and browse national or state rankings across all sports.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
homes.com API
Search for real estate agents and properties available for sale or rent, while accessing detailed agent profiles with their 1-year transaction history, active listings, and performance statistics. Get comprehensive property details and agent information all in one place to help you find the right agent or property that matches your needs.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
104.com.tw API
Search for jobs across Taiwan's largest job board and retrieve detailed job listings including descriptions, requirements, and company information. Find the right career opportunities by browsing thousands of positions or searching for specific roles that match your skills and interests.
mouser.com API
mouser.com API
The Blue Book Building & Construction API · Parse