# Top-Rated Competitors (4.5 Stars and Up)

**Use case:** 

Map your best-rated competitors: only businesses rated 4.5 stars or higher, with rating, review count, popular times, opening hours, attributes such as seating or Wi-Fi where Google lists them, plus phone, website and published emails. This example finds 30 top-rated coffee shops in Melbourne.

## Input

```json
{
  "searchStringsArray": [
    "coffee shop"
  ],
  "locationQuery": "Melbourne, Australia",
  "maxCrawledPlacesPerSearch": 30,
  "maxCrawledPlaces": 30,
  "language": "en",
  "scrapeContacts": true,
  "scrapeSocialMediaProfiles": {
    "facebooks": true,
    "instagrams": true,
    "youtubes": true,
    "tiktoks": true,
    "twitters": true,
    "linkedins": true
  },
  "scrapePlaceDetailPage": false,
  "maxReviews": 0,
  "reviewsSort": "newest",
  "maxImages": 0,
  "placeMinimumStars": "4.5",
  "skipClosedPlaces": true,
  "website": "allPlaces",
  "geo_split": false,
  "geo_split_max_cells": 100,
  "max_requests_per_minute": 400,
  "detail_retries": 3,
  "max_concurrency": 10,
  "request_delay": 0,
  "cache_provider": "memory",
  "cache_ttl_seconds": 86400
}
```

## Output

```json
{
  "place_id": {
    "label": "Place ID",
    "format": "text"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "phone": {
    "label": "Phone",
    "format": "text"
  },
  "website": {
    "label": "Website",
    "format": "link"
  },
  "emails": {
    "label": "Emails",
    "format": "array"
  },
  "email_type": {
    "label": "Email type"
  },
  "has_contact_form": {
    "label": "Has contact form"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "review_count": {
    "label": "Reviews",
    "format": "number"
  },
  "categories": {
    "label": "Categories",
    "format": "array"
  },
  "place_type": {
    "label": "Place type",
    "format": "text"
  },
  "business_status": {
    "label": "Business status",
    "format": "text"
  },
  "data_groups": {
    "label": "Detail groups",
    "format": "array"
  },
  "hours": {
    "label": "Hours"
  },
  "latitude": {
    "label": "Latitude",
    "format": "number"
  },
  "longitude": {
    "label": "Longitude",
    "format": "number"
  },
  "google_maps_url": {
    "label": "Maps URL",
    "format": "link"
  },
  "social_links": {
    "label": "Social links"
  },
  "reviews": {
    "label": "Reviews"
  },
  "images": {
    "label": "Images"
  },
  "neighborhood": {
    "label": "Neighborhood"
  },
  "timezone": {
    "label": "Timezone"
  },
  "country_code": {
    "label": "Country code"
  },
  "business_photo": {
    "label": "Business photo"
  },
  "open_status": {
    "label": "Open status"
  },
  "price_level": {
    "label": "Price level"
  },
  "popular_times": {
    "label": "Popular times"
  },
  "scraped_at": {
    "label": "Scraped at"
  },
  "_meta.status": {
    "label": "Outcome",
    "format": "text"
  },
  "_meta.message": {
    "label": "Outcome message",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Maps Business & Contact Scraper](https://apify.com/herus13/google-maps-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/herus13/google-maps-scraper.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/herus13/google-maps-scraper.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`).
