# Collect Yellow Pages business listings

**Use case:** 

Scrape plumber listings in Phoenix from YellowPages.com and export contacts, addresses, categories, ratings, review counts, and source URLs.

## Input

```json
{
  "searchTerms": "plumber",
  "location": "Phoenix, AZ",
  "sortBy": "rating",
  "includeClosedBusinesses": false,
  "maxResults": 60
}
```

## Output

```json
{
  "businessName": {
    "label": "Business name",
    "format": "string"
  },
  "phone": {
    "label": "Phone",
    "format": "string"
  },
  "website": {
    "label": "Website",
    "format": "string"
  },
  "address.fullAddress": {
    "label": "Address",
    "format": "string"
  },
  "categories": {
    "label": "Categories",
    "format": "array"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Review count",
    "format": "integer"
  },
  "openStatus": {
    "label": "Open status",
    "format": "string"
  },
  "yellowPagesUrl": {
    "label": "YellowPages URL",
    "format": "string"
  },
  "sourceUrl": {
    "label": "Source URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Yellow Pages Scraper](https://apify.com/maximedupre/yellowpages-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/yellowpages-scraper) to learn more, explore other use cases, and run it yourself.