Skip to content
//Yellow Pages Scraper example\\

Dentists in San Jose with reviews, 5 results

Businesses with details and reviews.

Updated November 18, 2026

What this example returns

This example returns up to 5 results.

The dataset’s “Businesses” view shows 15 columns: Image, Name, Phone, Email, Website, Address, Categories, Rating, Reviews, Years in business, Open status, Latitude, Longitude, Ad, and Yellow Pages URL. See every output field.

What each setting does

The input this example runs Yellow Pages Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Search terms searchTerms

veterinarian

What to search for on Yellow Pages, e.g. 'dentist', 'plumber', 'Italian restaurant'. Each term is searched in the location below.

Location location

San Jose, CA

US city and state, ZIP code or neighborhood, e.g. 'Los Angeles, CA' or '10001'.

Max results per search maxItems

5

Stop each search term or URL after this many businesses. 0 means all. Yellow Pages shows at most 3,000 per search; a bigger "City, ST" search is read again ZIP code by ZIP code to go past that.

Default: 10000 → this example uses 5

Sort by sort

Best match

Order of the search results.

Open business pages includeDetails

Yes

Open each business page for email, coordinates, full opening hours, extra phones, description, payment methods and founding year. Turn off for faster, search-page-only results.

Include reviews includeReviews

Yes

Add the reviews shown on each business page (author, rating, date, text). Needs 'Open business pages'.

Default: No → this example uses Yes

.json
{
  "searchTerms": [
    "veterinarian"
  ],
  "location": "San Jose, CA",
  "maxItems": 5,
  "sort": "default",
  "includeDetails": true,
  "includeReviews": true
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Businessfrom $0.0009Charged once for each business saved to the dataset.
  • Actor startfrom $0.018Charged once per run.

Full pricing

When to use this example

From the Yellow Pages Scraper readme:

Can I make it faster?

Turn off Open business pages to get only what the search page shows (name, phone, address, website, rating, years in business, categories). You lose email, coordinates and full hours.

Other ways to run Yellow Pages Scraper

All examples of Yellow Pages Scraper

About Yellow Pages Scraper

Scrape yellowpages.com business listings by keyword and location or URL. Get name, phone, email, website, address, coordinates, rating, reviews, years in business, hours and categories. Built for lead generation.

Price:
From $0.90 / 1,000 results
Developer:
Corner Ledger

Yellow Pages Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.