# Clinic Google Maps Scraper for Local SEO (`ebuilderz/clinic-google-maps-local-seo-scraper`) Actor

Scrape dentists, med spas, dermatologists, and chiropractors from Google Maps into clean, city-by-city clinic datasets for local SEO, pSEO pages, directories, and agency delivery.

- **URL**: https://apify.com/ebuilderz/clinic-google-maps-local-seo-scraper.md
- **Developed by:** [eBuilderz Infotech](https://apify.com/ebuilderz) (community)
- **Categories:** Lead generation, SEO tools
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.00 / 1,000 clinic results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Clinic Google Maps Scraper for Local SEO

Scrape dentists, med spas, dermatologists, and chiropractors from Google Maps into clean, city-by-city clinic datasets for local SEO, pSEO pages, clinic directories, and agency delivery.

Published by `ebuilderz infotech`  
Primary developer: `Naman Modi`

### What This Actor Is Best For

- local SEO agencies working on healthcare and clinic campaigns
- pSEO teams building city and specialty landing pages
- clinic directory builders
- healthcare marketing teams
- agency workflows that need clean spreadsheet-ready exports

### Quick Start

1. Choose one clinic specialty such as `dentist` or `med spa`.
2. Enter one city or target local market.
3. Start with a small run to validate quality, then scale up.

This is the fastest way to get a clean clinic dataset without manually exporting Google Maps results.

### What To Expect On Your First Run

- best experience: one specialty plus one city
- recommended starter run: `10` results
- common starter runtime: a few minutes, depending on Google Maps response speed and how many detail pages are opened
- best for: validating whether a city and specialty combination matches your workflow before scaling up

If you are evaluating the Actor for the first time, run a small city-level sample first and review the first rows before increasing the result cap.

### Why Choose This Instead Of A Generic Maps Scraper

Most Google Maps scrapers are built for breadth.

This Actor is built for clinic-focused usability.

You get:

- support for four clear clinic verticals
- cleaner specialty grouping with `specialty_group`
- import-ready business and location fields
- city-by-city workflow that fits local SEO execution
- better downstream usability for directories, sheets, databases, and internal scoring workflows

### Who This Actor Is For

- local SEO agencies building city-level clinic datasets
- pSEO teams creating specialty plus city landing page inputs
- clinic directory builders who need cleaner healthcare-focused exports
- healthcare outreach and research teams who prefer structured clinic records over broad business dumps

### Who This Actor Is Not For

- broad cross-industry business scraping
- national all-category business discovery
- workflows that only need raw Google Maps URLs without structured clinic fields

### Supported Clinic Verticals

- dentists
- med spas
- dermatologists
- chiropractors

### Common Use Cases

- build city-level clinic landing page datasets
- create pSEO datasets for specialty plus city combinations
- export cleaner clinic records for outreach and research
- compare clinic density, ratings, and review volume by city
- prepare structured rows for internal clinic scoring or enrichment workflows

### Why Buyers Usually Pick This Actor

- it is easier to validate than a broad mixed-business scrape
- it maps more directly to city-page and directory workflows
- the output is easier to hand off to clients or internal teams
- it reduces cleanup work before import into sheets, databases, or scoring tools

### What You Get In Each Result

Typical output includes:

- `business_name`
- `primary_category`
- `specialty_group`
- `address`
- `city`
- `state`
- `zip_code`
- `country`
- `phone`
- `website`
- `google_maps_url`
- `place_id`
- `latitude`
- `longitude`
- `rating`
- `review_count`
- `business_status`
- `booking_link`
- `search_term`
- `search_location`
- `scraped_at`

### Output Quality Expectations

This Actor is optimized to return cleaner clinic-focused rows than a broad mixed-business scrape.

In practice, that means:

- stronger fit for dentists, med spas, dermatologists, and chiropractors
- fewer irrelevant business types for those supported clinic workflows
- structured fields that are easier to review in spreadsheets and databases
- better city-by-city validation before larger collection waves

### Recommended Workflow

For the cleanest output, run one specialty per city.

Good examples:

- `dentist` in `Beverly Hills, California, USA`
- `med spa` in `Santa Monica, California, USA`
- `dermatologist` in `Pasadena, California, USA`
- `chiropractor` in `Glendale, California, USA`

This produces cleaner local-intent datasets than broad mixed runs.

### Example Input

```json
{
  "searchStringsArray": ["dentist"],
  "locationQuery": "Beverly Hills, California, USA",
  "maxCrawledPlacesPerSearch": 10,
  "language": "en",
  "skipClosedPlaces": true,
  "scrapePlaceDetailPage": true
}
````

### Example Output Row

```json
{
  "business_name": "Beverly Hills Dentist",
  "primary_category": "Cosmetic dentist",
  "specialty_group": "dentist",
  "address": "300 S Beverly Dr Suite 303, Beverly Hills, CA 90212",
  "city": "Beverly Hills",
  "state": "California",
  "zip_code": "90212",
  "country": "USA",
  "phone": "(310) 277-8215",
  "website": "https://beverlyhillsdentist.com/",
  "place_id": "0x80c2bbfc82963809:0x5fb38c2b6f113647",
  "latitude": 34.061977,
  "longitude": -118.398825,
  "rating": 4.9,
  "review_count": 160,
  "business_status": "OPERATIONAL",
  "search_term": "dentist",
  "search_location": "Beverly Hills, California, USA"
}
```

### How Pricing Works

This Actor uses event-based pricing.

In simple terms, you pay for the number of clinic results returned, making it easier to start with small validation runs before scaling to larger city-by-city collections.

### Pricing Examples

At the current Store pricing, the most predictable way to estimate cost is by the number of clinic rows returned.

- small validation run: around `10` results
- medium city run: around `25` to `50` results
- larger city collection: around `100+` results

Because pricing is result-based, small test runs are a practical way to validate quality before spending on larger collections.

Actual cost depends on how many rows are returned and on the live Store pricing shown on the Actor page.

### Tips For Better Results

- start with one city and one specialty
- keep `skipClosedPlaces` enabled unless you need closed listings
- use smaller starter runs to validate output before scaling
- use city-level locations instead of wide regions for local SEO workflows
- keep `scrapePlaceDetailPage` enabled when you want richer business fields

### Recommended Starter Searches

- `dentist` in `Beverly Hills, California, USA`
- `med spa` in `Santa Monica, California, USA`
- `dermatologist` in `Pasadena, California, USA`
- `chiropractor` in `Glendale, California, USA`

### Why This Format Converts Better For Real Work

- easier to review than a raw mixed-niche export
- easier to import into sheets and internal tools
- easier to segment by specialty and city
- easier to use for local SEO planning and clinic directories

### Notes

- This Actor is intentionally optimized for clinic data workflows rather than all business categories.
- For broad cross-industry research, a generic Google Maps scraper may be a better fit.
- For clinic-focused collection, this Actor is designed to be faster to validate and easier to use downstream.

### FAQ

#### Is this a generic Google Maps scraper?

No. It is intentionally positioned for clinic-focused data workflows, especially local SEO, pSEO, clinic directories, and agency delivery.

#### Which searches work best?

Single specialty plus single city runs work best. This usually produces cleaner local-intent output and is easier to scale city by city.

#### Can I use this outside the supported clinic verticals?

You can test it, but the best experience comes from dentists, med spas, dermatologists, and chiropractors.

#### What should I do before a large run?

Start with a small validation run, review the first output rows, and then increase the result cap once the city and specialty look right.

### Troubleshooting

#### I got fewer results than expected

- try a more specific city query instead of a broad region
- keep the run focused on one specialty
- increase `maxCrawledPlacesPerSearch` after validating the first sample

#### The results feel too broad

- use one specialty only
- use a clearer city-level location query
- keep the workflow within the supported clinic verticals

#### I only need a quick validation run

Use `10` results first. This is the fastest way to confirm relevance before scaling up.

#### I need richer business fields

Keep `scrapePlaceDetailPage` enabled so the Actor opens each place page and collects additional details such as website, phone, rating, review count, and booking link when available.

### Support

If you need additional clinic verticals, schema refinements, or workflow-specific export improvements, use the Issues tab to request them.

### Maintenance

This Actor is actively positioned as a clinic-focused data product. Future improvements will prioritize:

- cleaner clinic relevance
- easier city-by-city collection workflows
- better downstream import usability
- clearer agency and local SEO use cases

# Actor input Schema

## `searchStringsArray` (type: `array`):

Clinic specialties to search in Google Maps. For best results, run one specialty per city. Supported workflows are strongest for dentists, med spas, dermatologists, and chiropractors. Good examples: dentist, med spa, dermatologist, chiropractor.

## `locationQuery` (type: `string`):

City-focused location query, for example Beverly Hills, California, USA. City-level searches usually perform better than broad regional searches for local SEO, pSEO, and clinic directory workflows.

## `maxCrawledPlacesPerSearch` (type: `integer`):

Maximum number of unique clinics to return per specialty. Start with 10 for a low-risk validation run, then scale up city by city once the output looks right.

## `language` (type: `string`):

Language code used in Google Maps, for example en. Leave as en unless you specifically need another locale.

## `skipClosedPlaces` (type: `boolean`):

Exclude temporarily closed or permanently closed listings. Recommended for most local SEO and directory workflows.

## `scrapePlaceDetailPage` (type: `boolean`):

Open each Google Maps place page and collect richer business fields such as phone, website, ratings, review count, address details, and booking links when available.

## Actor input object example

```json
{
  "searchStringsArray": [
    "dentist"
  ],
  "locationQuery": "Beverly Hills, California, USA",
  "maxCrawledPlacesPerSearch": 10,
  "language": "en",
  "skipClosedPlaces": true,
  "scrapePlaceDetailPage": true
}
```

# Actor output Schema

## `results` (type: `string`):

Structured clinic rows written to the default dataset. Use this link to review or export the collected results.

## `summary` (type: `string`):

Run-level summary stored in the default key-value store under the OUTPUT record, including counts and run configuration details.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchStringsArray": [
        "dentist"
    ],
    "locationQuery": "Beverly Hills, California, USA"
};

// Run the Actor and wait for it to finish
const run = await client.actor("ebuilderz/clinic-google-maps-local-seo-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchStringsArray": ["dentist"],
    "locationQuery": "Beverly Hills, California, USA",
}

# Run the Actor and wait for it to finish
run = client.actor("ebuilderz/clinic-google-maps-local-seo-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchStringsArray": [
    "dentist"
  ],
  "locationQuery": "Beverly Hills, California, USA"
}' |
apify call ebuilderz/clinic-google-maps-local-seo-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=ebuilderz/clinic-google-maps-local-seo-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Clinic Google Maps Scraper for Local SEO",
        "description": "Scrape dentists, med spas, dermatologists, and chiropractors from Google Maps into clean, city-by-city clinic datasets for local SEO, pSEO pages, directories, and agency delivery.",
        "version": "1.0",
        "x-build-id": "x9ZEPapUE67fn1Q5Q"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/ebuilderz~clinic-google-maps-local-seo-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-ebuilderz-clinic-google-maps-local-seo-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/ebuilderz~clinic-google-maps-local-seo-scraper/runs": {
            "post": {
                "operationId": "runs-sync-ebuilderz-clinic-google-maps-local-seo-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/ebuilderz~clinic-google-maps-local-seo-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-ebuilderz-clinic-google-maps-local-seo-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "searchStringsArray",
                    "locationQuery"
                ],
                "properties": {
                    "searchStringsArray": {
                        "title": "Clinic specialties to scrape",
                        "type": "array",
                        "description": "Clinic specialties to search in Google Maps. For best results, run one specialty per city. Supported workflows are strongest for dentists, med spas, dermatologists, and chiropractors. Good examples: dentist, med spa, dermatologist, chiropractor.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "locationQuery": {
                        "title": "City or local market",
                        "type": "string",
                        "description": "City-focused location query, for example Beverly Hills, California, USA. City-level searches usually perform better than broad regional searches for local SEO, pSEO, and clinic directory workflows."
                    },
                    "maxCrawledPlacesPerSearch": {
                        "title": "Max clinic results per specialty",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum number of unique clinics to return per specialty. Start with 10 for a low-risk validation run, then scale up city by city once the output looks right.",
                        "default": 10
                    },
                    "language": {
                        "title": "Language",
                        "type": "string",
                        "description": "Language code used in Google Maps, for example en. Leave as en unless you specifically need another locale.",
                        "default": "en"
                    },
                    "skipClosedPlaces": {
                        "title": "Skip closed places",
                        "type": "boolean",
                        "description": "Exclude temporarily closed or permanently closed listings. Recommended for most local SEO and directory workflows.",
                        "default": true
                    },
                    "scrapePlaceDetailPage": {
                        "title": "Scrape place detail pages",
                        "type": "boolean",
                        "description": "Open each Google Maps place page and collect richer business fields such as phone, website, ratings, review count, address details, and booking links when available.",
                        "default": true
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
