---
title: "Get Apple Maps search suggestions for a partial query"
method: GET
path: "/apple-maps/autocomplete"
tags: ["Apple Maps"]
---

# Get Apple Maps search suggestions for a partial query

`GET /apple-maps/autocomplete`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/apple-maps/autocomplete`
- Auth: API key in header `x-api-key`

Returns Apple Maps typeahead suggestions for a partial query near a coordinate: query completions, matching businesses (resolved to the same place summary the search endpoint returns, with the place ID the place endpoint takes), and addresses.

## Query parameters

- `query` string, required
- `latitude` number, required
- `longitude` number, required
- `span` number
- `lang` string
- `country` string

## Headers

- `x-api-key` string, required

## Response `200`

OK

- ApplemapsAutocompleteResponseDoc
  - `code` integer: Code is the HTTP status code or a custom code used to indicate the result of the request @example 200
  - `data` ApplemapsAutocompleteResponse
    - `query` string
    - `suggestions` ApplemapsSuggestion[]
      - `detail` string
      - `id` string
      - `latitude` number
      - `longitude` number
      - `place` ApplemapsPlace
        - `address` string
        - `address_info` ApplemapsAddress
          - `city` string
          - `country` string
          - `country_code` string
          - `county` string
          - `neighborhood` string
          - `postal_code` string
          - `state` string
          - `state_code` string
          - `street` string
        - `alt_phones` string[]
        - `categories` ApplemapsCategory[]
          - `id` string
          - `level` integer
          - `name` string
        - `category` string
        - `hours` ApplemapsDayHours[]
          - `close` string
          - `day` string
          - `open` string
        - `hours_type` string
        - `id` string
        - `latitude` number
        - `longitude` number
        - `name` string
        - `phone` string
        - `photo_url` string
        - `place_id` string
        - `price_level` integer
        - `price_max` integer
        - `price_symbol` string
        - `rating` number
        - `rating_count` integer
        - `rating_max` integer
        - `type` string
        - `url` string
        - `website` string
      - `place_id` string
      - `query` string
      - `text` string
      - `type` string
  - `msg` unknown

## Other responses

- `400`: Bad Request
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
