Public Business Directory Leads Extractor avatar

Public Business Directory Leads Extractor

Pricing

from $4.00 / 1,000 result scrapeds

Go to Apify Store
Public Business Directory Leads Extractor

Public Business Directory Leads Extractor

Extract local business leads from business pages and store-locator directories: name, address, phone, email, website, category and rating. Directory pages are expanded to every location they list. Clean JSON or CSV output.

Pricing

from $4.00 / 1,000 result scrapeds

Rating

0.0

(0)

Developer

Technical Dost Solutions

Technical Dost Solutions

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Security

Limited permissions

Share

What this Actor does

Extract structured public business information from allowed directory and listing pages for lead workflows.

It processes user-provided public URLs, prioritizes JSON-LD/schema.org structured data, normalizes the useful fields, deduplicates rows, and saves structured records to the Apify dataset.

Why this Actor is useful

Teams pay for this kind of extraction when it saves manual research, creates repeatable monitoring, feeds spreadsheets or CRMs, and turns public pages into clean API-ready datasets.

Who this is for

  • Lead generation agencies
  • Local SEO agencies
  • B2B sales teams
  • Data enrichment teams
  • CRM builders
  • Market researchers

Common use cases

  • Build public business lead lists from allowed pages
  • Normalize business names, categories, locations, and public contact fields
  • Feed CRM enrichment workflows
  • Research local service markets
  • Audit public business directory coverage

Input

  • startUrls: Public URLs to extract from. Use only pages you are allowed to access without login or bypassing access controls.
  • maxItems: Maximum number of rows to save.
  • maxConcurrency: Number of pages processed in parallel. The default is intentionally conservative.
  • includeRawStructuredData: Adds the original JSON-LD object for audit/debugging.
  • proxyConfiguration: Optional Apify proxy configuration where permitted by your source review.

Output

  • businessName: Public business name.
  • category: Business category or schema type.
  • website: Public website URL when listed.
  • publicPhone: Public business phone number when displayed.
  • publicEmail: Public business email when displayed and allowed.
  • address: Formatted public business address.
  • city: City or locality.
  • region: Region/state.
  • country: Country.
  • rating: Public aggregate rating when available.
  • reviewCount: Public aggregate review count when available.
  • sourceUrl: URL where the data was extracted.
  • extractedAt: Extraction timestamp.
  • confidenceScore: Heuristic confidence score based on structured data availability.

Sample input

{
"startUrls": [
{
"url": "https://locations.chipotle.com/ny/new-york"
}
],
"maxItems": 20
}

Sample output

{
"businessName": "Chipotle Mexican Grill",
"category": "Restaurant",
"publicPhone": "+16464125429",
"address": "4009 Broadway, New York, NY, 10032",
"city": "New York",
"region": "NY",
"country": "US",
"extractedAt": "2026-10-21T12:15:12.359Z",
"sourceUrl": "https://locations.chipotle.com/ny/new-york/4009-broadway",
"confidenceScore": 0.9
}

How to use

Run this Actor on Apify with public URLs, export the dataset as JSON, CSV, Excel, or through the Apify API, then connect the output to Google Sheets, Make, Zapier, a webhook, your CRM, or an internal dashboard. For monitoring, save the input as an Apify task and schedule recurring runs.

Best practices

  • Start with a small set of reviewed public URLs.
  • Prefer pages with schema.org JSON-LD structured data.
  • Keep maxConcurrency low for smaller websites.
  • Review source website rules before scheduling recurring runs.
  • Keep includeRawStructuredData off unless you need audit details.

Compliance and responsible use

This Actor is for public data only. It must not be used to bypass logins, paywalls, CAPTCHAs, or security systems, collect private data, gather sensitive personal data, or support spam or abuse. You are responsible for following applicable laws and source website rules.

Limitations

  • Output quality depends on public structured data available on the source pages.
  • Some fields may be empty when the source does not publish them.
  • The Actor does not claim support for any specific third-party platform.
  • Website markup and access policies can change.

