# Build a Local Business Lead List from Yellow Pages

**Use case:** 

Collect public Yellow Pages business names, phone numbers, websites, and addresses for one category and US location.

## Input

```json
{
  "target": "search",
  "searchTerms": "plumber",
  "location": "Austin, TX",
  "sortBy": "relevance",
  "includeClosedBusinesses": false,
  "maxResults": 10
}
```

## Output

```json
{
  "businessName": {
    "label": "Business name",
    "format": "string"
  },
  "phone": {
    "label": "Phone",
    "format": "string"
  },
  "email": {
    "label": "Email",
    "format": "string"
  },
  "website": {
    "label": "Website",
    "format": "string"
  },
  "address.street": {
    "label": "Street",
    "format": "string"
  },
  "address.city": {
    "label": "City",
    "format": "string"
  },
  "address.state": {
    "label": "State",
    "format": "string"
  },
  "address.postalCode": {
    "label": "ZIP code",
    "format": "string"
  },
  "categories": {
    "label": "Categories",
    "format": "array"
  },
  "services": {
    "label": "Services",
    "format": "array"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Review count",
    "format": "integer"
  },
  "openStatus": {
    "label": "Open status",
    "format": "string"
  },
  "openingHours": {
    "label": "Opening hours",
    "format": "array"
  },
  "yearsInBusiness": {
    "label": "Years in business",
    "format": "integer"
  },
  "amenities": {
    "label": "Amenities",
    "format": "array"
  },
  "imageUrls": {
    "label": "Images",
    "format": "array"
  },
  "yellowPagesUrl": {
    "label": "Yellow Pages 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.