# Research Local Competitors on Yellow Pages

**Use case:** 

Compare nearby businesses using public Yellow Pages categories, ratings, reviews, hours, and contact details.

## Input

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