# Google Places API Alternative: Places as JSON

**Use case:** 

Place name, address, phone, website, rating, review count, category, hours and coordinates for a search in any city. No Google API key or quota.

## Input

```json
{
  "searchStringsArray": [
    "dentist"
  ],
  "locationQuery": "Chicago, IL",
  "maxCrawledPlacesPerSearch": 40,
  "scrapeContacts": false,
  "website": "allPlaces",
  "skipClosedPlaces": false,
  "language": "en",
  "countryCode": "us",
  "maxPagesPerWebsite": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "title": {
    "label": "Name",
    "format": "string"
  },
  "categoryName": {
    "label": "Category",
    "format": "string"
  },
  "address": {
    "label": "Address",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "postalCode": {
    "label": "ZIP",
    "format": "string"
  },
  "phone": {
    "label": "Phone",
    "format": "string"
  },
  "website": {
    "label": "Website",
    "format": "string"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewsCount": {
    "label": "Reviews",
    "format": "integer"
  },
  "primaryEmail": {
    "label": "Email",
    "format": "string"
  },
  "url": {
    "label": "Google Maps",
    "format": "string"
  }
}
```

## How it works

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

The Google Maps Scraper API: Places, Leads, Emails & Phones Actor is ready to run with the inputs already set for "Google Places API Alternative: Places as JSON". [Sign up or log in](https://console.apify.com/create-task-from-example/HKbBZshal0YSLy90c) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Google Places API Alternative: Places as JSON" task

The Google Maps Scraper API: Places, Leads, Emails & Phones Actor will start running based on the input automatically. You can also change all the input fields, like what to search for, location, and more, to match your specific use case.

### 3. Receive the "Google Places API Alternative: Places as JSON" 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 name, category, address, 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 "Google Places API Alternative: Places as JSON" task via API](https://apify.com/sauliusautomatesit/google-maps-scraper-api.md).

## About this Actor

This example demonstrates how to use [Google Maps Scraper API: Places, Leads, Emails & Phones](https://apify.com/sauliusautomatesit/google-maps-scraper-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sauliusautomatesit/google-maps-scraper-api.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/sauliusautomatesit/google-maps-scraper-api.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`).
