# Map Places Search: Overture Maps Directory (`brotherly_elm/local-business-finder`) Actor

Search Overture Maps places by city or bounding box, or export by country and region. Filter by category, phone and website; results include source attribution.

- **URL**: https://apify.com/brotherly_elm/local-business-finder.md
- **Developed by:** [Iris](https://apify.com/brotherly_elm) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.20 / 1,000 place results

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

## Local Business Finder — Overture Places

Search Overture Places records by city, rectangle, coordinates, country or US state. Each row includes release and source attribution.

### Inputs

Provide exactly one search area: `city`, `bbox`, coordinates with `radius_km`, or `country` with optional US `region`. City/bbox/coordinate searches default to 50 results and accept `max_results` up to 5,000; country and state exports can omit the cap. Categories, keyword, phone, website and explicit release filters are optional.

#### City and category (50 rows)

```json
{
  "city": "Manhattan",
  "country": "US",
  "admin1": "NY",
  "category": "restaurant",
  "max_results": 50
}
```

#### Bounding box with multiple categories

```json
{
  "bbox": [
    -73.99,
    40.72,
    -73.95,
    40.76
  ],
  "categories": [
    "restaurant",
    "cafe"
  ],
  "max_results": 100
}
```

#### US state export (omit city and max_results for full export)

```json
{
  "country": "US",
  "region": "NY"
}
```

### Output

Each dataset item is one place row. This is a complete real row from the local default run performed for this mission (release 2026-11-18.0):

```json
{
  "business_name": "Rhubarb Us, Inc.",
  "category": "restaurant",
  "address": "423 W 55th St, New York, 10019-4460, US",
  "street": "423 W 55th St",
  "city": "New York",
  "region": "US-NY",
  "postcode": "10019-4460",
  "country": "US",
  "phone": null,
  "website": null,
  "latitude": 40.767418,
  "longitude": -73.987951,
  "confidence": 0.95,
  "brand": null,
  "source_record_id": "383667042",
  "release": "2026-11-18.0",
  "license_attribution": "Overture Maps Foundation Places release selected at runtime, CDLA Permissive 2.0 or CC0 by source; https://docs.overturemaps.org/attribution/ . GeoNames cities15000, CC BY 4.0, https://www.geonames.org/ (modified). Search bounds: Natural Earth, public domain; attribution requested, https://www.naturalearthdata.com/."
}
```

The run summary records `rows_returned` and `stopped_because` in the default key-value store. A country/state export can stop at its internal deadline or memory guard; inspect the summary before treating an export as complete.

### Price

$0.0002 per returned place plus $0.00005 per Actor-start event per GB of memory (minimum one start event). Each dataset item is charged as a `Place result` event. Actor-start events scale with memory: one per GB, with at least one. The calculations below assume a 1 GB run, so exactly one start event is charged.

- 1,000 returned places: (1,000 × $0.0002) + $0.00005 = $0.20005.

- 100,000 returned places: (100,000 × $0.0002) + $0.00005 = $20.00005.

### Limits

City, bounding-box and coordinate searches have an internal 90-second deadline; country/state exports have an internal 300-second default and 600-second maximum. A request may return fewer rows because of a result cap, deadline or memory guard. Country and state bounds are approximate Natural Earth bounds with a margin; boundary outliers may be omitted. A region export requires `country: "US"` and a US postal state code. An output summary is the signal for completion.

### Attribution

Place rows retain the selected Overture release and source licence attribution. The source uses Overture Maps Foundation Places data under CDLA Permissive 2.0 or CC0 as indicated by source records; GeoNames city data under CC BY 4.0 (modified); and Natural Earth public-domain search bounds. See the links in each row for attribution details.

# Actor input Schema

## `city` (type: `string`):

Exact city name; ambiguous names require a country.

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

Optional ISO-3166 alpha-2 code. For country/region export, clear City and supply this code.

## `region` (type: `string`):

Optional US Postal state code for a region export; requires country=US and City cleared.

## `admin1` (type: `string`):

Optional GeoNames first-level region code; disambiguates same-name cities.

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

Alternative search area \[west,south,east,north] in WGS84.

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

Use with longitude and radius_km instead of city or bbox.

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

Longitude in decimal degrees, with latitude and radius.

## `radius_km` (type: `number`):

Radius in kilometres; the search uses a bounding rectangle.

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

Optional single category or trade alias. See bundled allowed category names; unknown names return suggestions.

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

Optional multi-category filter. Use instead of category; names and trade aliases are normalized to bundled canonical categories.

## `keyword` (type: `string`):

Optional substring match in business name.

## `max_results` (type: `integer`):

Maximum rows. Defaults to 50 for city/bbox searches; omit for unlimited country/region export.

## `self_test` (type: `boolean`):

Use a synthetic fixture rather than querying the source.

## `require_phone` (type: `boolean`):

Return only places with a phone number.

## `require_website` (type: `boolean`):

Return only places with an allowed business website.

## `release` (type: `string`):

Optional exact release identifier (for example 2026-11-18.0). Omit to select the newest readable catalog release.

## Actor input object example

```json
{
  "city": "Manhattan",
  "country": "US",
  "admin1": "NY",
  "radius_km": 2,
  "category": "restaurant",
  "self_test": false,
  "require_phone": false,
  "require_website": false
}
```

# Actor output Schema

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

Place records returned by the search.

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

Counts and stopping reason for 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 = {
    "city": "Manhattan",
    "country": "US",
    "admin1": "NY",
    "radius_km": 2,
    "category": "restaurant",
    "require_phone": false,
    "require_website": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("brotherly_elm/local-business-finder").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 = {
    "city": "Manhattan",
    "country": "US",
    "admin1": "NY",
    "radius_km": 2,
    "category": "restaurant",
    "require_phone": False,
    "require_website": False,
}

# Run the Actor and wait for it to finish
run = client.actor("brotherly_elm/local-business-finder").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 '{
  "city": "Manhattan",
  "country": "US",
  "admin1": "NY",
  "radius_km": 2,
  "category": "restaurant",
  "require_phone": false,
  "require_website": false
}' |
apify call brotherly_elm/local-business-finder --silent --output-dataset

```

## MCP server setup

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

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/ljCkIxRKTlya0858W/builds/vGF1q70EUX66Rj8y3/openapi.json
