# Analyze local business competitors with AI

**Use case:** 

Scrape any business category from Google Maps and get an AI-powered ranking, aspect comparison, and strategic market overview. No coding required.(146 chars)

## Input

```json
{
  "searchStringsArray": [
    "restaurants"
  ],
  "locationQuery": "Rome, Italy",
  "maxCrawledPlacesPerSearch": 20,
  "language": "en",
  "categoryFilterWords": [
    "pizza",
    "italian"
  ],
  "searchMatching": "all",
  "placeMinimumStars": "",
  "website": "allPlaces",
  "skipClosedPlaces": false,
  "scrapePlaceDetailPage": false,
  "scrapeTableReservationProvider": false,
  "scrapeOrderOnline": false,
  "includeWebResults": false,
  "scrapeDirectories": false,
  "maxQuestions": 0,
  "scrapeContacts": false,
  "scrapeSocialMediaProfiles": {
    "facebooks": false,
    "instagrams": false,
    "tiktoks": false,
    "twitters": false,
    "youtubes": false
  },
  "maximumLeadsEnrichmentRecords": 0,
  "leadsEnrichmentDepartments": [
    "sales",
    "marketing"
  ],
  "verifyLeadsEnrichmentEmails": false,
  "maxReviews": 1000,
  "reviewsStartDate": "2024-01-01",
  "reviewsSort": "newest",
  "reviewsFilterString": "",
  "reviewsOrigin": "all",
  "scrapeReviewsPersonalData": false,
  "maxImages": 0,
  "scrapeImageAuthors": false,
  "enableCompetitorAnalysis": true,
  "maxCompetitorsToAnalyze": 20,
  "countryCode": "US",
  "city": "New York",
  "state": "New York",
  "county": "New York County",
  "postalCode": "10001",
  "customGeolocation": {
    "type": "Point",
    "coordinates": [
      -73.9857,
      40.7484
    ]
  },
  "startUrls": [
    {
      "url": "https://www.google.com/maps/place/Yellowstone+National+Park/@44.5857951,-110.5140571,9z/data=!3m1!4b1!4m5!3m4!1s0x5351e55555555555:0xaca8f930348fe1bb!8m2!3d44.427963!4d-110.588455?hl=en-GB"
    }
  ],
  "placeIds": [
    "ChIJabcdEFGHijklMNOPqrstUVWX"
  ],
  "allPlacesNoSearchAction": ""
}
```

## Output

```json
{
  "comparisonAnalysisTitle": {
    "label": "Comparison analysis title",
    "format": "string"
  },
  "competitorsAnalyzed": {
    "label": "Competitors analyzed",
    "format": "array"
  },
  "analysisTimestamp": {
    "label": "Analysis timestamp",
    "format": "string"
  }
}
```

## About this Actor

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