# Apple Maps Scraper (`data_dino/apple-maps-scraper`) Actor

Extract structured business and place data from Apple Maps: names, addresses, phone numbers, websites, ratings, review snippets, and coordinates. No account, key, or login required.

- **URL**: https://apify.com/data_dino/apple-maps-scraper.md
- **Developed by:** [Data Dino](https://apify.com/data_dino) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 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

## Apple Maps Scraper

Extract structured business and place data from **Apple Maps** — no account, API key, or login required.

This actor searches Apple Maps' own web data routes and returns clean, structured rows for every place: **name, category, full address, coordinates, phone number, website, rating (score + count), review snippets, photo gallery, and the source page URL**.

### What you get

A dataset with **one item per place**, including:

| Field | Meaning |
| --- | --- |
| `placeId` / `muid` | Apple's stable place identifiers |
| `name`, `displayCategory` | Place name and business type |
| `address`, `neighborhood` | Postal + street address |
| `lat`, `lng` | Coordinates |
| `phone`, `website` | Contact details when available |
| `rating.score5`, `rating.count` | Star rating and number of ratings |
| `reviews` | Review snippets (Apple ships a few per place) |
| `photos` | Photo gallery URLs |
| `url` | maps.apple.com place link |

### How to search

- **Keyword + location (the common case).** Set *Business types/keywords* (e.g. `coffee shops`, `dentist`, `EV charging station`) and *Location* (e.g. `Brooklyn, New York`). Apple geocodes the location itself, then the actor tiles the surrounding area on a grid so it finds far more places than a single lookup.
- **Specific places.** Paste Apple Maps *place URLs* or bare place IDs; each is fetched as its own result.
- **Search URLs.** Replay a `maps.apple.com/search?query=…&center=…&span=…` URL directly.
- **Curated guides.** Paste a guide URL (`maps.apple.com/guides?curated=<id>`) to pull every place in a guide.

### Filters & options

- **Country / Language** — genuinely change the result set (not just labels). Matching both to the target country gives the best local results.
- **Grid tiles** — wider grid = more of the surrounding area explored; **Max results** caps rows per query.
- **Minimum rating**, **Open now**, **Has phone**, **Has website** — keep only places meeting your criteria.
- **Sort by** relevance, distance from the search centre, or rating.

### Defaults

Clicking **Run** without changing anything performs a coffee-shop search around Brooklyn, New York (up to 10 results) — so you immediately see real output.

### Notes

- Apple Maps' API returns at most 25 places per call and has no paging parameter; that's why the actor tiles the search area on a grid.
- No authentication is used — the site's public web data routes answer to a plain HTTP client.
- Results are stored in the actor's default dataset, one JSON object per place.

# Actor input Schema

## `queries` (type: `array`):

Business type, category, or keyword to search for, e.g. "coffee shops", "dentist", "EV charging station". One per line.

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

Free-text place where the search is centred, e.g. "Brooklyn, New York" or "Shibuya, Tokyo". Geocoded by Apple itself.

## `placeUrls` (type: `array`):

Optional specific Apple Maps place URLs (maps.apple.com/place?place-id=…) or bare place IDs to fetch as individual results.

## `searchUrls` (type: `array`):

Optional maps.apple.com/search?query=…\&center=lat,lng\&span=lat,lng URLs to replay directly.

## `guideUrls` (type: `array`):

Optional maps.apple.com/guides?curated=<id> URLs or bare guide IDs; every place in the guide is fetched.

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

Maximum number of places to keep per query (grid tiling explores the area, then this caps the rows).

## `grid` (type: `integer`):

Tiles per side around the search centre (grid × grid tiles, ≤25 results per tile).

## `span` (type: `number`):

Degrees per tile (~0.02 ≈ 2 km). Narrower span = denser coverage of the centre.

## `countryCode` (type: `string`):

Country code (dcc). Genuinely changes the result set, not just labels.

## `language` (type: `string`):

Accept-Language, e.g. en-US, fr-FR, ja-JP.

## `sortBy` (type: `string`):

Client-side ordering applied to the fetched rows.

## `minRating` (type: `number`):

Only keep places rated at least this (on a 5-point scale). Leave empty to keep all.

## `openNow` (type: `boolean`):

Only keep places that are currently open.

## `hasPhone` (type: `boolean`):

Only keep places with a phone number.

## `hasWebsite` (type: `boolean`):

Only keep places with a website.

## Actor input object example

```json
{
  "queries": [
    "coffee shops"
  ],
  "location": "Brooklyn, New York",
  "placeUrls": [],
  "searchUrls": [],
  "guideUrls": [],
  "maxResults": 10,
  "grid": 3,
  "span": 0.02,
  "countryCode": "US",
  "language": "en-US",
  "sortBy": "relevance",
  "openNow": false,
  "hasPhone": false,
  "hasWebsite": false
}
```

# Actor output Schema

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

All scraped places, one item per row. Each row is a place with fields such as: placeId, name, displayCategory, address, neighborhood, coordinates (lat/lng), phone, website, rating (score5/count), review snippets, photo gallery, URL, and the source mode (query/place/search_url/guide).

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("data_dino/apple-maps-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("data_dino/apple-maps-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 '{}' |
apify call data_dino/apple-maps-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data_dino/apple-maps-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/BWmmHRp81Vwzr9M9a/builds/4yXTHab6LULMGIHiD/openapi.json
