API · Apple Maps
GET /applemaps/search
Search Apple Maps places and addresses, near a point or in a box.
| Request | GET /v1/applemaps/search |
| Operation id | applemaps.search.all |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Search Apple Maps places and addresses, near a point or in a box.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | What to look for. Example: coffee. |
bbox | string | no | west,south,east,north. Example: -74.02,40.70,-73.93,40.80. |
lat | string | no | Latitude to search near. Example: 37.7749. |
lng | string | no | Longitude to search near. Example: -122.4194. |
strict_bbox | "true" | "false" | no | Only results inside bbox. One of true, false. |
language | string | no | Language for names and addresses (default en-US). Example: fr-FR. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Matching places. | AppleMapsSearchResponse |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No Apple Maps place by that id. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Apple Maps is temporarily unavailable. Retryable; nothing was charged. | Error |
AppleMapsSearchResponse fields
| Field | Type | Description |
|---|---|---|
displayMapRegion | AppleMapsRegion | |
results | AppleMapsPlace[] |
Errors use one shape everywhere; see Errors for every code and what to do.