# Apple Maps Scraper - Business Leads, Phones & Reviews (`apinator/apple-maps-scraper`) Actor

Extract business data from Apple Maps, including phone numbers, websites, addresses, ratings, reviews and opening hours. Search by keyword, location, coordinates or place URL with Fast and Deep extraction modes.

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

## Pricing

from $0.60 / 1,000 place extracteds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

Find and enrich local business records from Apple Maps for lead generation, local market research and geographic analysis. Search by business type and location, or look up places you already know.

### What you can do

- Choose **Fast** or **Deep** extraction for search results.
- Cover a configurable area with a grid of search cells.
- Look up specific places by MUID or supported Apple Maps place URL.
- Filter by phone, website, rating, rating count and available amenity identifiers.
- Inspect component availability metadata to distinguish missing, empty and returned data.
- Export records containing names, addresses, contacts, coordinates, ratings, opening hours, photos and more when available.

### Fast and Deep

| | Fast | Deep (default) |
|---|---|---|
| Search results | Uses the search response only | Requests additional place details in batches of up to 10 |
| Direct MUIDs and URLs | Always requests place details | Always requests place details |
| Output fields | Same record structure | Same record structure |
| Data availability | Depends on search response | Depends on detail response |

The modes do not guarantee identical content or completeness. A missing value means it was not available in the response used for that result. If a search response contains an identifier without a usable place model, Fast keeps the identifier and leaves the unavailable fields empty.

A local test in Milan returned 1,000 unique places in 93.831 seconds with Fast and 142.573 seconds with Deep. These were separate single runs, without cloud startup or remote dataset writing; they are measurements, not performance guarantees. The records for 999 places overlapped, and their photo content differed for 762 places.

### Common uses

- Build local business prospect lists with published phone numbers and websites.
- Explore businesses across an area or compare local categories.
- Add available addresses, coordinates, opening hours and ratings to existing place IDs.
- Select candidates based on contact details, rating thresholds and amenities.

### Quick start

Search the area around coordinates:

```json
{
  "searchTerms": ["restaurants", "coffee shops"],
  "location": {"latitude": 45.4671753, "longitude": 9.1896644},
  "countryCode": "IT",
  "extractionMode": "deep",
  "gridRows": 3,
  "gridColumns": 3,
  "cellSpan": 0.03,
  "maxResults": 100
}
```

Use a place ID directly:

```json
{
  "muids": ["7156220618368493886"],
  "countryCode": "US"
}
```

Alternatively, use `"urls": ["https://maps.apple.com/place?place-id=I635000BCB42E293E"]`. Only this Apple Maps place-ID URL format is accepted. Search terms, MUIDs and URLs can be combined. MUIDs are collected first, then URLs, then searches; the global limit can stop later inputs from being processed.

To search by city, use for example `"location": {"city": "Milano", "country": "Italia", "language": "it-IT"}` with `"countryCode": "IT"`. The locality, country and country code must match the returned location. The optional language helps resolve the city; it does not globally set the language of all business results.

### Input

| Field | What it does |
|---|---|
| `searchTerms` | Business types or keywords. All terms use the same location. |
| `location` | Coordinates, or city and country with optional language, required for search terms. |
| `countryCode` | Two-letter country code; default `US`. |
| `muids` | Decimal place identifiers as strings. |
| `urls` | Direct Apple Maps place-ID URLs in the format shown above. |
| `extractionMode` | `deep` (default) or `fast`. |
| `maxResults` | Maximum unique candidates across inputs before filtering; default 50, maximum 10,000. |
| `gridRows`, `gridColumns` | Number of search cells centered on the location; default 1 × 1, maximum 20 × 20. |
| `cellSpan` | Cell width and height in degrees; default 0.1. |
| `filters` | Optional filter object described below. |
| `sortBy` | `discovery`, `name`, `rating` or `ratingCount`; default `discovery`. |

At least one search term, MUID or URL is required. A grid can extend beyond administrative boundaries and does not guarantee complete coverage. Results may vary with location, source limits and the time of the search.

### Filters and sorting

```json
{
  "muids": ["7156220618368493886", "5093639955983478862"],
  "countryCode": "US",
  "filters": {"hasPhone": true, "minRatingPercent": 80, "minRatingCount": 10},
  "sortBy": "name"
}
```

