MULTIPLE INDUSTRIES
Roster Engine
REST API and npm SDK for business records across contractors, healthcare, retail, transport and more.
- Base URL
- /api/re/v1
- Authentication & billing
X-API-Key: re_live_…
Credits per returned record.
Developer documentation · REST / npm / MCP
Discover available data for free, choose an interface, then make a small, intentional pull. Start here before creating a key or spending credits.
Looking for bidders for a construction project? Real estate developers & PMs →
MULTIPLE INDUSTRIES
REST API and npm SDK for business records across contractors, healthcare, retail, transport and more.
X-API-Key: re_live_…CONTRACTOR SEARCH
Search by state, trade, and city or ZIP. Use MCP tools in a compatible AI client, or call REST directly.
Bearer cr_live_…A key for one family will not authenticate the other. The contractor OpenAPI reference does not describe Roster Engine.
This Roster Engine request returns a coverage snapshot and the current rate card. It does not retrieve paid records.
curl --fail-with-body https://contractorroster.com/api/re/v1/rostersRead rosters for coverage, rates for credit costs and packs, and stats_updated_at for the snapshot age. Counts are not a live availability guarantee.
// npm install roster-engine
// Node.js 18+, in an ES module (.mjs)
import RosterEngine from "roster-engine";
const engine = new RosterEngine();
const catalog = await engine.rosters(); // Free. No key needed.
console.log(catalog.rosters, catalog.rates, catalog.stats_updated_at);Shell examples use POSIX syntax. On Windows, use WSL/Git Bash or translate them to PowerShell.
When you are ready to pull records, replace the example email with your own and run this once. New keys start with zero credits. Discovery is free; retrieving records requires a funded balance.
curl --fail-with-body https://contractorroster.com/api/re/v1/keys \
-H 'Content-Type: application/json' \
--data '{"email":"[email protected]"}'The response contains api_key and free_credits: 0. Save the key immediately in a secret manager or server environment as ROSTER_ENGINE_API_KEY. It is returned once; never put it in browser code, a URL, a public repository or an agent prompt.
Already have a key? Skip this step. A 409 means that email already has a key; recover your saved key or contact us.
Request a checkout URL with POST /api/re/v1/topup, your X-API-Key header and {"pack_usd":10}. Complete payment at the returned checkout_url, then confirm credits with GET /api/re/v1/balance. A zero-balance key receives 402 on record requests.
This example requests at most one California contractor with both phone and email and a stored licensed classification. It spends up to 5 credits at the current rate. An empty result is possible.
# Metered: up to 1 record, up to 5 credits at the current rate.
# Set ROSTER_ENGINE_API_KEY privately in your server environment first.
curl --fail-with-body \
'https://contractorroster.com/api/re/v1/rosters/contractors/leads?state=CA&has_both=true&min_verification=licensed&limit=1' \
-H "X-API-Key: $ROSTER_ENGINE_API_KEY"Read records, pull_id, credits_charged.total and balance_remaining from the response. A returned cursor lets you request another page; that page is another metered call.
Current rates: 1 credit for record-only, 3 for one contact type, 5 for both. Contact-bearing records are the default. Packs start at $10 for 500 credits; check discovery for current rates.
Roster Engine has no dry-run mode. A leads GET spends credits. Adding dry_run=true does not make it free. Repeating a pull can charge again.
Base: https://contractorroster.com/api/re/v1
Roster IDs: contractors, trades, dentists, chiropractors, restaurants, retail, carriers, towing, movers, home_health, care_facilities. contractors holds state license-board records and state contractor registrations. Check each record’s verification: licensed is a license-board record; registered is a contractor registration, not a trade license. Use min_verification=licensed for license-board records only. trades holds business-directory, registration and certification records. Check discovery for geographic coverage.
For the contractor interface, add a Streamable HTTP MCP server at https://contractorroster.com/api/mcp. This is the cr_live_ key family, not Roster Engine.
list_states and list_trades discovery. Use count_contractors for a free estimate.Authorization: Bearer with that key in your client’s secret settings.search_contractors and dry_run: true. Get the owner’s approval before making a paid search or topping up.Using an agent that calls REST directly? Give it the plain-text integration guide. It contains the same starter examples and the spending boundaries.
Some records include modified Overture Maps Foundation Places data, under CDLA-Permissive-2.0, with some components under Apache-2.0 or CC0-1.0. Full license texts are at /api/re/v1/notices; keep them with records you redistribute. Foursquare's notice, reproduced as it requires:
Foursquare OS Places Notice © 2026 Foursquare Labs, Inc. All rights reserved. The Foursquare OS Places dataset (the “Data”) is licensed under the Apache License, Version 2.0 (the “License”). You may not use, modify, or distribute the Data except in compliance with the License. As set forth more fully in the License, if you use, modify, or distribute the Data, you must: – provide recipients with a copy of the License. – if applicable, include prominent notices to the extent you’ve changed the Data. – preserve attribution to Foursquare, including preserving the full content of this NOTICE.txt file. To ensure appropriate attribution to Foursquare, we recommend the following:– if using/distributing the Data in flat file form as-is or after making changes/modifications: include this NOTICE.txt file, which may be modified to include an additional notice of your changes/modifications, if any. – if using/distributing the Data in API form as-is or after making changes/modifications: include a copy of the content from this NOTICE.txt file prominently in your developer documentation for such API, which may be modified to include an additional notice of your changes/modifications, if any. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable law or agreed to in writing, the Data distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. We also encourage you to join our Placemaker community where you can contribute and provide suggestions to improve the accuracy of the Data for future releases for yourself and others.
Business opt-outs recorded by ContractorRoster are applied automatically to paid API contact results. Records excluded by that check are not charged. A failed policy check stops delivery.
Your own exclusion list is different: it can help you avoid buying contacts you already hold. Customer-supplied lists are not yet supported by Roster Engine REST/npm or contractor REST/MCP. Do not invent exclusion parameters or assume they will be honored.
For a website list order, use the list builder's exclusion-file option before checkout. Filtering API results in your own application happens after purchase and does not reduce the charge.
Keep customer lists out of URLs, agent conversations and support messages. An exclusion list does not establish permission to contact the remaining businesses.
401 — Check the key family and authentication header.402 — Insufficient balance. Ask the owner before topping up.429 — Back off. Roster Engine discovery is currently 30/min/IP; pulls are 60/min/IP; key creation is 5/hour/IP.503 or a non-JSON gateway response — Unavailable, not “no matches.” Reconcile uncertain metered requests before retrying.Need help? [email protected]. Include the HTTP status and a pull ID if available. Do not send your key or customer records.