# Scrape Top-Rated Restaurants by City

**Use case:** 

Scrape top-rated restaurants by city from Google Maps, filtered to 4.5 stars and sorted by rating: name, address, phone, website and category.

## Input

```json
{
  "searchQueries": [
    "restaurants"
  ],
  "locationQuery": "Chicago, IL",
  "maxPlacesPerSearch": 120,
  "maxResults": 1000,
  "enrichContacts": false,
  "scrapePlaceDetails": false,
  "detailConcurrency": 4,
  "minRating": "4.5",
  "websiteFilter": "all",
  "skipClosedPlaces": false,
  "withPhoneOnly": false,
  "withEmailOnly": false,
  "language": "en",
  "countryCode": "us",
  "sortBy": "rating",
  "includeRawFields": false,
  "monitorMode": false,
  "monitorKey": "default",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "title": {
    "label": "Name",
    "format": "text"
  },
  "categoryName": {
    "label": "Category",
    "format": "text"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "city": {
    "label": "City",
    "format": "text"
  },
  "state": {
    "label": "State",
    "format": "text"
  },
  "phone": {
    "label": "Phone",
    "format": "text"
  },
  "website": {
    "label": "Website",
    "format": "link"
  },
  "emails": {
    "label": "Emails",
    "format": "array"
  },
  "totalScore": {
    "label": "Rating",
    "format": "number"
  },
  "reviewsCount": {
    "label": "Reviews",
    "format": "number"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "leadScore": {
    "label": "Lead score",
    "format": "number"
  },
  "url": {
    "label": "Maps URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Maps Scraper - Places, Leads & Contacts](https://apify.com/scrapesage/google-maps-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapesage/google-maps-scraper) to learn more, explore other use cases, and run it yourself.