- `hasPhone`, `hasWebsite`: require a value when `true`; `false` does not filter.
- `minRatingPercent`: minimum normalized comparison threshold from 0 to 100; the original score is not changed.
- `minRatingCount`: minimum number of ratings used for the score, not the number of written reviews.
- `requiredAmenityIds`: require all listed amenity IDs or types when marked present by the source.

Missing values do not satisfy a required threshold or amenity. Filters and sorting apply **after** selecting up to `maxResults` candidates, so the final dataset can contain fewer records. Sorting covers only those candidates. Missing sort values are last.

### Output

Each dataset item is a single business. Missing values are `null`; MUIDs and place IDs are strings.

| Field | Description |
|---|---|
| `muid`, `placeId`, `appleMapsUrl` | Place identifiers and link when available. |
| `name`, `category`, `secondaryCategories` | Business name and available category names. |
| `address`, `structuredAddress`, `coordinates`, `timezone` | Formatted and structured address, coordinates and time zone. |
| `phone`, `secondaryPhones`, `fax`, `website` | Available contact information. |
| `rating` | Original `ratingType`, `score`, `maxScore` and `numRatingsUsedForScore`. |
| `openingHours` | Original available business-hours structures. |
| `amenities`, `reviews`, `photos` | Available service information, review content and photos with source details where provided. |
| `businessLinks`, `guides` | Available action links and associated guides; guides may contain only an ID. |
| `componentAvailability` | Component state, original statuses and available, returned and extracted counts. |

Availability states include `absent`, `empty`, `declared_unpopulated`, `failed` and `populated`. They describe the response received, not the definitive absence of information at the source. Reviews can be excerpts and are not guaranteed complete. Photos, categories, ratings and other fields may differ between modes.

#### Example output

This is one complete record from a local Fast run. Its content reflects the source at collection time.

```json
{
  "muid": "11109678200854953916",
  "placeId": "I9A2D81764ADC3FBC",
  "name": "Barcode",
  "category": "Restaurant",
  "secondaryCategories": [
    "Dining",
    "Cafe"
  ],
  "address": "Via Liguria 34, 20068 Peschiera Borromeo MI, Italy",
  "structuredAddress": {
    "country": "Italy",
    "countryCode": "IT",
    "administrativeArea": "Lombardy",
    "subAdministrativeArea": "Milano",
    "locality": "Peschiera Borromeo",
    "postCode": "20068",
    "subLocality": "Bettola-Zeloforomagno",
    "thoroughfare": "Via Liguria",
    "subThoroughfare": "34",
    "fullThoroughfare": "Via Liguria 34",
    "areaOfInterest": [],
    "dependentLocality": [],
    "subPremise": [],
    "geoId": [],
    "_unknownFields": {}
  },
  "coordinates": {
    "latitude": 45.4304093,
    "longitude": 9.323439
  },
  "phone": "+390255301595",
  "website": null,
  "rating": null,
  "openingHours": null,
  "timezone": "Europe/Rome",
  "appleMapsUrl": "https://maps.apple.com/place?place-id=I9A2D81764ADC3FBC",
  "amenities": null,
  "reviews": null,
  "photos": null,
  "secondaryPhones": [
    "+390255301318"
  ],
  "fax": null,
  "businessLinks": null,
  "guides": null,
  "componentAvailability": {
    "amenities": {
      "state": "empty",
      "valuesAvailable": 0,
      "returnedValues": 0,
      "componentStatuses": [
        "STATUS_SUCCESS"
      ],
      "extractedItems": 0
    },
    "reviews": {
      "state": "empty",
      "valuesAvailable": 0,
      "returnedValues": 0,
      "componentStatuses": [
        "STATUS_SUCCESS"
      ],
      "extractedItems": 0
    },
    "photos": {
      "state": "empty",
      "valuesAvailable": 0,
      "returnedValues": 0,
      "componentStatuses": [
        "STATUS_SUCCESS"
      ],
      "extractedItems": 0
    },
    "businessLinks": {
      "state": "empty",
      "valuesAvailable": 0,
      "returnedValues": 0,
      "componentStatuses": [
        "STATUS_SUCCESS"
      ],
      "extractedItems": 0
    },
    "guides": {
      "state": "empty",
      "valuesAvailable": 0,
      "returnedValues": 0,
      "componentStatuses": [
        "STATUS_SUCCESS"
      ],
      "extractedItems": 0
    },
    "guideIds": {
      "state": "empty",
      "valuesAvailable": 0,
      "returnedValues": 0,
      "componentStatuses": [
        "STATUS_SUCCESS"
      ],
      "extractedItems": 0
    },
    "contacts": {
      "state": "populated",
      "valuesAvailable": 1,
      "returnedValues": 1,
      "componentStatuses": [
        "STATUS_SUCCESS"
      ],
      "extractedItems": 1
    }
  }
}
```

