Yellow Pages Scraper [Just 💰$0.07] — US Business Leads avatar

Yellow Pages Scraper [Just 💰$0.07] — US Business Leads

Pricing

from $0.07 / 1,000 results

Go to Apify Store
Yellow Pages Scraper [Just 💰$0.07] — US Business Leads

Yellow Pages Scraper [Just 💰$0.07] — US Business Leads

Scrape yellowpages.com US business listings by keyword and city or ZIP code. Every record has the business name and phone number plus the street address, website and email where the listing shows them. Star ratings and opening hours are added where published.

Pricing

from $0.07 / 1,000 results

Rating

0.0

(0)

Developer

Black Falcon Data

Black Falcon Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

What does Yellow Pages Scraper do?

Yellow Pages Scraper extracts structured company data from yellowpages.com — including contact details, full descriptions, location data, and ratings. It supports keyword search, location filters, and controllable result limits, so you can run the same query consistently over time. The actor also offers detail enrichment (full descriptions and contact information) where the source provides them.

How to use this actor

  • 👉 Register for a free Apify account — no credit card required.
  • 🎉 Just click Sign up free on Apify → and complete a quick signup.
  • 💰 A free Apify account includes $5 in monthly credits — enough to test this actor.
  • ⏳ Scrape during the free trial, with no commitment or upfront payment required.

Key features

  • ⭐ Ratings and review counts: rating and reviewCount for every record that has them.
  • 📍 Coordinates: latitude and longitude on each record that has a location, ready for a map.
  • 🏘️ Address: street, city, postalCode and country as separate fields for every record that lists them.
  • 📇 Contact details: phone, phones, website and email where the record publishes them.
  • 🕒 Opening hours: openingHours and openNow where the record publishes them.
  • 🖼️ Images: imageUrl and photos with every image URL, not just the thumbnail.
  • 🔍 Keyword search: search yellowpages.com by keyword with the query input, in the place you name in location.
  • 🧭 Radius search: search around a point with lat, lon and radiusKm.
  • 🔗 Paste-mode: paste yellowpages.com URLs into startUrls to scrape exactly the pages you picked in the browser.
  • ♻️ Incremental mode: recurring runs emit only directory entries that are new or updated — keep your supplier-outreach lists fresh without re-fetching the full directory. Saves 80–95% on weekly syncs.
  • 🔔 Notifications: Telegram, Slack, Discord, WhatsApp Cloud API, and generic webhook out of the box. Pair with incremental for daily new-listing alerts without pipeline glue.

What data can you extract from yellowpages.com?

Each result includes Core company fields (id, ypid, listingId, ypListingId, name, category, categories, and specialties, and more), detail fields when enrichment is enabled (description, detailsScraped, and detailFetched), and contact information (phone, phones, phoneE164, and email). In standard mode, all fields are always present — unavailable data points are returned as null, never omitted. In compact mode, only core fields are returned.

Detail enrichment is on by default and adds richer fields such as full descriptions and contact information where the source provides them.

Input

The main inputs are a search keyword, an optional location filter, and a result limit. Additional filters and options are available in the input schema.

Key parameters:

  • query — What to search for: a business category or name, e.g. "plumber", "dentist", "pizza". Use a JSON array for several searches in one run, e.g. ["plumber","electrician"]. Required if no startUrls provided.
  • location — Where to search: city + state, ZIP code, or state, e.g. "Los Angeles, CA" or "90001". Use a JSON array for several locations in one run. Leave empty for a nationwide search.
  • maxResults — Maximum total businesses (0 = unlimited). (default: 100)
  • startUrls — Paste yellowpages.com search URLs. Each URL becomes its own search task; results are merged and deduped by business ID across all URLs. When provided, startUrls REPLACE the search term / location fields (unsupported URLs are skipped, and if none is supported the run stops with an input error). (default: [])
  • includeDetails — Fetch each business's full profile: description, services, payment methods, languages, social links, photos and extra emails. Slower, and much richer. (default: true)
  • descriptionMaxLength — Truncate description to N chars. 0 = no truncation. (default: 0)
  • compact — Core fields only — name, category, phone, address, website, rating, URL (for AI-agent/MCP workflows). (default: false)
  • excludeEmptyFields — Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards. (default: false)
  • incrementalMode — Compare against previous run state and return only new or changed businesses. stateKey is optional — defaults to a value derived from your search inputs (search terms, locations, startUrls) so different searches never share state. (default: false)
  • stateKey — Optional. Stable identifier for the tracked search universe. Leave empty to auto-generate from search inputs.
  • skipReposts — When incremental, skip listings whose content matches an expired listing from a prior run (cross-run duplicate detection). (default: false)
  • emitUnchanged — When incremental mode is on, also emit listings whose content has not changed since the last run. (default: false)
  • ...and 18 more parameters

