# Build local business leads from Yellow Pages

**Use case:** 

Run Yellow Pages Scraper for dentists in Los Angeles and export public business names, phones, websites, addresses, ratings, and source URLs.

## Input

```json
{
  "searchTerms": "dentist",
  "location": "Los Angeles, CA",
  "sortBy": "relevance",
  "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.