### Pricing

Pay only for delivered places and the Actor start event.
Fast and Deep use the same pricing.

| Tier | Price per 1,000 places |
|---|---:|
| Free | $0.75 |
| Bronze | $0.70 |
| Silver | $0.65 |
| Gold | $0.60 |
| Platinum | $0.60 |
| Diamond | $0.60 |

The start event costs $0.005 per started GiB of allocated memory.
At the default 512 MiB, one start event applies.

Duplicate and filtered-out candidates are not charged as delivered places.

### Limits and responsible use

The Actor uses unofficial Apple Maps web endpoints. They may change, return incomplete information, limit access or stop working. It does not require an Apple account or a proxy. Check the [applicable Apple terms](https://developer.apple.com/support/downloads/terms/apple-developer-program/Apple-Developer-Program-License-Agreement-English.pdf) and laws before use; do not bypass protections or access restrictions.

### FAQ

**Does a larger grid return every business?** No. Source limits, geographic density and ranking affect the result set.

**Are all reviews returned?** No. Only content made available in the response is returned.

**Is Fast the same as Deep?** No. The record structure is shared, but the source responses and available content can differ.

**Why did a filter return fewer results than my limit?** Filters run after candidates have been collected; missing data can also exclude a candidate.

**Can I use any Apple Maps link?** Direct lookups accept only the `maps.apple.com/place?place-id=…` format shown above.

# Actor input Schema

## `searchTerms` (type: `array`):

Enter one or more business types, such as restaurants or coffee shops. All terms use the same location.

## `location` (type: `object`):

For searches, enter coordinates, for example {"latitude":45.4671753,"longitude":9.1896644}, or a city and country, for example {"city":"Milano","country":"Italia","language":"it-IT"}. City names must match the returned locality.

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

Two-letter country code, such as IT or US. Also checked when resolving a city.

## `muids` (type: `array`):

Optional decimal Apple Maps MUIDs as strings, for example 7156220618368493886. Direct lookups always fetch details.

## `urls` (type: `array`):

Optional direct Apple Maps place-ID URLs, such as https://maps.apple.com/place?place-id=I635000BCB42E293E. Direct lookups always fetch details.

## `extractionMode` (type: `string`):

Deep fetches details for search results; Fast uses only the search response. Both modes fetch details for direct MUIDs and URLs. Data availability can differ.

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

Maximum unique candidates across all inputs before filters, from 1 to 10,000. Filters may return fewer.

## `gridRows` (type: `integer`):

Number of rows centered on the location. The grid does not guarantee complete coverage.

## `gridColumns` (type: `integer`):

Number of columns centered on the location. The grid may extend beyond city boundaries.

## `cellSpan` (type: `number`):

Width and height of each grid cell in degrees. Smaller cells do not guarantee more complete results.

## `filters` (type: `object`):

Optional JSON, for example {"hasPhone":true,"minRatingPercent":80}. Supported: hasPhone, hasWebsite, minRatingPercent, minRatingCount, requiredAmenityIds. Filters apply after the candidate limit.

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

Sort the selected candidates after filtering. Missing values appear last; ties keep their original order.

## Actor input object example

```json
{
  "searchTerms": [],
  "countryCode": "US",
  "muids": [],
  "urls": [],
  "extractionMode": "deep",
  "maxResults": 50,
  "gridRows": 1,
  "gridColumns": 1,
  "cellSpan": 0.1,
  "sortBy": "discovery"
}
```

# Actor output Schema

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

// Run the Actor and wait for it to finish
const run = await client.actor("apinator/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("apinator/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 apinator/apple-maps-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apinator/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/y7JU8QSK53on14zpT/builds/GCjFB7zjcWK8J21GV/openapi.json