Input examples

Basic search — Keyword-driven search scoped to a city with a tight radius.

→ Full payload per result — all standard fields populated where the source provides them.

{
"query": "plumber",
"location": "Los Angeles, CA",
"radiusKm": 25,
"maxResults": 50
}

Incremental tracking — Only emit records that changed since the previous run with this stateKey.

→ First run builds the baseline state. Subsequent runs emit only records that are new or whose tracked content changed. Set emitUnchanged: true to include unchanged records as well.

{
"query": "plumber",
"maxResults": 200,
"incrementalMode": true,
"stateKey": "plumber-tracker",
"location": "Los Angeles, CA"
}

Compact output for AI agents — Return only core fields for AI-agent and MCP workflows.

→ Small payload with the most important fields — ideal for piping into LLMs without token overhead.

{
"query": "plumber",
"maxResults": 50,
"compact": true,
"location": "Los Angeles, CA"
}

Output

Each run produces a dataset of structured company records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

Example company record

{
"id": "9270807",
"ypid": "9270807",
"listingId": "54d2f627b0524adabf315846064eb47d2325afa989f2844f776f646c7a28372b",
"ypListingId": "1001664366983",
"name": "Ritz Plumbing Heating, Air & Electrical",
"category": "Plumbers",
"categories": [
"Plumbers",
"Air Conditioning Contractors & Systems",
"Air Conditioning Service & Repair",
"Building Contractors",
"Building Contractors-Commercial & Industrial",
"... 9 more items"
],
"specialties": [
"$29.95 Drain Work, $49.95 Any Visual Leak Detection"
],
"phone": "(323) 452-4915",
"phones": [
"(323) 452-4915"
],
"phoneE164": "+13234524915",
"email": "ritzplumbing@gmail.com",
"emails": [
"ritzplumbing@gmail.com",
"moereza@aol.com"
],
"website": "http://www.ritzplumbinginc.org",
"additionalWebsites": [
"http://www.ritzplumbing.com"
],
"socialLinks": [
"https://twitter.com/ritzplumbing"
],
"address": "1355 S La Brea Ave, Los Angeles, CA 90019",
"street": "1355 S La Brea Ave",
"city": "Los Angeles",
"province": "CA",
"state": "CA",
"postalCode": "90019",
"country": "US",
"latitude": 34.048508,
"longitude": -118.34459,
"timezone": "America/Los_Angeles",
"distanceMiles": 5.71,
"rating": 5,
"reviewCount": 3,
"openingHours": [
"Mon - Sun: Open 24 Hours"
],
"openNowText": "Open Now",
"openNow": true,
"hoursText": "Mon - Sun Open 24 Hours",
"description": "RITZ PLUMBING - PLUMBERS AND SEWER & DRAINS SPECIALISTS",
"slogan": "RITZ PLUMBING - PLUMBERS AND SEWER & DRAINS SPECIALISTS",
"services": [
"Plumbing Services:",
"Emergency Plumber",
"Residential Plumbing",
"Earthquake Valves",
"Gardens & Outdoors",
"... 17 more items"
],
"paymentMethods": [
"MASTERCARD",
"DISCOVER",
"VISA",
"AMEX"
],
"languages": [
"English",
"Spanish"
],
"brands": [
"AO Smith",
"American Water Heaters",
"Carrier",
"Commercial",
"Lennox",
"... 3 more items"
],
"yearsInBusiness": 14,
"isClaimed": false,
"sponsored": true,
"isAd": true,
"listingTier": "PLL",
"logo": "http://i4.ypcdn.com/blob/141de4611397141b6a8dcd91b409fcb1f08b9be2",
"imageUrl": "http://i2.ypcdn.com/displaygif/drobot_images/2020/01/22/c452adf97c134b429ff87bd9e927208f.gif",
"photos": [
"http://i4.ypcdn.com/blob/141de4611397141b6a8dcd91b409fcb1f08b9be2",
"http://i2.ypcdn.com/blob/5bab67fb13730aae64041c93f97ae8aa4f411169"
],
"url": "https://www.yellowpages.com/los-angeles-ca/mip/ritz-plumbing-heating-air-electrical-9270807",
"portalUrl": "https://www.yellowpages.com/los-angeles-ca/mip/ritz-plumbing-heating-air-electrical-9270807",
"searchKeyword": "plumber",
"searchTerm": "plumber",
"searchLocation": "Los Angeles, CA",
"position": 1,
"totalInSearch": 1181,
"detailsScraped": true,
"searchQuery": "plumber",
"contentQuality": "full",
"detailFetched": true,
"scrapedAt": "2026-11-17T01:02:14.531Z",
"source": "yellowpages.com"
}

