# Restaurants in a city with Google ratings and contact details

**Use case:** 

Every restaurant of a kind in a city — Italian in Boston, sushi in Lisbon — with Google's rating and review count, address, phone, website and the booking or contact channel the listing publishes, one row per restaurant, searched in the local language where that is what finds them. Then, on request, the last six months of 1–2 star reviews on the busiest ones.

## Input

```json
{
  "category": "Italian restaurant",
  "locations": [
    "Boston, MA, USA"
  ],
  "maxPerLocation": 50,
  "localize": true,
  "localizePlaces": true,
  "minRating": "",
  "rankBy": "google",
  "minReviews": 0,
  "onlyWithWebsite": false,
  "findContacts": false,
  "verifyEmails": false,
  "reviewSpan": "",
  "reviewStars": "all",
  "reviewsForTop": 0,
  "maxReviewsPerBusiness": 200,
  "businessLinks": [
    "https://www.google.com/maps/search/?api=1&query=Evergreen%20Dental&query_place_id=ChIJ54Iuxm0Z9ocRxg9tJ813GVY"
  ],
  "estimateOnly": false
}
```

## Output

```json
{
  "name": {
    "label": "Business",
    "format": "text"
  },
  "googleCategory": {
    "label": "Google's category",
    "format": "text"
  },
  "categoryMatch": {
    "label": "Match",
    "format": "text"
  },
  "city": {
    "label": "City",
    "format": "text"
  },
  "placeMatch": {
    "label": "In the place asked?",
    "format": "text"
  },
  "distanceKm": {
    "label": "km from its centre",
    "format": "number"
  },
  "phone": {
    "label": "Phone",
    "format": "text"
  },
  "bestContact": {
    "label": "Best contact",
    "format": "text"
  },
  "contactSource": {
    "label": "Which is",
    "format": "text"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewsCount": {
    "label": "Reviews",
    "format": "number"
  },
  "website": {
    "label": "Website",
    "format": "link"
  },
  "mapsUrl": {
    "label": "On the map",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Google Maps Leads Finder Actor is ready to run with the inputs already set for "Restaurants in a city with Google ratings and contact details". [Sign up or log in](https://console.apify.com/create-task-from-example/QZ2afN3IWrGhD0bL3) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Restaurants in a city with Google ratings and contact details" task

The Google Maps Leads Finder Actor will start running based on the input automatically. You can also change all the input fields, like what kind of business, where (one place per line), and more, to match your specific use case.

### 3. Receive the "Restaurants in a city with Google ratings and contact details" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as business, google's category, match, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Restaurants in a city with Google ratings and contact details" task via API](https://apify.com/lexonia/business-finder.md).

## About this Actor

This example demonstrates how to use [Google Maps Leads Finder](https://apify.com/lexonia/business-finder.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/lexonia/business-finder.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/lexonia/business-finder.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
