Meridian Atlas Places API

Google Places-compatible discovery contract backed by Meridian Atlas data.

Version1.0.0
Serverhttps://api.meridianatlas.dev · Planned production host; not live yet.
OpenAPI3.1.0

Authentication

Send your API key in the X-Atlas-Key header.

Endpoints

EndpointWhat it doesFeature
POST /v1/places:autocompleteAutocomplete places—
POST /v1/places:searchTextSearch text—
POST /v1/places:searchNearbySearch nearby—
GET /v1/places/{placeId}Get place—
GET /v1/places/{placeId}/photos/{photoId}/mediaGet place photo media—

Autocomplete places

POST /v1/places:autocomplete

Request body

application/json: AutocompleteRequest

Responses

StatusDescription
200Predictions
400Invalid request

200 response

application/json: AutocompleteResponse

Search text

POST /v1/places:searchText

Parameters

NameInTypeDescription
X-Atlas-Field-Mask requiredheaderstringComma-separated response fields. X-Goog-FieldMask is accepted as a migration alias.

Request body

application/json: TextSearchRequest

Responses

StatusDescription
200Places
400Invalid request

200 response

application/json: SearchResponse

Search nearby

POST /v1/places:searchNearby

Parameters

NameInTypeDescription
X-Atlas-Field-Mask requiredheaderstringComma-separated response fields. X-Goog-FieldMask is accepted as a migration alias.

Request body

application/json: NearbySearchRequest

Responses

StatusDescription
200Places
400Invalid request

200 response

application/json: SearchResponse

Get place

GET /v1/places/{placeId}

Parameters

NameInTypeDescription
placeId requiredpathstring
X-Atlas-Field-Mask requiredheaderstringComma-separated response fields. X-Goog-FieldMask is accepted as a migration alias.
languageCodequerystring
regionCodequerystringmatches ^[A-Za-z]{2}$
sessionTokenquerystring

Responses

StatusDescription
200Place
400Invalid request
404Resource not found

200 response

application/json: Place

Get place photo media

GET /v1/places/{placeId}/photos/{photoId}/media

Parameters

NameInTypeDescription
placeId requiredpathstring
photoId requiredpathstring
maxWidthPxqueryinteger1 to 4800
maxHeightPxqueryinteger1 to 4800
skipHttpRedirectqueryboolean

Responses

StatusDescription
200Photo bytes or media URI
404Resource not found

Schemas

LatLng

object

FieldTypeDescription
latitude requirednumber-90 to 90
longitude requirednumber-180 to 180

Circle

object

FieldTypeDescription
center requiredLatLng
radius requirednumberat most 50000 · more than 0

AutocompleteRequest

object

FieldTypeDescription
input requiredstring1 to 160 characters
sessionTokenstring16 to 256 characters
inputOffsetintegerat least 0
includedPrimaryTypesarray of string0 to 5 items
includedRegionCodesarray of string0 to 15 items
languageCodestring
regionCodestring
originLatLng
locationBiasSearchArea
locationRestrictionSearchArea
includePureServiceAreaBusinessesboolean
includeQueryPredictionsboolean

TextSearchRequest

object

FieldTypeDescription
textQuery requiredstring
includedTypestring
strictTypeFilteringboolean
locationBiasSearchArea
locationRestrictionSearchArea
pageSizeinteger1 to 20
pageTokenstring
languageCodestring
regionCodestring
openNowboolean
minRatingnumber0 to 5
priceLevelsarray of string

NearbySearchRequest

object

FieldTypeDescription
locationRestriction requiredobject
locationRestriction.circle requiredCircle
includedTypesarray of string0 to 50 items
excludedTypesarray of string0 to 50 items
includedPrimaryTypesarray of string0 to 50 items
excludedPrimaryTypesarray of string0 to 50 items
maxResultCountinteger1 to 20
rankPreference"POPULARITY" | "DISTANCE"
languageCodestring
regionCodestring

LocalizedText

object

FieldTypeDescription
text requiredstring
languageCodestring

Place

object

FieldTypeDescription
namestring
idstring
displayNameLocalizedText
formattedAddressstring
shortFormattedAddressstring
locationLatLng
typesarray of string
primaryTypestring
primaryTypeDisplayNameLocalizedText
businessStatusstring
nationalPhoneNumberstring
internationalPhoneNumberstring
websiteUristring (uri)
ratingnumber
userRatingCountinteger
regularOpeningHoursobject
currentOpeningHoursobject
priceLevelstring
priceRangeobject
photosarray of object
accessibilityOptionsobject
parkingOptionsobject
entrancesarray of object
navigationPointsarray of object

AutocompleteResponse

object

FieldTypeDescription
suggestions requiredarray of object
suggestions[].placePredictionobject
suggestions[].queryPredictionobject

SearchResponse

object

FieldTypeDescription
places requiredarray of Place
nextPageTokenstring

ErrorResponse

object

FieldTypeDescription
error requiredobject
error.code requiredinteger
error.status requiredstring
error.message requiredstring
error.detailsarray of object

Rectangle

object

FieldTypeDescription
low requiredLatLng
high requiredLatLng

SearchArea

one of object, object

Proposal · draft