Incremental fields

When incremental mode is on, each record also carries:

  • changeType — one of NEW, UPDATED, UNCHANGED, REAPPEARED, EXPIRED. Default output covers NEW / UPDATED / REAPPEARED; set emitUnchanged: true or emitExpired: true to opt into the others.
  • isRepost, repostOfId, repostDetectedAt — populated when a new listing matches the tracked content of a previously expired one. Set skipReposts: true to drop detected reposts from the output.

How to scrape yellowpages.com

  1. Go to Yellow Pages Scraper in Apify Console.
  2. Enter a search keyword and optional location filter.
  3. Set maxResults to control how many results you need.
  4. Keep includeDetails on (the default) for full descriptions, contact info, or turn it off for faster, cheaper runs.
  5. Click Start and wait for the run to finish.
  6. Export the dataset as JSON, CSV, or Excel.

Use cases

  • Extract company data from yellowpages.com for market research and competitive analysis.
  • Monitor new and changed records on scheduled runs without processing the full dataset every time.
  • Use structured location data for regional analysis, mapping, and geo-targeting.
  • Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
  • Export clean, structured data to dashboards, spreadsheets, or data warehouses.
  • Compare records by their rating fields.

How much does it cost to scrape yellowpages.com?

Yellow Pages Scraper uses pay-per-event pricing. You pay a small fee when the run starts and then for each result that is actually produced.

  • Run start: $0.00005 per run
  • Per result: $0.00007 per company record

Example costs:

  • 10 results: $0.00077
  • 25 results: $0.00184
  • 100 results: $0.00724
  • 200 results: $0.014
  • 500 results: $0.036

Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of records that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 250 records per run, daily polling (30 runs/month). Costs scale linearly with the number of records.

Churn rateFull re-scrape run costIncremental run costSavings vs full re-scrapeMonthly cost after baseline
5% — stable niche query$0.02$0.00094$0.02 (95%)$0.03
15% — moderate broad query$0.02$0.00275$0.02 (85%)$0.08
30% — high-volume aggregator$0.02$0.00545$0.01 (70%)$0.16

Full re-scrape monthly cost at the same cadence: $0.54. First month with incremental costs $0.05 / $0.10 / $0.18 for the 5% / 15% / 30% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage is included in the per-result fee shown above.

Run limits: A run stops on its own after 12 hours if you set no timeout or a timeout longer than 12 hours. It also stops if it finds no new results for 60 minutes. Results collected before the stop are saved in your dataset.

FAQ

How many results can I get from yellowpages.com?

The number of results depends on the search query and available records on yellowpages.com. Use the maxResults parameter to control how many results are returned per run.

Does Yellow Pages Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed records on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

Can I integrate Yellow Pages Scraper with other apps?

Yes. Yellow Pages Scraper works with Apify's integrations to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

Can I use Yellow Pages Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the Apify API. Client libraries are available for JavaScript, Python, and other languages.

Can I use Yellow Pages Scraper through an MCP Server?

Yes. Apify provides an MCP Server that lets AI assistants and agents call this actor directly. Use compact mode, descriptionMaxLength, a single descriptionFormat, and excludeEmptyFields to keep payloads manageable for LLM context windows.

This actor extracts publicly available data from yellowpages.com. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

Your feedback

If you have questions, need a feature, or found a bug, please open an issue on the actor's page in Apify Console. Your feedback helps us improve.

You might also like

Getting started with Apify

New to Apify? Create a free account with $5 credit — no credit card required.

  1. Sign up — $5 platform credit included
  2. Open this actor and configure your input
  3. Click Start — export results as JSON, CSV, or Excel

Need more later? See Apify pricing.

Disclaimer

This actor accesses only publicly available data on yellowpages.com. You are responsible for how you use the extracted data — in particular any personal information such as names, phone numbers, or email addresses — and for complying with Yellow Pages's terms of use, applicable data-protection law (including the GDPR where it applies), and the anti-spam rules of your jurisdiction.

This actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Yellow Pages or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

Search keywords

yellowpages scraper, yellowpages api, apify yellowpages, yellowpages data extraction, yellow pages scraper, yellow pages api, apify yellow pages, yellow pages data extraction, yellowpages.com scraper, yellowpages.com data, yellowpages.com api.