---
title: "Apple Maps API: place search near a point as JSON"
description: "Apple Maps API for place search near a point, place details with phone, website, hours and ratings, and place reviews as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/apple-maps
---

[APIs](https://perceptlayer.com/apis) / [Search engines](https://perceptlayer.com/verticals/search) / Apple Maps

1 credit per call 3 endpoints 17 datapoints 

# Apple Maps API

Apple Maps API for place search near a point, place details with phone, website, hours and ratings, and place reviews as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Apple Maps

GET /v1/apple-maps/search?q=coffee&lat=37.7749&lon=-122.4194 

```
{
  "success": true,
  "data": {
    "query": "coffee",
    "location": {
      "latitude": 37.7749,
      "longitude": -122.4194
    },
    "locale": "en-US",
    "results": [
      {
        "id": "6435622567484707146",
        "place_id": "I594FECA0B369D14A",
        "name": "Sightglass Coffee",
        "category": "Coffee Roastery",
        "categories": [
          {
            "level": 99,
            "id": "coffee_roastery",
            "name": "Coffee Roastery"
          },
          {
            "level": 3,
            "id": "coffee_shop",
            "name": "Coffee Shop"
          },
          {
            "level": 2,
            "id": "cafe",
            "name": "Cafe"
          }
        ],
        "address": "270 7th St, San Francisco, CA 94103, United States",
        "short_address": "270 7th St, San Francisco",
        "coordinates": {
          "latitude": 37.776974,
          "longitude": -122.408529
        },
        "phone": "+1 (415) 463-1673",
        "phone_e164": "+14154631673",
        "alt_phones": [
          "+14158611313"
        ],
        "website": "https://sightglasscoffee.com/blogs/shops/soma-district",
        "ratings": [
          {
            "source": "Apple",
            "score": 90,
            "max_score": 100,
            "count": 70,
            "categories": [
              "…",
              "…",
              "…"
            ]
          }
        ],
        "hours": {
          "type": "normal",
          "weekly": [
            "…",
            "…"
          ]
        },
        "photo": {
          "url": "https://ir.4sqi.net/img/general/600x449/4236066_OJPdR0FKeJAQyC84_XTfrbMm119Jv2E1CGmvfsBlLpM.jpg",
          "width": 308,
          "height": 308,
          "category": "Food & Drink",
          "source": "Foursquare"
        },
        "guides": [
          {
            "id": "13100041759208417726",
            "title": "The San Francisco Coffee Guide",
            "description": "The Bay Area's legendary coffee scene needs no introduction. The city's coffee shops and espresso bars have played host to a thousand moments of inspiration and intrigue, and are a vital part of San Francisco's ever-changing culture.",
            "publisher": "Sprudge",
            "places_count": 11,
            "image": "https://is1-ssl.mzstatic.com/image/thumb/w4_6Zdp2JR_l-mz7c9J94w/1200x800.jpg"
          }
        ],
        "distance_km": 0.98
      },
      {
        "id": "3144876398935573864",
        "place_id": "I2BA4D86C2D108568",
        "name": "Hedge Coffee",
        "category": "Coffee Shop",
        "categories": [
          {
            "level": 99,
            "id": "coffee_shop",
            "name": "Coffee Shop"
          },
          {
            "level": 2,
            "id": "cafe",
            "name": "Cafe"
          },
          {
            "level": 1,
            "id": "dining",
            "name": "Dining"
          }
        ],
        "address": "434 Shotwell St, San Francisco, CA 94110, United States",
        "short_address": "434 Shotwell St, San Francisco",
        "coordinates": {
          "latitude": 37.7612939,
          "longitude": -122.4163314
        },
        "phone": "+1 (415) 603-9818",
        "phone_e164": "+14156039818",
        "website": "https://www.hedge.coffee",
        "ratings": [
          {
            "source": "Apple",
            "score": 95,
            "max_score": 100,
            "count": 40,
            "categories": [
              "…",
              "…",
              "…"
            ]
          }
        ],
        "hours": {
          "type": "normal",
          "weekly": [
            "…",
            "…"
          ]
        },
        "photo": {
          "url": "https://is1-ssl.mzstatic.com/image/thumb/9tXIELQsqs1xIqnJbS-UlA/1920x1080bb.jpg",
          "width": 1920,
          "height": 1080,
          "source": "The Infatuation"
        },
        "guides": [
          {
            "id": "17265780069111950200",
            "title": "Breakfast Spots in San Francisco",
            "description": "Popular places to start the day, based on what people view, share, and interact with most on Apple Maps. The list updates over time, so save any places you want to revisit.",
            "publisher": "Local Lists",
            "places_count": 20,
            "image": "https://is1-ssl.mzstatic.com/image/thumb/f1HEyXIU0-SoGZwpGGaEGA/1200x800bb.jpg"
          }
        ],
        "distance_km": 1.54
      },
      {
        "id": "9950858653192816002",
        "place_id": "I8A188D3921AE0582",
        "name": "Kopê House",
        "category": "Coffee Shop",
        "categories": [
          {
            "level": 99,
            "id": "coffee_shop",
            "name": "Coffee Shop"
          },
          {
            "level": 2,
            "id": "cafe",
            "name": "Cafe"
          },
          {
            "level": 1,
            "id": "dining",
            "name": "Dining"
          }
        ],
        "address": "546 Laguna St, San Francisco, CA 94102, United States",
        "short_address": "546 Laguna St, San Francisco",
        "coordinates": {
          "latitude": 37.7762362,
          "longitude": -122.4260736
        },
        "phone": "+1 (415) 359-3001",
        "phone_e164": "+14153593001",
        "website": "https://www.kopehouse.com",
        "ratings": [
          {
            "source": "Apple",
            "score": 100,
            "max_score": 100,
            "count": 16,
            "categories": [
              "…",
              "…",
              "…"
            ]
          }
        ],
        "hours": {
          "type": "normal",
          "weekly": [
            "…",
            "…"
          ]
        },
        "photo": {
          "url": "https://is1-ssl.mzstatic.com/image/thumb/0j4BnSAw3eaLPIGKUb6cUA/1920x1080bb.jpg",
          "width": 1920,
          "height": 1080,
          "source": "The Infatuation"
        },
        "distance_km": 0.61
      }
    ],
    "total_results": 25
  },
  "meta": {
    "endpoint_family": "search",
    "duration_ms": 1627,
    "request_id": "req_f76992837eac413e85e9b251c4abf665",
    "credits_charged": 1,
    "credits_remaining": 1790
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | id string | place\_id string | name string | category string | categories object\[\] | address string | short\_address string | coordinates object | phone string | phone\_e164 string | alt\_phones string\[\] | website url | ratings object\[\] | hours object | photo object | guides object\[\] | distance\_km number |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 6435622567484707146 | I594FECA0B369D14A | Sightglass Coffee | Coffee Roastery | \[3 items\] | 270 7th St, San Francisco, CA 94103, United States | 270 7th St, San Francisco | {2 fields} | +1 (415) 463-1673 | +14154631673 | \[1 item\] | https://sightglasscoffee.com/blogs/shops/soma-district | \[1 item\] | {2 fields} | {5 fields} | \[1 item\] | 0.98 |
| 2 | 3144876398935573864 | I2BA4D86C2D108568 | Hedge Coffee | Coffee Shop | \[3 items\] | 434 Shotwell St, San Francisco, CA 94110, United States | 434 Shotwell St, San Francisco | {2 fields} | +1 (415) 603-9818 | +14156039818 | — | https://www.hedge.coffee | \[1 item\] | {2 fields} | {4 fields} | \[1 item\] | 1.54 |
| 3 | 9950858653192816002 | I8A188D3921AE0582 | Kopê House | Coffee Shop | \[3 items\] | 546 Laguna St, San Francisco, CA 94102, United States | 546 Laguna St, San Francisco | {2 fields} | +1 (415) 359-3001 | +14153593001 | — | https://www.kopehouse.com | \[1 item\] | {2 fields} | {4 fields} | — | 0.61 |

Recorded from our API · 3 items shown · 17 datapoints per item GET /v1/apple-maps/search?q=coffee&lat=37.7749&lon=-122.4194

17 datapoints

### Identity

-   id string
-   place\_id string
-   name string
-   category string

### Contact

-   phone string
-   phone\_e164 string
-   alt\_phones string\[\]
-   website url

### Location

-   address string
-   short\_address string

### Reputation

-   ratings object\[\]
-   photo object

### Other

-   categories object\[\]
-   coordinates object
-   hours object
-   guides object\[\]
-   distance\_km number

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/apple-maps/search?q=coffee&lat=37.7749&lon=-122.4194" \
  -H "X-API-Key: $API_KEY"
```

Apple Maps · 3 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/apple-maps/place`](https://perceptlayer.com/apis/apple-maps/place) | none +4 optional | JSON | 1 credit |
| [GET `/v1/apple-maps/reviews`](https://perceptlayer.com/apis/apple-maps/reviews) | `muid` +2 optional | JSON | 1 credit |
| [GET `/v1/apple-maps/search`](https://perceptlayer.com/apis/apple-maps/search) | `q` `lat` `lon` +2 optional | `location` `locale` `results` | 1 credit |

Overview

## About the Apple Maps API

## What you can get

The Apple Maps API returns Apple Maps place data as JSON through 3 endpoints. Each takes a `locale` (en-US, en-GB, de-DE, fr-FR, es-ES, it-IT or ja-JP).

-   **Search:** `search` takes a `q`, `lat` and `lon`, with `radius_km`.
-   **Places:** `place` takes a `muid`, `place_id` or `auid`.
-   **Reviews:** `reviews` takes a `muid`, with `page`.

The recorded `search` for "coffee" at latitude 37.7749, longitude -122.4194 (San Francisco) returns `query`, `location`, `locale`, `total_results` and `results`, each with `id`, `place_id`, `name`, `category`, `categories`, `address`, `short_address`, `coordinates`, `phone`, `phone_e164`, `website`, `ratings` (source, score, max\_score and count), `hours`, `photo`, `guides` and `distance_km`.

## How a call works

Search near a point: `GET /v1/apple-maps/search?q=coffee&lat=37.7749&lon=-122.4194` with your key in the `X-API-Key` header. Each result carries a `place_id`, which `place` takes for the full record. Every successful call costs 1 credit; failed calls cost nothing.

Search engines JSON REST MCP

### More search engines APIs

[Baidu](https://perceptlayer.com/apis/baidu) [Bing](https://perceptlayer.com/apis/bing) [Brave Search](https://perceptlayer.com/apis/brave) [DuckDuckGo](https://perceptlayer.com/apis/duckduckgo) [Google Events](https://perceptlayer.com/apis/google-events) [Google Finance](https://perceptlayer.com/apis/google-finance) [Google Forums](https://perceptlayer.com/apis/google-forums) [Google Images](https://perceptlayer.com/apis/google-images) [Google Lens](https://perceptlayer.com/apis/google-lens) [Google Local](https://perceptlayer.com/apis/google-local) [Google Local Services](https://perceptlayer.com/apis/google-local-services) [Google Maps](https://perceptlayer.com/apis/google-maps)

Use cases

### Build lead lists of businesses by category around a location

`Use the Apple Maps API to build lead lists of businesses by category around a location` 

### Collect phone numbers, websites and opening hours for local places

`Use the Apple Maps API to collect phone numbers, websites and opening hours for local places` 

### Track a place's Apple rating score and rating count

`Use the Apple Maps API to track a place's Apple rating score and rating count` 

### Compare places by distance from a point with \`distance\_km\`

`` Use the Apple Maps API to compare places by distance from a point with `distance_km` `` 

FAQ

## Questions

**How much does the Apple Maps API cost?**

Each successful call costs one credit, for search, place details or reviews. New accounts get free credits to start, and credit packs bring the price down as you scale.

**Can I limit a search to a radius?**

Yes. Pass \`radius\_km\` with \`lat\` and \`lon\` to \`search\`.

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**Do I need an Apple account?**

No. You call this Apple Maps API with your Perceptlayer key in the \`X-API-Key\` header, with no Apple login.

**Is this the official Apple Maps API?**

No. Perceptlayer is an independent service and is not affiliated with Apple Maps. It returns Apple Maps data as JSON with a Perceptlayer key, so there is no Apple Maps developer account, app review or partner approval to get first. It only reads data: if Apple Maps has an official API and you need to act on your own Apple Maps account, such as posting, managing orders or reading private data, use that one.

**Should I build an Apple Maps scraper instead?**

You can, but an Apple Maps scraper is code you maintain: page changes break it, requests get blocked, and Apple Maps's terms govern how you collect data. The Apple Maps API gives you 3 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Apple Maps API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
