PlaybooksLocal business
Local Business Leads
Businesses of a kind in your places, with their phone and website, and an email where their own site publishes one.
- Id
local-business-leads- Version
- 1.3.0
- Category
- Local business
- Status
- Live
- Saved, it runs
- weekly, monthly
- Unit cap
- 2000 by default, 10 to 30000
Searches Google Maps for each kind of business in each place, then again in the neighbourhoods and postcodes the first search found, so a big city yields its whole spread rather than its top results. Chains, closed businesses and those outside your rating and review range are left out. Each business's own website is read for the address and the social profiles it publishes, and the address is checked. Most small businesses' sites offer only a contact form: those are kept, with their phone and website, unless you ask for only the businesses with an email. Optional site facts say what it is built on and how fast it loads.
Use when someone wants a list of local businesses of a type in a city or area, with a phone for each and an email where one is published.
Run it with POST /v1/formulas/local-business-leads/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 LocalBusinessLeadsParams.
| Parameter | Type | Required or default | What it is |
|---|---|---|---|
business_typesBasics | list of strings | required | Kinds of business. What to search for, as you would type it into Google Maps, such as roofer or vegan restaurant.1 or more, up to 10, each up to 80 characters. |
locationsBasics | list of strings | required | Places. A city, district or region for each place, with its state or country when the name is common.1 or more, up to 10, each up to 120 characters. |
expand_locationsFilters | boolean | true | Search each neighbourhood too. Searches again in the neighbourhoods and postcodes the first search found, to reach past its few hundred results. |
max_sub_areasFilters | integer | 8 | Neighbourhoods per search. How many neighbourhoods or postcodes to search again, those with the most places first.at least 1, at most 40. |
places_per_searchFilters | integer | 60 | Places read per search. How many places to read from each search.at least 10, at most 300. |
websiteFilters | string | "any" | Website. Keep every business, only those with a website, or only those without one.One of any, has, missing. |
min_ratingFilters | number | 0 | Lowest rating. Businesses rated below this are left out. 0 keeps those with no rating.at least 0, at most 5. |
max_ratingFilters | number | 5 | Highest rating. Businesses rated above this are left out.at least 0, at most 5. |
min_reviewsFilters | integer | 0 | Fewest reviews. Businesses with fewer reviews are left out.at least 0. |
max_reviewsFilters | integer | 1000000 | Most reviews. Businesses with more reviews are left out.at least 0. |
orderFilters | string | "independents_first" | Show first. Independents first puts businesses with 10 to 999 reviews first, then those with fewer, then the best-known names with 1,000 or more. Or the most reviewed first, or the fewest.One of independents_first, most_reviews_first, fewest_reviews_first. |
exclude_chainsFilters | boolean | true | Leave out chains. A name found five or more times in the results is taken for a chain and left out. |
require_emailFilters | boolean | false | Only businesses with an email. Leaves out the businesses whose own website publishes no email address that passes the check. Off, they are kept with their phone and website; many small businesses' sites have only a contact form. |
exclude_role_addressesFilters | boolean | false | Only named addresses. Leaves out businesses whose address is a shared inbox such as info@. A business's own site rarely publishes any other, so few are left. |
require_socialsFilters | boolean | false | Only businesses with social profiles. Keeps the businesses whose website links to at least one social profile. |
include_site_factsEnrichment | boolean | false | Site facts. What each website is built on, and its speed score on a phone. |
max_speed_scoreEnrichment | integer | 100 | Slowest site score kept. With site facts, keeps the sites scoring this or less; 50 keeps the slow ones.at least 0, at most 100. |
include_firmographicsEnrichment | boolean | false | Company facts. Industry and size from the company's LinkedIn page, when its website links to one. |
resurface_after_daysOutput | integer | 180 | 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 | 500 | Most rows. The run stops at this many businesses, the first of them in the order chosen.at least 1, at most 5000. |
Presets
Ready-made answers to start from: give them as params, with any of your own beside them.
Dentists (Austin) dentists-austin
{
"business_types": [
"dentist"
],
"locations": [
"Austin, TX"
],
"max_sub_areas": 3,
"places_per_search": 40
}Roofers (Dallas) roofers-dallas
{
"business_types": [
"roofer"
],
"locations": [
"Dallas, TX"
],
"max_sub_areas": 3,
"places_per_search": 40
}Every neighbourhood of a city hyper-local
{
"expand_locations": true,
"max_sub_areas": 30
}Only businesses with a checked email verified-only
{
"require_email": true
}With social profiles with-socials
{
"require_socials": true
}Quick list for an assistant agent-triggered
{
"expand_locations": false,
"places_per_search": 25,
"max_results": 25
}With company facts with-firmographics
{
"include_firmographics": true,
"website": "has"
}Businesses with no website no-website
{
"website": "missing",
"require_email": false
}Low rating, many reviews low-rating-many-reviews
{
"max_rating": 3.5,
"min_reviews": 50
}Slow website slow-website
{
"website": "has",
"include_site_facts": true,
"max_speed_score": 50
}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 |
category | Category | string | yes |
category_group | Kind | string | no |
address | Address | string | yes |
city | City | string | yes |
postcode | Postcode | string | yes |
country | Country | string | yes |
phone | Phone | string | yes |
website | Website | url | yes |
domain | Domain | string | yes |
rating | Rating | number | yes |
review_count | Reviews | integer | yes |
email | yes | ||
email_status | Email status | string | yes |
email_source_page | Email found on | url | no |
social_profiles | Social profiles | list | no |
site_platform | Built on | string | no |
site_speed_score | Speed score | integer | no |
industry | Industry | string | no |
employees | Employees | string | no |
maps_url | Maps link | url | yes |
place_id | Place id | string | no |
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/local-business-leads/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"params":{"business_types":["dentist"],"locations":["Austin, TX"],"max_sub_areas":3,"places_per_search":40,"expand_locations":true,"website":"any","min_rating":0,"max_rating":5,"min_reviews":0,"max_reviews":1000000,"exclude_chains":true,"require_email":false,"exclude_role_addresses":false,"require_socials":false,"include_site_facts":false,"max_speed_score":100,"include_firmographics":false,"resurface_after_days":180,"max_results":500,"order":"independents_first"},"unit_cap":2000}'
# 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 = {
"business_types": ["dentist"],
"locations": ["Austin, TX"],
"max_sub_areas": 3,
"places_per_search": 40,
"expand_locations": True,
"website": "any",
"min_rating": 0,
"max_rating": 5,
"min_reviews": 0,
"max_reviews": 1000000,
"exclude_chains": True,
"require_email": False,
"exclude_role_addresses": False,
"require_socials": False,
"include_site_facts": False,
"max_speed_score": 100,
"include_firmographics": False,
"resurface_after_days": 180,
"max_results": 500,
"order": "independents_first",
}
result = client.run_formula("local-business-leads", params, unit_cap=2000)
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 = {
business_types: ["dentist"],
locations: ["Austin, TX"],
max_sub_areas: 3,
places_per_search: 40,
expand_locations: true,
website: "any",
min_rating: 0,
max_rating: 5,
min_reviews: 0,
max_reviews: 1000000,
exclude_chains: true,
require_email: false,
exclude_role_addresses: false,
require_socials: false,
include_site_facts: false,
max_speed_score: 100,
include_firmographics: false,
resurface_after_days: 180,
max_results: 500,
order: "independents_first",
};
const { run, rows } = await client.runFormula("local-business-leads", params, { unitCap: 2000 });
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{"business_types": []any{"dentist"}, "locations": []any{"Austin, TX"}, "max_sub_areas": 3, "places_per_search": 40, "expand_locations": true, "website": "any", "min_rating": 0, "max_rating": 5, "min_reviews": 0, "max_reviews": 1000000, "exclude_chains": true, "require_email": false, "exclude_role_addresses": false, "require_socials": false, "include_site_facts": false, "max_speed_score": 100, "include_firmographics": false, "resurface_after_days": 180, "max_results": 500, "order": "independents_first"}
run, rows, err := client.RunFormula(ctx, "local-business-leads", params, &enrichednow.RunFormulaParams{UnitCap: 2000})
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("local-business-leads", new ObjectMapper().readValue("{\"business_types\":[\"dentist\"],\"locations\":[\"Austin, TX\"],\"max_sub_areas\":3,\"places_per_search\":40,\"expand_locations\":true,\"website\":\"any\",\"min_rating\":0,\"max_rating\":5,\"min_reviews\":0,\"max_reviews\":1000000,\"exclude_chains\":true,\"require_email\":false,\"exclude_role_addresses\":false,\"require_socials\":false,\"include_site_facts\":false,\"max_speed_score\":100,\"include_firmographics\":false,\"resurface_after_days\":180,\"max_results\":500,\"order\":\"independents_first\"}", Map.class), FormulaRunOptions.builder().unitCap(2000).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 local-business-leads --params-json '{"business_types":["dentist"],"locations":["Austin, TX"],"max_sub_areas":3,"places_per_search":40,"expand_locations":true,"website":"any","min_rating":0,"max_rating":5,"min_reviews":0,"max_reviews":1000000,"exclude_chains":true,"require_email":false,"exclude_role_addresses":false,"require_socials":false,"include_site_facts":false,"max_speed_score":100,"include_firmographics":false,"resurface_after_days":180,"max_results":500,"order":"independents_first"}' --unit-cap 2000Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
{
"name": "run_formula",
"arguments": {
"formula_id": "local-business-leads",
"params": {
"business_types": [
"dentist"
],
"locations": [
"Austin, TX"
],
"max_sub_areas": 3,
"places_per_search": 40,
"expand_locations": true,
"website": "any",
"min_rating": 0,
"max_rating": 5,
"min_reviews": 0,
"max_reviews": 1000000,
"exclude_chains": true,
"require_email": false,
"exclude_role_addresses": false,
"require_socials": false,
"include_site_facts": false,
"max_speed_score": 100,
"include_firmographics": false,
"resurface_after_days": 180,
"max_results": 500,
"order": "independents_first"
}
}
}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 60 rows, after 85 scraper calls charged 85 units. Text over 160 characters is cut here and ends with … [truncated]; the API returns every value whole.
[
{
"business_name": "BLVD Dentistry & Orthodontics- Riverside",
"category": "Dentist",
"category_group": "health",
"address": "1920 E Riverside Dr Ste A140",
"city": "Austin",
"postcode": "78741",
"country": "US",
"phone": "+15126408747",
"website": "https://www.blvddentistry.com/austin-riverside/?utm_source=google.com&utm_medium=business+profile&utm_campaign=",
"domain": "blvddentistry.com",
"rating": 4.7,
"review_count": 999,
"email": null,
"email_status": null,
"email_source_page": null,
"social_profiles": [
"https://www.facebook.com/BLVD5thStreet",
"https://www.instagram.com/blvd5thstreetdentistry"
],
"site_platform": null,
"site_speed_score": null,
"industry": null,
"employees": null,
"maps_url": "https://www.google.com/maps/place/?q=place_id:ChIJ9xgMgE-0RIYR9XiDDTmwBxU",
"place_id": "ChIJ9xgMgE-0RIYR9XiDDTmwBxU",
"score": 45
},
{
"business_name": "Swish Dental Downtown",
"category": "Dentist",
"category_group": "health",
"address": "201 W 5th St Ste 175",
"city": "Austin",
"postcode": "78701",
"country": "US",
"phone": "+15127131099",
"website": "https://www.swishsmiles.com/location/downtown",
"domain": "swishsmiles.com",
"rating": 4.5,
"review_count": 990,
"email": null,
"email_status": null,
"email_source_page": null,
"social_profiles": [
"https://www.facebook.com/SwishDentalTX",
"https://www.instagram.com/swishdental",
"https://www.tiktok.com/@swishdental"
],
"site_platform": null,
"site_speed_score": null,
"industry": null,
"employees": null,
"maps_url": "https://www.google.com/maps/place/?q=place_id:ChIJdWgENLS1RIYReos4IrRuTmQ",
"place_id": "ChIJdWgENLS1RIYReos4IrRuTmQ",
"score": 45
},
{
"business_name": "Swish Dental South",
"category": "Dentist",
"category_group": "health",
"address": "3715 S 1st St Ste b",
"city": "Austin",
"postcode": "78704",
"country": "US",
"phone": "+15122962841",
"website": "https://www.swishsmiles.com/location/south-1st-downtown-austin-swish-dental",
"domain": "swishsmiles.com",
"rating": 4.6,
"review_count": 977,
"email": null,
"email_status": null,
"email_source_page": null,
"social_profiles": [
"https://www.facebook.com/SwishDentalTX",
"https://www.instagram.com/swishdental",
"https://www.tiktok.com/@swishdental"
],
"site_platform": null,
"site_speed_score": null,
"industry": null,
"employees": null,
"maps_url": "https://www.google.com/maps/place/?q=place_id:ChIJiX0yg8C0RIYRlvZnU-D_-DY",
"place_id": "ChIJiX0yg8C0RIYRlvZnU-D_-DY",
"score": 45
}
]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: 2000 units unless you give another (at least 10, at most 30000).
With the answers above, a run is estimated at about 157 units for about 124 rows, and at most 324: 4 searches across 1 source, about 124 rows. An estimate for no history; POST /v1/formulas/local-business-leads/estimate gives yours, free.
A preview, mode: preview, is the first 10 rows, charged at what they cost: about 16 units with the answers above. POST /v1/formulas/local-business-leads/estimate with mode: preview gives yours, free.
How a playbook is charged has the rule for every playbook.