# Scrape a YellowPages Listing URL

**Use case:** 

Already filtered your search on YellowPages? Paste the listing-page URL, such as an Atlanta, GA roofing contractors page, and this scraper visits each business detail page for you. It returns title, categories, star_rating, rating_count, phone, website, address, email, opening_hours and source_url. Drop in one or many URLs to build a targeted lead list without re-entering filters.

## Input

```json
{
  "searchKeyword": [],
  "location": "",
  "sort": "Default",
  "maxPages": 5,
  "urls": [
    "https://www.yellowpages.com/atlanta-ga/roofing-contractors"
  ]
}
```

## Output

```json
{
  "is_ad": {
    "label": "Ad Status",
    "format": "boolean"
  },
  "title": {
    "label": "Business Name",
    "format": "text"
  },
  "is_claimed": {
    "label": "Claimed",
    "format": "text"
  },
  "categories": {
    "label": "Categories",
    "format": "array"
  },
  "star_rating": {
    "label": "Star Rating",
    "format": "text"
  },
  "rating_count": {
    "label": "Rating Count",
    "format": "text"
  },
  "opening_hours": {
    "label": "Opening Hours",
    "format": "text"
  },
  "phone": {
    "label": "Phone",
    "format": "text"
  },
  "website": {
    "label": "Website",
    "format": "link"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "email": {
    "label": "Email",
    "format": "text"
  },
  "regular_hours": {
    "label": "Regular Hours",
    "format": "object"
  },
  "more_info": {
    "label": "More Info",
    "format": "object"
  },
  "reviews": {
    "label": "Reviews",
    "format": "array"
  },
  "source_url": {
    "label": "Source URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [YellowPages Scraper - USA Business Leads](https://apify.com/delicious_zebu/yellowpages-usa-business-lead-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/delicious_zebu/yellowpages-usa-business-lead-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/delicious_zebu/yellowpages-usa-business-lead-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
