Meridian Atlas Places API
Google Places-compatible discovery contract backed by Meridian Atlas data.
| Version | 1.0.0 |
| Server | https://api.meridianatlas.dev · Planned production host; not live yet. |
| OpenAPI | 3.1.0 |
Authentication
Send your API key in the X-Atlas-Key header.
Endpoints
| Endpoint | What it does | Feature |
|---|---|---|
POST /v1/places:autocomplete | Autocomplete places | — |
POST /v1/places:searchText | Search text | — |
POST /v1/places:searchNearby | Search nearby | — |
GET /v1/places/{placeId} | Get place | — |
GET /v1/places/{placeId}/photos/{photoId}/media | Get place photo media | — |
Autocomplete places
POST /v1/places:autocomplete
Request body
application/json: AutocompleteRequest
Responses
| Status | Description |
|---|---|
200 | Predictions |
400 | Invalid request |
200 response
application/json: AutocompleteResponse
Search text
POST /v1/places:searchText
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-Atlas-Field-Mask required | header | string | Comma-separated response fields. X-Goog-FieldMask is accepted as a migration alias. |
Request body
application/json: TextSearchRequest
Responses
| Status | Description |
|---|---|
200 | Places |
400 | Invalid request |
200 response
application/json: SearchResponse
Search nearby
POST /v1/places:searchNearby
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-Atlas-Field-Mask required | header | string | Comma-separated response fields. X-Goog-FieldMask is accepted as a migration alias. |
Request body
application/json: NearbySearchRequest
Responses
| Status | Description |
|---|---|
200 | Places |
400 | Invalid request |
200 response
application/json: SearchResponse
Get place
GET /v1/places/{placeId}
Parameters
| Name | In | Type | Description |
|---|---|---|---|
placeId required | path | string | |
X-Atlas-Field-Mask required | header | string | Comma-separated response fields. X-Goog-FieldMask is accepted as a migration alias. |
languageCode | query | string | |
regionCode | query | string | matches ^[A-Za-z]{2}$ |
sessionToken | query | string |
Responses
| Status | Description |
|---|---|
200 | Place |
400 | Invalid request |
404 | Resource not found |
200 response
application/json: Place
Get place photo media
GET /v1/places/{placeId}/photos/{photoId}/media
Parameters
| Name | In | Type | Description |
|---|---|---|---|
placeId required | path | string | |
photoId required | path | string | |
maxWidthPx | query | integer | 1 to 4800 |
maxHeightPx | query | integer | 1 to 4800 |
skipHttpRedirect | query | boolean |
Responses
| Status | Description |
|---|---|
200 | Photo bytes or media URI |
404 | Resource not found |
Schemas
LatLng
object
| Field | Type | Description |
|---|---|---|
latitude required | number | -90 to 90 |
longitude required | number | -180 to 180 |
Circle
object
| Field | Type | Description |
|---|---|---|
center required | LatLng | |
radius required | number | at most 50000 · more than 0 |
AutocompleteRequest
object
| Field | Type | Description |
|---|---|---|
input required | string | 1 to 160 characters |
sessionToken | string | 16 to 256 characters |
inputOffset | integer | at least 0 |
includedPrimaryTypes | array of string | 0 to 5 items |
includedRegionCodes | array of string | 0 to 15 items |
languageCode | string | |
regionCode | string | |
origin | LatLng | |
locationBias | SearchArea | |
locationRestriction | SearchArea | |
includePureServiceAreaBusinesses | boolean | |
includeQueryPredictions | boolean |
TextSearchRequest
object
| Field | Type | Description |
|---|---|---|
textQuery required | string | |
includedType | string | |
strictTypeFiltering | boolean | |
locationBias | SearchArea | |
locationRestriction | SearchArea | |
pageSize | integer | 1 to 20 |
pageToken | string | |
languageCode | string | |
regionCode | string | |
openNow | boolean | |
minRating | number | 0 to 5 |
priceLevels | array of string |
NearbySearchRequest
object
| Field | Type | Description |
|---|---|---|
locationRestriction required | object | |
locationRestriction.circle required | Circle | |
includedTypes | array of string | 0 to 50 items |
excludedTypes | array of string | 0 to 50 items |
includedPrimaryTypes | array of string | 0 to 50 items |
excludedPrimaryTypes | array of string | 0 to 50 items |
maxResultCount | integer | 1 to 20 |
rankPreference | "POPULARITY" | "DISTANCE" | |
languageCode | string | |
regionCode | string |
LocalizedText
object
| Field | Type | Description |
|---|---|---|
text required | string | |
languageCode | string |
Place
object
| Field | Type | Description |
|---|---|---|
name | string | |
id | string | |
displayName | LocalizedText | |
formattedAddress | string | |
shortFormattedAddress | string | |
location | LatLng | |
types | array of string | |
primaryType | string | |
primaryTypeDisplayName | LocalizedText | |
businessStatus | string | |
nationalPhoneNumber | string | |
internationalPhoneNumber | string | |
websiteUri | string (uri) | |
rating | number | |
userRatingCount | integer | |
regularOpeningHours | object | |
currentOpeningHours | object | |
priceLevel | string | |
priceRange | object | |
photos | array of object | |
accessibilityOptions | object | |
parkingOptions | object | |
entrances | array of object | |
navigationPoints | array of object |
AutocompleteResponse
object
| Field | Type | Description |
|---|---|---|
suggestions required | array of object | |
suggestions[].placePrediction | object | |
suggestions[].queryPrediction | object |
SearchResponse
object
| Field | Type | Description |
|---|---|---|
places required | array of Place | |
nextPageToken | string |
ErrorResponse
object
| Field | Type | Description |
|---|---|---|
error required | object | |
error.code required | integer | |
error.status required | string | |
error.message required | string | |
error.details | array of object |
Rectangle
object
SearchArea
one of object, object