# Local Business Scraper: Places, Phones & Websites (`glitchbound/places-scraper`) Actor

Find local businesses in any city: name, address, coordinates, phone, website, email, opening hours and category. Filter to businesses with NO website but a phone number to build cold-call lead lists. Powered by OpenStreetMap: open data, no key, no quota.

- **URL**: https://apify.com/glitchbound/places-scraper.md
- **Developed by:** [Daniel Meshulam](https://apify.com/glitchbound) (community)
- **Categories:** Lead generation, Automation, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 businesses

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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

## Local Business Scraper: Places, Phones & Websites

Find local businesses in any city with **name, address, coordinates, phone, website, email, opening hours and category**, from OpenStreetMap's open data. No key, no quota, no per-request billing from a map vendor.

### How complete is the data, measured

OpenStreetMap is contributor-maintained, so coverage varies by field and by
place. Measured on 80 Berlin restaurants in one run:

| Field | Filled |
|---|---|
| `name` | 100% |
| `openingHours` | 82% |
| `address` | 80% |
| `phone` | 64% |
| `website` | 64% |
| `email` | 24% |

`email` is the field to plan around. A quarter in Berlin, and zero across 15
Tel Aviv cafes in a separate run, so density is regional rather than uniform.
Use `withPhoneOnly` when you need a reachable contact, since phone is by far the
better-covered channel.

Nothing is inferred to fill a gap. A missing field means OpenStreetMap does not
have it, not that the business lacks one.

### The filter that makes this different

```json
{ "withoutWebsiteOnly": true, "withPhoneOnly": true }
```

**Businesses with a phone number but no website.** That's a cold-call list for a web design or marketing agency, the single highest-intent lead list in local services, and commercial map APIs don't let you filter for it.

### Do you need an API key? No. Is there a free tier? Yes.

The two things people search for in this category, measured, are **free** and
**API key**: `google maps scraper free`, `google maps scraper free github`.

So, plainly:

- **No API key.** Nothing to register for, nothing to rotate, no key to leak in
  a repo. The source is a public API published deliberately by its owner.
- **No proxy setup.** The source does not bot-wall datacenter addresses, so the
  default works.
- **Pay per result, not per month.** There is no subscription and no minimum.
  Rows that error or that your filters drop are **not charged**.
- **Free to try.** Run it with the prefilled input and see real rows before
  deciding anything.

### What you get

| Field | Example |
|---|---|
| `name`, `category`, `osmCategory` | `Cafe Shraga`, `cafe`, `cafe` |
| `address`, `street`, `houseNumber`, `city`, `postcode`, `country` | |
| `latitude`, `longitude` | `32.0707`, `34.7903` |
| `phone`, `website`, `email` | |
| **`hasWebsite`, `hasPhone`** | `false`, `true` |
| `openingHours` | `Mo-Fr 07:00-19:00; Sa 08:00-14:00` |
| `cuisine`, `brand`, `operator` | `italian`, `Starbucks` |
| `wheelchair`, `outdoorSeating`, `takeaway`, `delivery` | |
| `osmId`, `osmUrl`, `mapUrl` | links to OSM and to Google Maps |

### Example input

```json
{
  "searchAreas": ["Tel Aviv", "Haifa"],
  "categories": ["restaurant", "cafe", "bakery"],
  "withoutWebsiteOnly": true,
  "withPhoneOnly": true,
  "maxResultsPerArea": 200
}
```

### Search areas, three ways

- **Place name**: `"Tel Aviv"`, `"Brooklyn, NY"`, `"Shoreditch, London"`. Uses the city's **real administrative boundary**, not a circle.
- **Point + radius**: `"32.08,34.78"` with `radiusMeters: 2000`
- **Bounding box**: `"32.05,34.76,32.09,34.80"` as `south,west,north,east`

### Categories

50+ plain-English categories, so you never have to learn OSM's tag scheme:

`restaurant` `cafe` `bar` `pub` `fast_food` `bakery` `hotel` `guest_house` `pharmacy` `doctor` `dentist` `veterinary` `hairdresser` `beauty` `gym` `supermarket` `convenience` `clothes` `florist` `jewelry` `furniture` `hardware` `car_repair` `car_dealer` `bank` `school` `kindergarten` `lawyer` `accountant` `estate_agent` `insurance` `company` `coworking` `laundry` `optician` `butcher` `greengrocer` `pet_shop` `bicycle` `electronics` `mobile_phone` `travel_agency` `tattoo` `nightclub` `cinema` `museum` `attraction` `park` `parking` `fuel` `charging_station`

### Who this is for

- **Web & marketing agencies**: businesses with no website, with a phone, in your city
- **Sales teams**: territory lists by category, with coordinates for route planning
- **Delivery & logistics**: every restaurant in a radius, geocoded
- **Market research**: how many gyms per neighbourhood, which areas are underserved
- **Map & directory apps**: POI data you can actually redistribute

### Data source & licensing

Data comes from **OpenStreetMap**, licensed [ODbL](https://www.openstreetmap.org/copyright). It's open data you may reuse and redistribute, with attribution, unlike commercial map APIs, whose terms forbid storing results.

Coverage of independent local businesses is strong in most cities but is community-maintained, so it isn't exhaustive. Phone and website tags are present on a meaningful minority of entries, which is exactly what makes the "no website" filter useful.

### Pricing

Pay per result. One row = one business. Areas that fail to resolve come back as `error` rows and are **not** charged, and neither is anything your filters removed.

### Business categories

Plain-English names, because OpenStreetMap splits business types across four
different tag keys (`amenity`, `shop`, `tourism`, `office`, `leisure`) and
nobody should have to learn that to pull a lead list.

| | |
|---|---|
| Food and drink | `restaurant` `cafe` `bar` `pub` `fast_food` `bakery` `butcher` `greengrocer` |
| Stay | `hotel` `guest_house` |
| Health | `pharmacy` `doctor` `dentist` `veterinary` `optician` |
| Beauty and fitness | `hairdresser` `beauty` `gym` `tattoo` |
| Retail | `supermarket` `convenience` `clothes` `florist` `jewelry` `furniture` `hardware` `electronics` `mobile_phone` `pet_shop` `bicycle` |
| Motor | `car_repair` `car_dealer` `fuel` `charging_station` |
| Professional | `lawyer` `accountant` `estate_agent` `insurance` `company` `coworking` `bank` `travel_agency` |
| Education | `school` `kindergarten` |
| Leisure | `nightclub` `cinema` `museum` `attraction` `park` |
| Other | `laundry` `parking` |

**Search areas** take a city or district name, a `lat,lon` pair with
`radiusMeters`, or a raw bounding box. A name is geocoded through Nominatim and
the real administrative boundary is used when one exists, because a city is not
a circle.

**The field commercial map APIs withhold** is whether a business has a website.
`hasWebsite` is here, and `withoutWebsiteOnly` combined with `withPhoneOnly` is
the whole lead list: businesses with a phone number and no site.

### Notes

- Large runs belong on the asynchronous API. The `run-sync-get-dataset-items` endpoint gives up at 300 seconds, and three cities across two categories exceeds that. Start the run with `POST /acts/<id>/runs` and read the dataset when it finishes, or schedule it.

- Overpass (the OSM query API) is community-run and its main instance is often at capacity. This Actor automatically falls back across four mirrors, so a busy primary doesn't fail your run.

- Both point-mapped shops and building outlines are queried, so larger businesses aren't silently missed.

- Nominatim's usage policy (identifying User-Agent, ≤1 request/second) is honored by design.

- Set a **max charge per run** in the run options for a hard spend ceiling. The Actor honors it and stops cleanly.

# Actor input Schema

## `searchAreas` (type: `array`):

Where to search, one per line. A place name ("Tel Aviv", "Brooklyn, NY"), a "lat,lon" point, or a "south,west,north,east" bounding box.

## `categories` (type: `array`):

What to look for: restaurant, cafe, bar, pub, fast\_food, bakery, hotel, pharmacy, dentist, doctor, hairdresser, beauty, gym, supermarket, clothes, florist, jewelry, car\_repair, bank, lawyer, accountant, estate\_agent, insurance, optician, butcher, pet\_shop, bicycle, electronics, travel\_agency, tattoo, nightclub, cinema, museum, park, fuel and more.

## `radiusMeters` (type: `integer`):

Search radius around the area's centre. Leave at 0 to use the city's real administrative boundary instead of a circle.

## `maxResultsPerArea` (type: `integer`):

Cap on places returned per area, counted after filtering. Start small and raise it: a first run of 25 tells you whether the area and categories are right, and costs a fraction of a full sweep.

## `withoutWebsiteOnly` (type: `boolean`):

Return only businesses that have no website listed. Combined with 'Only businesses with a phone', this is a ready-made cold-call list for web design and marketing agencies.

## `withPhoneOnly` (type: `boolean`):

Drop places with no phone number, since you can't call them.

## `namedOnly` (type: `boolean`):

Drop unnamed map features. Almost always what you want.

## `keywords` (type: `array`):

Only keep places whose name, cuisine, brand or operator matches one of these.

## `proxyConfiguration` (type: `object`):

Proxy settings.

## `maxItems` (type: `integer`):

A hard ceiling on rows for the entire run, across every target. The per-target limits above cap each one separately, so fifty targets at twenty each is still a thousand rows; this caps the total. The run stops cleanly when it is reached and nothing beyond that point is fetched or charged. Leave empty for no ceiling.

## Actor input object example

```json
{
  "searchAreas": [
    "Tel Aviv"
  ],
  "categories": [
    "cafe"
  ],
  "radiusMeters": 0,
  "maxResultsPerArea": 25,
  "withoutWebsiteOnly": false,
  "withPhoneOnly": false,
  "namedOnly": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Local businesses with address, phone, website and coordinates.

# 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 = {
    "searchAreas": [
        "Tel Aviv"
    ],
    "categories": [
        "cafe"
    ],
    "maxResultsPerArea": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("glitchbound/places-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 = {
    "searchAreas": ["Tel Aviv"],
    "categories": ["cafe"],
    "maxResultsPerArea": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("glitchbound/places-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 '{
  "searchAreas": [
    "Tel Aviv"
  ],
  "categories": [
    "cafe"
  ],
  "maxResultsPerArea": 25
}' |
apify call glitchbound/places-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=glitchbound/places-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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