# Local Business Leads Without Website - OpenStreetMap (`launchgrade/osm-business-leads`) Actor

Find local businesses by city, ZIP or radius from OpenStreetMap: name, category, website, phone, email, address, hours, socials. Filter businesses without a website, which are ideal leads for web designers and agencies. ODbL open data.

- **URL**: https://apify.com/launchgrade/osm-business-leads.md
- **Developed by:** [LaunchGrade](https://apify.com/launchgrade) (community)
- **Categories:** Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 business founds

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Local Business Leads Without Website (OpenStreetMap)

Find local businesses in any city or radius and get **name, category, website, phone, email, address, opening hours, social links and coordinates**. Every lead has a **`hasWebsite` flag**, and you can switch on **"Only businesses without a website"** to build lead lists for web design, SEO and local-marketing outreach.

It's an open-data **alternative to Google Maps scrapers**. It uses [OpenStreetMap](https://www.openstreetmap.org), not Google, so there are no logins or proxies and no terms-of-service gray zones.

### What you get

| Field | Example |
|---|---|
| name | Over Easy Cafe |
| category | amenity=cafe |
| hasWebsite | false |
| website / phone / email | when mapped in OSM |
| address, street, city, state, postcode | 32 Broadway Street, Asheville |
| openingHours | Mo-Th 08:30-14:30 |
| socials | facebook / instagram / linkedin... (business contact tags) |
| lat, lon, osmUrl | link back to the OSM object |

A run summary (total, with and without a website) is saved to the key-value store as `SUMMARY`.

### How to use

1. Enter a **location** ("Asheville, NC", a neighborhood or a ZIP), or a **latitude/longitude + radius** (1–25 km).
2. Pick one or more **categories**: restaurants, cafes, dentists, salons, car repair, gyms, lawyers, accountants, contractors and more. Advanced users can add raw OSM tags such as `shop=bakery`.
3. Optionally tick **Only businesses without a website**.
4. Set **Max businesses**. This is your cost cap (default 500, max 5,000).

Export to CSV, Excel or JSON, or pull the results through the Apify API.

### Example input

```json
{
  "location": "Asheville, NC",
  "categories": [
    "cafes"
  ],
  "maxResults": 15
}
```

### Example output (one dataset row from a real run)

```json
{
  "name": "Malaprop's",
  "category": "shop=books",
  "hasWebsite": true,
  "website": "https://www.malaprops.com/",
  "phone": "+1-828-254-6734",
  "email": null,
  "address": "55 Haywood Street, Asheville, 28801",
  "street": "55 Haywood Street",
  "city": "Asheville",
  "state": null,
  "postcode": "28801",
  "country": null,
  "openingHours": "Mo-Sa 10:00-19:00, Su 11:00-16:00",
  "cuisine": "coffee_shop",
  "brand": null,
  "socials": null,
  "lat": 35.5961409,
  "lon": -82.5548494,
  "osmType": "node",
  "osmId": 2456376879,
  "osmUrl": "https://www.openstreetmap.org/node/2456376879",
  "attribution": "Data (c) OpenStreetMap contributors, available under the Open Database License (ODbL) - openstreetmap.org/copyright"
}
```

### Pricing

Pay per result: **$0.002 per business returned** ($2 per 1,000). You are charged only for rows in your dataset. A run that finds nothing or fails costs nothing beyond platform start-up. The actor also stops at your run's max-charge limit.

#### Pricing examples

- 100 businesss: $0.20
- 1,000 businesss: $2.00
- 10,000 businesss: $20.00

You pay only for results delivered, and the run stops at your max cost per run.

### Coverage and accuracy

OpenStreetMap is volunteer-mapped. Coverage is excellent in most of Europe and in many US and Canadian cities, and thinner in rural areas. Data can be outdated, and a missing `website` tag only means none is mapped in OSM, so verify before outreach. Big locations are trimmed to their central 2,500 km² to keep queries light. Use lat/lon + radius to target other parts.

### Fair use of OSM services

- **Geocoding** uses one [Nominatim](https://operations.osmfoundation.org/policies/nominatim/) request per run, with an identifying User-Agent and a pause of at least 1 second.
- **Business data** comes from a single [Overpass API](https://wiki.openstreetmap.org/wiki/Overpass_API) query per run, with a server timeout and polite exponential backoff on 429/504. The default is the public overpass-api.de instance, falling back to overpass.private.coffee.
- Public Overpass servers are shared and sometimes busy. If they are, the run fails cleanly with a message and you are not charged. For heavy or scheduled use, run your own Overpass instance and put its URL in **Overpass API endpoint**.

### Data licence and attribution (ODbL)

Data © [OpenStreetMap contributors](https://www.openstreetmap.org/copyright), available under the [Open Database License (ODbL) 1.0](https://opendatacommons.org/licenses/odbl/). Every row carries an `attribution` field. If you publish or share the data, or a database made from it, you must credit OpenStreetMap, and derived databases you share must stay under the ODbL. This actor is not affiliated with or endorsed by the OpenStreetMap Foundation.

### Privacy

Only business tags are returned: names, business contact tags, addresses and hours. Use the contacts in line with anti-spam and privacy laws (CAN-SPAM, GDPR, PECR), and honour opt-outs.

### FAQ

**Why fewer results than Google Maps?** OSM only has what volunteers have mapped. In exchange you get licence-clean open data and a direct link to each object.
**Can I schedule it?** Yes, with Apify Schedules. For frequent large runs, point it at your own Overpass server.

### More tools from LaunchGrade

Website audits, link checking, domain research, lead lists and data exporters, all pay-per-result: [apify.com/launchgrade](https://apify.com/launchgrade).

# Actor input Schema

## `location` (type: `string`):

City, neighborhood or ZIP, e.g. 'Asheville, NC'. Large areas are trimmed to the central 2,500 km2.

## `latitude` (type: `string`):

Use with longitude and radius instead of a location name.

## `longitude` (type: `string`):

Use with latitude and radius instead of a location name.

## `radiusKm` (type: `integer`):

Search radius around latitude/longitude, 1-25 km.

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

One or more categories.

## `customTags` (type: `array`):

Extra OpenStreetMap tags, e.g. shop=bakery or office=architect.

## `onlyWithoutWebsite` (type: `boolean`):

Great for web-design and marketing lead lists.

## `maxResults` (type: `integer`):

Maximum businesses returned. This is your cost cap (default 500, max 5,000).

## `overpassUrl` (type: `string`):

Leave empty for the public overpass-api.de server, or use your own Overpass instance for heavy use.

## Actor input object example

```json
{
  "location": "Asheville, NC",
  "radiusKm": 3,
  "categories": [
    "cafes"
  ],
  "onlyWithoutWebsite": false,
  "maxResults": 500
}
```

# Actor output Schema

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

One row per business from OpenStreetMap (ODbL), with hasWebsite flag.

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

JSON summary of the run.

# 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 = {
    "location": "Asheville, NC",
    "categories": [
        "cafes"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("launchgrade/osm-business-leads").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 = {
    "location": "Asheville, NC",
    "categories": ["cafes"],
}

# Run the Actor and wait for it to finish
run = client.actor("launchgrade/osm-business-leads").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 '{
  "location": "Asheville, NC",
  "categories": [
    "cafes"
  ]
}' |
apify call launchgrade/osm-business-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,launchgrade/osm-business-leads"
        }
    }
}
```

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/aQe7TleQzGrlOjyCs/builds/4GCsKsP8lcHjcvYkV/openapi.json
