# Google Local Business Scraper (bulk queries) (`steadydata/google-local`) Actor

Local business results from Google for up to 200 search queries per run, in Google's ranking order: name, rating, review count, category, price band, address and place id, per country. No phone numbers or e-mails. Pay only for delivered businesses.

- **URL**: https://apify.com/steadydata/google-local.md
- **Developed by:** [Steadydata Team](https://apify.com/steadydata) (community)
- **Categories:** E-commerce, Marketing, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 business listeds

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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Google Local Business Scraper (bulk queries)

Local business results from Google for **up to 200 search queries per run**: name, rating,
review count, category, price band, address and the Google place id. **You only pay for
businesses that are actually delivered.**

### Why this scraper

- **Built for lists of queries.** Paste 200 searches like `plumber manchester` or
  `coffee amsterdam` and get one flat table with the query and the position on every row.
  That is the shape you need to compare neighbourhoods, cities or trades.
- **No browser, no bot wall.** Results come as server-rendered HTML through Google's own
  search proxy, which is faster and a fraction of the cost of a browser-based scraper.
- **Properly region aware.** `country` sets both the proxy exit country and the Google
  region, so a Dutch search returns what a visitor in the Netherlands sees.
- **Only delivered businesses are charged.** A query without local results comes back as
  a clear error record at no cost.
- **The place id comes with it**, so rows can be matched to your own records or to other
  Google data across runs.

### Who this is for

Market and competitor research: who ranks locally for a trade, how they are rated, how
many reviews they have and what they charge. Useful for site selection, franchise
analysis and tracking a local market over time by running the same query list on a
schedule.

### Who this is not for

**Read this before you buy.** This actor does not return phone numbers, email addresses
or contact persons, and it never will. That is a deliberate choice, not a gap: a business
listing should stay business information rather than become a lead record. If you are
building a cold-call list, this is the wrong tool and you should not buy it.

It also returns what Google shows on the local results page, which was 10 to 20
businesses per query in testing on 13-09-2026. For deeper coverage, split the search by
neighbourhood or by trade, exactly as you would on Google itself. If you need hundreds of
places per area with phone numbers and opening hours, a Google Maps extractor is the
better tool; this actor is about **who ranks** for a search, in Google's order.

### Input example

```json
{
    "queries": [
        "coffee amsterdam",
        "plumber manchester",
        "tandarts utrecht"
    ],
    "maxResultsPerQuery": 20,
    "country": "NL",
    "language": "en"
}
```

### Output example

```json
{
    "query": "coffee amsterdam",
    "country": "NL",
    "position": 1,
    "name": "Kafenion Amsterdam",
    "rating": 4.9,
    "reviewCount": 3800,
    "category": "Cafe",
    "priceRange": "€1–10",
    "address": "Bloemgracht 49",
    "placeId": "/g/11h4lk7q",
    "status": "ok"
}
```

A query that cannot be delivered produces an error record instead, and is **not**
charged:

```json
{
    "input": "asdkjhasdkjh",
    "status": "error",
    "errorCode": "NO_RESULTS",
    "error": "No local businesses on the results page for 'asdkjhasdkjh'"
}
```

Error codes: `INVALID_QUERY`, `NO_RESULTS`, `BLOCKED`. `INPUT_TRUNCATED` appears once when your input is longer than this actor accepts.

### Related actors from steadydata

- google-ads-transparency (publishing soon): what those businesses are advertising
- website-tech-stack (publishing soon): what their websites run on

### Pricing

Pay per event: one `business-listed` event per delivered business. No charge for queries
that fail or return nothing, no separate platform-usage surcharge.

### FAQ

**How many businesses do I get per query?**
Ten to twenty, which is what Google shows on the local results page for that search. You
are only charged for what actually arrives.

**Why is the price band sometimes empty?**
Because Google does not show one for every business. The field is left empty rather than
filled with a guess.

**Are results different per country?**
Yes, and that is the point. Set `country` to the market you care about; local rankings
differ per region and per language.

**Can I track a local market over time?**
Yes, and that is the common pattern: run the same query list daily or weekly and keep the
rows with a timestamp. Ratings and review counts move slowly, positions move faster.

**Is personal data collected?**
No. Business name, rating, category, price band and address only. No phone numbers, no
email addresses, no contact persons, no reviewer names.

**What happens when Google changes something?**
Google changes its markup constantly; that is the nature of this work. The actor is
monitored daily and fixed fast, and while it is broken you are not charged, because only
delivered businesses cost anything.

# Actor input Schema

## `queries` (type: `array`):

What you would type into Google, e.g. 'coffee amsterdam' or 'plumber manchester'. Up to 200 per run.

## `maxResultsPerQuery` (type: `integer`):

Stop after this many businesses per query. This is your cost ceiling: one delivered business is one charged event. Google shows about 20 per query.

## `country` (type: `string`):

ISO country code, e.g. NL, US, DE. Sets both the proxy exit country and the Google region, so local results match the market you want.

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

Interface language, e.g. en, nl, de.

## Actor input object example

```json
{
  "queries": [
    "coffee amsterdam"
  ],
  "maxResultsPerQuery": 20,
  "country": "NL",
  "language": "en"
}
```

# Actor output Schema

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

No description

# 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 = {
    "queries": [
        "coffee amsterdam"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadydata/google-local").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 = { "queries": ["coffee amsterdam"] }

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

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

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

```

## CLI example

```bash
echo '{
  "queries": [
    "coffee amsterdam"
  ]
}' |
apify call steadydata/google-local --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadydata/google-local"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/wILPVO4PzDZX0XO2c/builds/vyLj5BTbESUqcB60b/openapi.json