Troubleshooting

  • Empty output usually means the page has little or no JSON-LD/schema.org data.
  • Invalid URL errors mean one or more input URLs are malformed.
  • Slow runs can usually be improved by lowering maxConcurrency.
  • Missing fields are source-data limitations, not inferred values.

Changelog

  • v0.2.0: Production-readiness pass with improved positioning, samples, schema descriptions, and responsible-use notes.

How much does Public Business Directory Leads Extractor cost?

This Actor uses pay-per-event pricing: you pay only for what it delivers, and platform usage is included.

EventPrice
Actor start$0.004 per run
Result scraped$0.004 each ($4.00 per 1,000)

Set Maximum cost per run in the run options to cap your spend; the Actor stops when the limit is reached. Check the Pricing tab for current prices and plan discounts.

Use Public Business Directory Leads Extractor with AI agents (MCP)

Give Claude, ChatGPT, Cursor, VS Code or any MCP client this Actor as a tool through the hosted Apify MCP server. The agent sees the input fields with descriptions and example values, runs the Actor, and reads the results.

MCP server URL (this Actor only):

https://mcp.apify.com/?tools=technicaldost/structured-local-business-leads-scraper

Claude Code:

$claude mcp add --transport http apify "https://mcp.apify.com/?tools=technicaldost/structured-local-business-leads-scraper" --header "Authorization: Bearer YOUR_APIFY_TOKEN"

Cursor, VS Code, Claude Desktop and other clients (mcp.json or the client's MCP settings):

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com/?tools=technicaldost/structured-local-business-leads-scraper",
"headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
}
}
}

Clients that support sign-in (such as Claude.ai connectors) can use the URL without a token and log in to Apify instead. Get your token in Apify Console → Settings → API & Integrations, or generate a ready config for your client at mcp.apify.com. In the agent the tool is named technicaldost--structured-local-business-leads-scraper; ask it, for example, to "run Public Business Directory Leads Extractor with {"startUrls": [{"url": "https://locations.chipotle.com/ny/new-york"}], "maxItems": 20}".

AI agents without an Apify account can also run and pay for this Actor per request with x402 agentic payments.

Run Public Business Directory Leads Extractor via API

Run the Actor and get its results in one call (replace YOUR_APIFY_TOKEN):

curl -X POST "https://api.apify.com/v2/acts/technicaldost~structured-local-business-leads-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"startUrls": [{"url": "https://locations.chipotle.com/ny/new-york"}], "maxItems": 20}'

Python (pip install apify-client):

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("technicaldost/structured-local-business-leads-scraper").call(run_input={"startUrls": [{"url": "https://locations.chipotle.com/ny/new-york"}], "maxItems": 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

JavaScript / TypeScript (npm install apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('technicaldost/structured-local-business-leads-scraper').call({"startUrls": [{"url": "https://locations.chipotle.com/ny/new-york"}], "maxItems": 20});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Long runs: start them with POST /v2/acts/technicaldost~structured-local-business-leads-scraper/runs and fetch the dataset when the run finishes, or receive a webhook.

FAQ

Can I use Public Business Directory Leads Extractor with AI agents like Claude or ChatGPT?

Yes. Connect the Apify MCP server with ?tools=technicaldost/structured-local-business-leads-scraper (see above) and the agent can run the Actor and read its results on its own.

Can I call Public Business Directory Leads Extractor from my own code?

Yes. Use the REST API, or the official Python and JavaScript clients shown above. Results are available as JSON, CSV, Excel, XML or HTML.

How do I run it on a schedule?

Save your input as a task in Apify Console and add a schedule (for example, daily). Use webhooks or integrations to send each run's results onward.

It works with publicly available data. Make sure your use complies with the source website's terms and with data protection laws such as GDPR, especially for personal data.

Something doesn't work or I need a feature. What should I do?

Open an issue in the Issues tab on this Actor's page with an example input, and we'll look into it.