# Scrape Toronto Restaurants from YellowPages Canada

**Use case:** 

Collect Toronto restaurant listings from YellowPages.ca with business names, phones, addresses, ratings, categories, and websites.

## Input

```json
{
  "searchQuery": "restaurant",
  "location": "Toronto ON",
  "maxResults": 50,
  "includeAds": true,
  "maxRequestRetries": 3
}
```

## Output

```json
{
  "name": {
    "label": "Business Name",
    "format": "text"
  },
  "phone": {
    "label": "Phone",
    "format": "text"
  },
  "fullAddress": {
    "label": "Address",
    "format": "text"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Reviews",
    "format": "number"
  },
  "categories": {
    "label": "Categories",
    "format": "text"
  },
  "website": {
    "label": "Website",
    "format": "link"
  },
  "url": {
    "label": "YP Listing",
    "format": "link"
  },
  "isAd": {
    "label": "Sponsored",
    "format": "text"
  }
}
```

## About this Actor

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