# Find all businesses of one type in a city — phone, rating

**Use case:** 

Name the kind of business and the city, and get every Google Maps listing for it: name, Google's own category, address, phone, website, rating and review count, one row per business. Each row says whether it matched your words exactly or only nearly, so the massage-chair shop that Google threw in can be filtered out in one click. $0.010 per business.

## Input

```json
{
  "category": "med spa",
  "locations": [
    "Eden Prairie, MN, USA",
    "Minnetonka, MN, USA"
  ],
  "maxPerLocation": 50,
  "localize": true,
  "localizePlaces": true,
  "minRating": "",
  "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"
  },
  "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"
  }
}
```

## About this Actor

This example demonstrates how to use [Local Business Leads by Category & City: Contacts, Reviews 商家名单](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`).
