# Overture Local Business Data Scraper (`min.h/overture-local-business-data-scraper`) Actor

Find public Overture places by bounding box and category, with pinned snapshots and source-level licenses.

- **URL**: https://apify.com/min.h/overture-local-business-data-scraper.md
- **Developed by:** [Min. H](https://apify.com/min.h) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.50 / 1,000 unique place delivereds

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

## Overture Local Business Data Scraper

Search Overture Maps Places using a bounding box and an exact category. Each result includes the place ID, title, category, public place address where available, latitude/longitude, input snapshot, and per-source data licenses. The license and attribution text is supplied with the export.

### Input

See [the working input example](examples/input.json). Bounding box coordinates are \[west, south, east, north], in degrees. A box can cover up to 2 degrees on either axis and 2 square degrees overall. Run separate boxes on either side of the antimeridian. Set category to the exact Overture basic or primary taxonomy slug, such as restaurant. Set maxResults to 1–10,000 and snapshot to an official release using the v2.0.0 Places schema, for example 2026-11-18.0, or latest. The returned snapshot is resolved and explicit.

### Results

Apify Dataset and OUTPUT.json contain the same normalized records. OUTPUT.csv contains the same columns and serializes nested fields as JSON. Text cells starting with spreadsheet formula characters are prefixed with an apostrophe in CSV. ATTRIBUTION.txt accompanies the exports and contains the relevant license texts and notices. Keep this file with any redistributed data. See the [Overture attribution register](https://docs.overturemaps.org/attribution/#places).

The live operating status is UNKNOWN. The separately reported source status is the observed Overture field. Missing addresses are null and flagged. Duplicate place IDs are counted and skipped. Records without verifiable source licensing are skipped and counted in SUMMARY. The order follows the release index and source row order. A place first seen in a release is a data observation.

The reader selects intersecting STAC files and Parquet row groups by bounds. It uses HTTPS byte ranges and verifies each range response. Caps include 6 intersecting files, 96 MiB of response payload, 650 requests, and 210 seconds of data collection. A hard cap or source failure ends the run with an error summary. LIMIT_REACHED means the result cap was reached. SCAN_FINISHED means the bounded scan finished, with exclusions reported separately. Storage errors may leave incomplete exports, so check SUMMARY before downstream use.

### Local execution

Install Python 3.12 and requirements.txt in an isolated environment. Copy examples/input.json to storage/key_value_stores/default/INPUT.json and execute python -m overture_places. Execute python -m unittest discover -s tests -v for the test suite. The prefill uses an actual NYC region and pinned open snapshot.

The release config reserves 512 MiB by default. The original 0.1.1 build used 209.6 MiB peak memory for a 10,000-row Apify cloud run. The PPE candidate has been tested locally.

### Billing and access

For a configured Pay Per Event run, one event represents one unique, license-verified place delivered to the Dataset and exports. The run budget can reduce the requested result cap. Scan errors, incomplete output storage, duplicates, excluded rows and platform QA carry no Actor event charge. See the Actor's pricing page for the effective terms.

The Actor stores the run summary and a billing record named `PPE-AUDIT` in the default key-value store. Check the audit when a response is indeterminate. A pending, partial or unknown charge result is recorded without repeating the charge. The audit distinguishes recorded events from accounted events when the platform reports both.

Customer Runs require Limited Permissions and restricted access to their Run and default stores. Verified Apify platform QA uses the fixed public example from the Input Schema in a separate non-billing path. The data comes from Overture STAC and the official Overture S3 bucket.

#### Publisher configuration

PPE is inactive on a non-monetized Actor. To activate the code path after approving pricing, verify that there is one flat per-place charge event and that Apify reports **User pays platform usage costs** as **No**. Record the confirmed event name, exact USD price, and time of verification in the publisher-controlled build environment variable `ACTOR006_PPE_POLICY`, using the JSON keys `eventName`, `eventPriceUsd`, `verifiedAt` (an ISO-8601 timestamp with time zone), and `platformUsagePaidByUser` (boolean false). The runtime checks the actual run's event configuration and budget. An explicitly conflicting platform usage setting blocks PPE. Configure restricted customer access before deploying.

[Official data catalog](https://docs.overturemaps.org/getting-data/cloud-sources/) · [Source schema](https://docs.overturemaps.org/schema/reference/places/place/) · [Overture licenses](https://docs.overturemaps.org/attribution/#places)

# Actor input Schema

## `bbox` (type: `array`):

Four longitude/latitude coordinates in \[west,south,east,north] order. Up to 2 degrees per axis and 2 square degrees. Split regions crossing the antimeridian.

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

An exact lower-case Overture taxonomy.primary or basic_category slug, for example restaurant or pizza_restaurant.

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

Maximum licensed unique results, up to 10000. Large or expensive scans can hit the bound before exports are written.

## `snapshot` (type: `string`):

An official v2.0.0 schema release ID, e.g. 2026-11-18.0, or latest. Returns the resolved release ID in every result.

## Actor input object example

```json
{
  "bbox": [
    -74.01,
    40.72,
    -73.99,
    40.74
  ],
  "category": "restaurant",
  "maxResults": 1,
  "snapshot": "2026-11-18.0"
}
```

# Actor output Schema

## `json` (type: `string`):

No description

## `csv` (type: `string`):

No description

## `attribution` (type: `string`):

No description

## `summary` (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 = {
    "bbox": [
        -74.01,
        40.72,
        -73.99,
        40.74
    ],
    "category": "restaurant",
    "maxResults": 1,
    "snapshot": "2026-11-18.0"
};

// Run the Actor and wait for it to finish
const run = await client.actor("min.h/overture-local-business-data-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 = {
    "bbox": [
        -74.01,
        40.72,
        -73.99,
        40.74,
    ],
    "category": "restaurant",
    "maxResults": 1,
    "snapshot": "2026-11-18.0",
}

# Run the Actor and wait for it to finish
run = client.actor("min.h/overture-local-business-data-scraper").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 '{
  "bbox": [
    -74.01,
    40.72,
    -73.99,
    40.74
  ],
  "category": "restaurant",
  "maxResults": 1,
  "snapshot": "2026-11-18.0"
}' |
apify call min.h/overture-local-business-data-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,min.h/overture-local-business-data-scraper"
        }
    }
}
```

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/fgCcPrWf35QXKUKKV/builds/EyOnugln8vOytAhAe/openapi.json
