# Hyperlocal Business & POI Lead Enricher (OSM + Schema.org) (`scrapesmart/hyperlocal-osm-business-radar`) Actor

Geospatial POI lead discovery via OpenStreetMap Overpass & Nominatim. Enriches local businesses with verified emails, phone numbers, social links, and Schema.org LocalBusiness metadata at zero proxy cost.

- **URL**: https://apify.com/scrapesmart/hyperlocal-osm-business-radar.md
- **Developed by:** [Dysen K](https://apify.com/scrapesmart) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 local business poi enriched with website contacts, social profiles & schema.org metadata

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?

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

## 🗺️ Hyperlocal Business & POI Lead Enricher (OSM + Schema.org)

> **Proxy-Free Geospatial POI Discovery, Verified Email & Phone Extraction, Schema.org `LocalBusiness` Structured Data, and B2B Agency Sales Intelligence.**\
> Powered by OpenStreetMap (Nominatim + Overpass API) and fast website enrichment. Zero residential proxy costs, zero scraping fragility, ~97% margin, MCP-ready.

***

### 💡 Why This Actor Wins (The Proxy-Free Advantage vs. Google Maps Scrapers)

Traditional Google Maps scrapers on Apify suffer from two fatal flaws:

1. **Expensive Residential Proxies:** Scrapers burn **$3.00 to $5.00 per GB** in residential proxy bandwidth to bypass Google anti-bot systems.
2. **Extreme Fragility:** Google frequently updates obfuscated CSS classes and DOM structures, causing unexpected pipeline breaks and missing fields.

**Hyperlocal Business & POI Lead Enricher** flips the economics of local lead generation:

- **100% Free Open Geospatial Data:** Uses the official **OpenStreetMap (OSM) Nominatim & Overpass API** to discover verified nodes and ways for commercial POIs worldwide without requiring residential proxies.
- **Fast HTTP Website Enrichment:** Performs lightweight direct HTTP requests to discovered business websites with `cheerio` to extract direct `mailto:` emails, telephone numbers, social profiles, and Schema.org `LocalBusiness` ratings.
- **~97% Profit Margin:** Delivers verified local business intelligence at a fraction of the compute and proxy cost of traditional map scrapers.
- **B2B Agency Intelligence:** Automatically detects whether businesses have online booking systems (Calendly, Acuity, Zocdoc, Mindbody, Toast), website builders (WordPress, Wix, Squarespace), or conversion analytics (Meta Pixel, Google Analytics).

***

### 🎯 Supported Business Categories & OSM Tag Mapping

Select any of the 12 high-converting local service verticals or provide custom tags:

| Category Key | Industry Vertical | OpenStreetMap Overpass Tags | Typical Agency Outreach Angle |
| :--- | :--- | :--- | :--- |
| `dentist` | Dentists & Dental Clinics | `amenity=dentist`, `healthcare=dentist` | Online booking automation & review generation |
| `medical_clinic` | Medical Clinics & Doctors | `amenity=clinic`, `amenity=doctors`, `healthcare=clinic` | Patient intake automation & appointment reminders |
| `lawyer` | Lawyers & Legal Services | `office=lawyer`, `office=legal` | Client intake CRM & high-ticket local SEO |
| `accounting` | Accountants & Tax Advisors | `office=accountant`, `office=tax_advisor`, `office=financial` | Tax season lead gen & calendar scheduling |
| `real_estate` | Real Estate Agencies | `office=estate_agent`, `shop=estate_agent` | Local seller ads & modern web redesign |
| `veterinary` | Veterinary Clinics & Animal Hospitals | `amenity=veterinary`, `healthcare=veterinarian` | Emergency appointment booking & review systems |
| `gym` | Gyms & Fitness Centers | `leisure=fitness_centre`, `leisure=sports_centre`, `amenity=gym` | Member retention, Mindbody integrations & Meta ads |
| `coworking` | Coworking Spaces & Flex Offices | `office=coworking`, `amenity=coworking_space` | Tour booking automation & B2B corporate partnerships |
| `restaurant` | Restaurants & Dining | `amenity=restaurant` | Online ordering (Toast/ChowNow) & VIP SMS clubs |
| `coffee` | Coffee Shops & Cafes | `amenity=cafe` | Local foot-traffic SEO & loyalty rewards programs |
| `auto_repair` | Auto Repair & Car Services | `shop=car_repair`, `craft=car_repair` | Service estimate automation & Google Map pack ranking |
| `plumber` | Plumbers & Plumbing Contractors | `craft=plumber`, `office=plumber` | Emergency dispatch web design & Google Local Services Ads |

***

### ⚡ Key Intelligence Dimensions

| Dimension | What This Actor Discovers | B2B / Agency Value |
| :--- | :--- | :--- |
| **Geospatial Discovery** | OpenStreetMap Nominatim geocoding + Overpass QL bounding radius | Find every business within 500m to 50,000m of any neighborhood or city center worldwide. |
| **Verified Emails** | HTML `mailto:` links, body contact pattern matching, OSM `contact:email` | Clean direct email addresses ready for cold outbound campaigns. |
| **Direct Phone Numbers** | HTML `tel:` links, Schema.org `telephone`, OSM `phone` & `contact:phone` | Immediate phone access for cold calling and SMS outreach. |
| **Schema.org Structured Data** | JSON-LD `LocalBusiness`, `Dentist`, `MedicalBusiness` aggregate ratings & hours | Know their verified star rating, review count, and price range before pitching. |
| **Social Media Profiles** | Facebook, Instagram, LinkedIn, X/Twitter, Yelp, YouTube links | Assess their social presence and pitch paid ads or social media management. |
| **Tech Stack & CMS** | WordPress, Wix, Squarespace, Shopify, Webflow, GoDaddy | Identify outdated website platforms for turnkey website redesign pitches. |
| **Booking Engine Signals** | Calendly, Acuity, Zocdoc, Mindbody, Toast, OpenTable, Square Appointments | Spot businesses without automated booking to pitch appointment scheduling systems. |
| **Lead Completeness Score** | Deterministic score (0 to 100) based on website, email, phone, address, and socials | Prioritize SDR calls on highest-fidelity leads. |
| **Token-Optimized MCP Brief** | Compact Markdown brief (<400 tokens) per business + `MCP_PROMPT` in KV store | Drop directly into AI agent workflows (Claude, Cursor, Copilot) without token bloat. |

***

### 🛠️ Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `locationQuery` | String | `"Austin, TX"` | Geographical area, city, or neighborhood to scan (e.g., `"Austin, TX"`, `"Miami, FL"`, `"Manhattan, NY"`). |
| `category` | String (Select) | `"dentist"` | Target business category (e.g. `dentist`, `medical_clinic`, `lawyer`, `gym`, `restaurant`, `plumber`). |
| `radiusMeters` | Integer | `5000` | Search radius in meters (500m to 50,000m). Default: 5,000m (5 km). |
| `enrichWebsites` | Boolean | `true` | Visit discovered business websites via fast HTTP GET to extract emails, phones, social links, and Schema.org. |
| `onlyWithWebsite` | Boolean | `false` | If true, filter out POIs that do not have a public website URL. |
| `maxResults` | Integer | `25` | Maximum number of enriched business leads to return (1 to 100). |
| `concurrency` | Integer | `5` | Concurrent HTTP website enrichment requests (1 to 10). |
| `latitude` *(optional)* | Number | `null` | Optional direct latitude coordinate (e.g. `30.2672`). Overrides `locationQuery`. |
| `longitude` *(optional)* | Number | `null` | Optional direct longitude coordinate (e.g. `-97.7431`). Overrides `locationQuery`. |

#### Sample Input JSON

```json
{
  "locationQuery": "Austin, TX",
  "category": "dentist",
  "radiusMeters": 5000,
  "enrichWebsites": true,
  "onlyWithWebsite": false,
  "maxResults": 25,
  "concurrency": 5
}
```

***

### 📊 Output Dataset Format

Each dataset record provides complete local business intelligence:

```json
{
  "name": "Downtown Austin Dental Spa",
  "category": "dentist",
  "osmCategoryTag": "amenity=dentist",
  "osmId": "node/10012345",
  "osmUrl": "https://www.openstreetmap.org/node/10012345",
  "latitude": 30.2672,
  "longitude": -97.7431,
  "distanceMeters": 450,
  "website": "https://austindentalspa.example.com/",
  "email": "info@austindentalspa.example.com",
  "allEmails": [
    "info@austindentalspa.example.com",
    "dr.smith@austindentalspa.example.com"
  ],
  "phone": "+1 512-555-0144",
  "allPhones": [
    "+1 512-555-0144"
  ],
  "address": "200 Congress Ave, Austin, TX, 78701",
  "street": "Congress Ave",
  "houseNumber": "200",
  "city": "Austin",
  "state": "TX",
  "postalCode": "78701",
  "country": "United States",
  "openingHours": "Mo-Fr 08:00-17:00",
  "socialProfiles": {
    "facebook": "https://www.facebook.com/austindentalspa",
    "instagram": "https://www.instagram.com/austindentalspa/",
    "linkedin": "https://www.linkedin.com/company/austin-dental-spa/",
    "twitter": "https://twitter.com/austindentalspa",
    "yelp": "https://www.yelp.com/biz/austin-dental-spa-austin"
  },
  "schemaOrg": {
    "type": "Dentist",
    "name": "Downtown Austin Dental Spa",
    "telephone": "+1 512-555-0144",
    "priceRange": "$$",
    "aggregateRating": {
      "ratingValue": 4.9,
      "reviewCount": 128,
      "bestRating": 5
    },
    "openingHours": "Mo-Fr 08:00-17:00",
    "address": {
      "streetAddress": "200 Congress Ave",
      "addressLocality": "Austin",
      "addressRegion": "TX",
      "postalCode": "78701"
    }
  },
  "techStack": {
    "cms": "WordPress",
    "bookingSystem": "Calendly",
    "analytics": [
      "Google Analytics",
      "Meta Pixel"
    ]
  },
  "leadCompletenessScore": 100,
  "localB2bSignals": [
    "Verified website & direct email discovered",
    "Direct telephone number verified",
    "Active social media presence detected (facebook, instagram, linkedin, twitter, yelp)",
    "Schema.org LocalBusiness verified with 4.9★ rating (128 reviews)",
    "Modern online booking engine active (Calendly)",
    "Website built on WordPress",
    "Tracking analytics active (Google Analytics, Meta Pixel)"
  ],
  "outreachAngle": "Pitch automated customer review generation and local AI receptionist to capture after-hours inquiries and boost 5-star Google ratings.",
  "mcpMarkdownBrief": "### 📍 Downtown Austin Dental Spa [HIGH PRIORITY - 100/100]..."
}
```

***

### 🤖 Token-Optimized MCP Brief Format

Each business record generates an ultra-compact `<400-token` Markdown brief ready for Model Context Protocol (MCP) servers and LLM agents:

```markdown
#### 📍 Downtown Austin Dental Spa [HIGH PRIORITY - 100/100]
- **Category:** dentist (amenity=dentist)
- **Distance:** 450m from center
- **Address:** 200 Congress Ave, Austin, TX, 78701
- **Website:** [https://austindentalspa.example.com/](https://austindentalspa.example.com/)
- **Direct Contacts:** 
  - **Email:** info@austindentalspa.example.com
  - **Phone:** +1 512-555-0144
- **Socials:** [FACEBOOK](https://www.facebook.com/austindentalspa) | [INSTAGRAM](https://www.instagram.com/austindentalspa/) | [LINKEDIN](https://www.linkedin.com/company/austin-dental-spa/)
- **Tech Stack:** CMS: WordPress | Booking: Calendly | Analytics: Google Analytics, Meta Pixel
- **Schema.org Rating:** 4.9★ (128 reviews) [Type: Dentist]
- **B2B Signals:**
- Verified website & direct email discovered
- Schema.org LocalBusiness verified with 4.9★ rating (128 reviews)
- Modern online booking engine active (Calendly)
- **🎯 Outreach Pitch Angle:** Pitch automated customer review generation and local AI receptionist to capture after-hours inquiries.
- **OSM Record:** [node/10012345](https://www.openstreetmap.org/node/10012345)
```

In addition, the actor automatically stores a master **`MCP_PROMPT`** in the Apify Key-Value Store summarizing the entire run with executive metrics and ready-to-run instructions for AI SDR agents.

***

### 💰 Pay-Per-Event (PPE) Pricing

This actor is monetized using Apify's **Pay-Per-Event (PPE)** model:

- **Event Name:** `local-business-enriched`
- **Cost:** **$0.01 per enriched business lead**
- **Zero Fixed Run Fees:** You are billed only when a local business record is successfully enriched and pushed to your dataset. If no businesses are found in a rural polygon, you pay nothing.

***

### 🔗 Integrations & Outbound Workflows

1. **GoHighLevel / HubSpot / Salesforce:** Ingest the JSON dataset directly via Apify Webhooks; route leads with `leadCompletenessScore >= 70` to immediate SDR calls.
2. **Instantly / Smartlead:** Upload verified `allEmails` with dynamic merge tag `{{outreachAngle}}` for personalized cold outreach.
3. **AI SDR Agents (Claude / Cursor / Windsurf):** Connect this Actor as an MCP Tool to automatically prospect and enrich local businesses before scheduling meetings.

***

### 📜 License

Apache-2.0

# Actor input Schema

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

Geographical area, city, or neighborhood to scan (e.g., 'Austin, TX', 'Miami, FL', 'Manhattan, NY', 'London, UK'). Resolved via OpenStreetMap Nominatim.

## `latitude` (type: `number`):

Optional direct latitude coordinate (e.g. 30.2672). Overrides locationQuery if provided with longitude.

## `longitude` (type: `number`):

Optional direct longitude coordinate (e.g. -97.7431). Overrides locationQuery if provided with latitude.

## `category` (type: `string`):

Select the target business vertical to discover and enrich using OpenStreetMap Overpass tags.

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

Geographical search radius around the location center in meters (500m to 50,000m / 50km). Default: 5,000m (5km).

## `enrichWebsites` (type: `boolean`):

Visit discovered business websites via fast HTTP GET to extract verified emails, direct phone numbers, social media profiles, and Schema.org LocalBusiness structured data.

## `onlyWithWebsite` (type: `boolean`):

If true, filter out POIs that do not have a public website URL listed in OpenStreetMap or their profile.

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

Maximum number of enriched local business leads to return (1 to 100).

## `concurrency` (type: `integer`):

Concurrent HTTP website enrichment requests (1 to 10).

## Actor input object example

```json
{
  "locationQuery": "Austin, TX",
  "category": "dentist",
  "radiusMeters": 5000,
  "enrichWebsites": true,
  "onlyWithWebsite": false,
  "maxResults": 25,
  "concurrency": 5
}
```

# Actor output Schema

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

JSON/table dataset containing all enriched records and per-record mcpMarkdownBrief fields.

## `mcpPrompt` (type: `string`):

Token-optimized Markdown brief stored in the default Key-Value Store for direct LLM/MCP consumption.

# 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 = {
    "locationQuery": "Austin, TX"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapesmart/hyperlocal-osm-business-radar").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 = { "locationQuery": "Austin, TX" }

# Run the Actor and wait for it to finish
run = client.actor("scrapesmart/hyperlocal-osm-business-radar").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 '{
  "locationQuery": "Austin, TX"
}' |
apify call scrapesmart/hyperlocal-osm-business-radar --silent --output-dataset

```

## MCP server setup

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

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/Ad2F8CwlOwwAaPkfc/builds/im9w7bXl1uMJPYAPr/openapi.json
