# Enrich a Yellow Pages Listing from Its URL

**Use case:** 

Collect public contact details, address, categories, ratings, reviews, and hours from an individual Yellow Pages business listing URL.

## Input

```json
{
  "target": "urls",
  "searchTerms": "dentist",
  "location": "Los Angeles, CA",
  "sortBy": "relevance",
  "startUrls": [
    {
      "url": "https://www.yellowpages.com/los-angeles-ca/mip/frieden-richard-a-dds-14640832?lid=1002105049104"
    }
  ],
  "includeClosedBusinesses": false,
  "maxResults": 1
}
```

## 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.