PlaybooksLocal business
Home-Services Pros
The plumbers, electricians or cleaners of a place, with ratings, licences, years in business and an email.
- Id
home-services-pros- Version
- 1.1.0
- Category
- Local business
- Status
- Live
- Saved, it runs
- weekly, monthly
- Unit cap
- 800 by default, 10 to 10000
Gathers the tradespeople of one trade in one place from the marketplaces homeowners hire them on (Thumbtack and the Better Business Bureau in the United States, Checkatrade in the United Kingdom) and from Google Maps, as one list with each business once. Each keeps its ratings, reviews, hires, licence and years in business, and its own website is read for the email and profiles it publishes.
Use when someone sells to tradespeople or contractors and wants the ones working in a town, with a way to reach each.
Run it with POST /v1/formulas/home-services-pros/runs. How runs work is in Running a playbook; what a run costs is below.
Parameters
The fields of params, the Basics first. Only the required ones must be given; every other has a default. A field that is not listed is refused. The OpenAPI document has them as the type HomeServicesProsParams.
| Parameter | Type | Required or default | What it is |
|---|---|---|---|
tradeBasics | string | required | Trade. The trade in the plural, as the sites write it, such as plumbers, electricians or house cleaning.up to 60 characters. |
cityBasics | string | required | Town or city. One town or city.up to 80 characters. |
regionBasics | string | "" | State or county. For the United States, the two-letter state, which Thumbtack needs. For the United Kingdom, leave empty or give the county.up to 40 characters. |
countryBasics | string | "US" | Country. The United States or the United Kingdom; the marketplaces read depend on it.One of US, GB. |
sourcesFilters | list of strings | ["thumbtack","bbb","checkatrade","google_maps"] | Where to look. Each is read only for the country it covers.One of thumbtack, bbb, checkatrade, google_maps.1 or more. |
min_ratingFilters | number | 0 | Lowest rating. Out of 5 on most sites and of 10 on Checkatrade; 0 keeps those with no rating.at least 0, at most 10. |
min_reviewsFilters | integer | 0 | Fewest reviews. Businesses with fewer reviews are left out.at least 0. |
require_emailFilters | boolean | false | Only businesses with an email. Keeps the businesses whose own website publishes an email address that passes the check. |
read_profilesEnrichment | boolean | true | Read each marketplace profile. Years in business, licences and background checks on Thumbtack; website and accreditations on Checkatrade. |
resurface_after_daysOutput | integer | 120 | Show a business again after (days). For a saved playbook, how long before a delivered business may come back.at least 1, at most 365. |
max_resultsOutput | integer | 150 | Most rows. The run stops at this many businesses, most reviewed first.at least 1, at most 2000. |
Presets
Ready-made answers to start from: give them as params, with any of your own beside them.
UK tradespeople uk-trades
{
"trade": "electricians",
"city": "Leeds",
"country": "GB"
}Licensed and well rated licensed-and-rated
{
"min_rating": 4.5,
"min_reviews": 10
}Only those with an email with-email
{
"require_email": true
}Columns
The columns of each row’s data, in order; rows also carry a score from 0 to 100, and come best first. A value that is not known is null.
| Column | Label | Type | Shown by default |
|---|---|---|---|
business_name | Business | string | yes |
trade | Trade | string | yes |
city | City | string | yes |
region | State or county | string | no |
postcode | Postcode | string | no |
phone | Phone | string | yes |
website | Website | url | yes |
domain | Domain | string | yes |
rating | Rating | number | yes |
reviews | Reviews | integer | yes |
hires | Hires on Thumbtack | integer | no |
years_in_business | Years in business | integer | yes |
licensed | Licence shown | boolean | yes |
accreditations | Accreditations | list | no |
found_on | Found on | list | yes |
email | yes | ||
email_status | Email status | string | yes |
social_profiles | Social profiles | list | no |
listing_url | Listing | url | yes |
score | Score | number | yes |
Example request
# Start the run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/formulas/home-services-pros/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"params":{"trade":"plumbers","city":"Denver","region":"CO","country":"US","sources":["thumbtack","bbb","checkatrade","google_maps"],"min_rating":0,"min_reviews":0,"require_email":false,"read_profiles":true,"resurface_after_days":120,"max_results":150},"unit_cap":800}'
# Follow it until it ends, then read its rows, with the id the first call answered
curl "https://api.enrichednow.com/v1/formula-runs/$RUN_ID?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
curl "https://api.enrichednow.com/v1/formula-runs/$RUN_ID/rows?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start the run, wait for it to end, and get its rows
params = {
"trade": "plumbers",
"city": "Denver",
"region": "CO",
"country": "US",
"sources": ["thumbtack", "bbb", "checkatrade", "google_maps"],
"min_rating": 0,
"min_reviews": 0,
"require_email": False,
"read_profiles": True,
"resurface_after_days": 120,
"max_results": 150,
}
result = client.run_formula("home-services-pros", params, unit_cap=800)
print(result.run.id, result.run.status, result.run.rows_total, result.run.units_spent)
# Read its rows, best first: pages are fetched as you go
for row in result:
print(row.data)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start the run, wait for it to end, and get its rows
const params = {
trade: "plumbers",
city: "Denver",
region: "CO",
country: "US",
sources: ["thumbtack", "bbb", "checkatrade", "google_maps"],
min_rating: 0,
min_reviews: 0,
require_email: false,
read_profiles: true,
resurface_after_days: 120,
max_results: 150,
};
const { run, rows } = await client.runFormula("home-services-pros", params, { unitCap: 800 });
console.log(run.id, run.status, run.rows_total, run.units_spent);
// Read its rows, best first: pages are fetched as you go
for await (const row of rows) console.log(row.data);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Minute)
defer cancel()
// Start the run, wait for it to end, and get its rows
params := map[string]any{"trade": "plumbers", "city": "Denver", "region": "CO", "country": "US", "sources": []any{"thumbtack", "bbb", "checkatrade", "google_maps"}, "min_rating": 0, "min_reviews": 0, "require_email": false, "read_profiles": true, "resurface_after_days": 120, "max_results": 150}
run, rows, err := client.RunFormula(ctx, "home-services-pros", params, &enrichednow.RunFormulaParams{UnitCap: 800})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RowsTotal, run.UnitsSpent)
// Read its rows, best first: pages are fetched as you go
for rows.Next() {
fmt.Println(string(rows.Current().Data))
}
if err := rows.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.fasterxml.jackson.databind.ObjectMapper;
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.FormulaResult;
import com.enrichednow.FormulaRunOptions;
import com.enrichednow.models.FormulaRow;
import java.util.Map;
public class Run {
public static void main(String[] args) throws Exception {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start the run, wait for it to end, and get its rows
FormulaResult result = client.runFormula("home-services-pros", new ObjectMapper().readValue("{\"trade\":\"plumbers\",\"city\":\"Denver\",\"region\":\"CO\",\"country\":\"US\",\"sources\":[\"thumbtack\",\"bbb\",\"checkatrade\",\"google_maps\"],\"min_rating\":0,\"min_reviews\":0,\"require_email\":false,\"read_profiles\":true,\"resurface_after_days\":120,\"max_results\":150}", Map.class), FormulaRunOptions.builder().unitCap(800).build());
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().rowsTotal() + " " + result.run().unitsSpent());
// Read its rows, best first: pages are fetched as you go
for (FormulaRow row : result.rows()) {
System.out.println(row.data());
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow formulas run home-services-pros --params-json '{"trade":"plumbers","city":"Denver","region":"CO","country":"US","sources":["thumbtack","bbb","checkatrade","google_maps"],"min_rating":0,"min_reviews":0,"require_email":false,"read_profiles":true,"resurface_after_days":120,"max_results":150}' --unit-cap 800Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
{
"name": "run_formula",
"arguments": {
"formula_id": "home-services-pros",
"params": {
"trade": "plumbers",
"city": "Denver",
"region": "CO",
"country": "US",
"sources": [
"thumbtack",
"bbb",
"checkatrade",
"google_maps"
],
"min_rating": 0,
"min_reviews": 0,
"require_email": false,
"read_profiles": true,
"resurface_after_days": 120,
"max_results": 150
}
}
}It starts a full run with the answers the sample rows below were made with and the default unit cap, waits for it, and reads its rows a page at a time. The key is read from an environment variable. The MCP tab is the same run asked of an agent connected to the MCP server, which runs a preview first.
Example response
The data of the first 3 rows a real run returned with these answers on 2026-11-24: it ended ok with 40 rows, after 76 scraper calls charged 66 units. Text over 160 characters is cut here and ends with … [truncated]; the API returns every value whole.
[
{
"business_name": "A Better Plumber",
"trade": "Plumber",
"city": "Denver",
"region": "CO",
"postcode": "80239",
"phone": "+17205798133",
"website": "https://abetterplumberco.com/?utm_source=google-gbp&utm_medium=organic&utm_campaign=*2*a-better-plumber-denver",
"domain": "abetterplumberco.com",
"rating": 4.8,
"reviews": 3338,
"hires": null,
"years_in_business": null,
"licensed": null,
"accreditations": null,
"found_on": [
"bbb",
"google_maps"
],
"email": null,
"email_status": null,
"social_profiles": [
"https://www.instagram.com/abetterplumber"
],
"listing_url": "https://www.bbb.org/us/co/denver/profile/plumber/a-better-plumber-1296-90270158",
"score": 30
},
{
"business_name": "A Perfect Plumber LLC",
"trade": "Plumber",
"city": "Littleton",
"region": "CO",
"postcode": "80120",
"phone": "+17203753900",
"website": "http://aperfectplumber.com/",
"domain": "aperfectplumber.com",
"rating": 5,
"reviews": 621,
"hires": null,
"years_in_business": null,
"licensed": null,
"accreditations": null,
"found_on": [
"bbb",
"google_maps"
],
"email": null,
"email_status": null,
"social_profiles": null,
"listing_url": "https://www.bbb.org/us/co/englewood/profile/plumber/a-perfect-plumber-llc-1296-90112807",
"score": 40
},
{
"business_name": "My Buddy The Plumber LLC",
"trade": "Plumber",
"city": "Denver",
"region": "CO",
"postcode": "80221-2629",
"phone": "+17208299475",
"website": "https://mybuddyplumberwestminster.com/?utm_source=GBP&utm_campaign=GBPorganic&utm_id=organic",
"domain": "mybuddyplumberwestminster.com",
"rating": 4.6,
"reviews": 410,
"hires": null,
"years_in_business": null,
"licensed": null,
"accreditations": null,
"found_on": [
"bbb",
"google_maps"
],
"email": null,
"email_status": null,
"social_profiles": null,
"listing_url": "https://www.bbb.org/us/co/denver/profile/plumber/my-buddy-the-plumber-llc-1296-1000164522",
"score": 40
}
]Each row also has its id, its score, when it was first seen and its evidence: where each value came from. The run and its rows are described in Running a playbook.
Pricing
A run costs the units of the work it does, and nothing on top: each scraper call it makes is charged at that scraper's rate, when the call ends ok or partial. It never spends past its unit cap: 800 units unless you give another (at least 10, at most 10000).
With the answers above, a run is estimated at about 130 units for about 87 rows, and at most 800: 4 searches and 11 lookups across 5 sources, about 87 rows. An estimate for no history; POST /v1/formulas/home-services-pros/estimate gives yours, free.
A preview, mode: preview, is the first 10 rows, charged at what they cost: about 18 units with the answers above. POST /v1/formulas/home-services-pros/estimate with mode: preview gives yours, free.
How a playbook is charged has the rule for every playbook.