Place detail

GET/places/:placeId

Returns an object for the given placeId in the shape used to store a user's location. The Japanese rendering is included under languages.ja.

AuthLogin required

Path parameters

placeIdstringrequired

The placeId returned by autocomplete.

Query parameters

languagestring

Display language (ja | en, default ja).

Response

FieldTypeDescription
locationobjectObject with placeId / displayText / name / country / state / city / geo. Can be passed as-is to PUT /users/me location or to profileAnswers.location on registration.
Request
curl https://api.4s.link/places/PLACE_ID \
-H "Authorization: Bearer 4s_at_..."
Example response
{
"location": {
"placeId": "ChIJ...",
"displayText": "Minato City, Tokyo, Japan",
"name": "Minato City",
"country": "Japan",
"countryCode": "JP",
"state": "Tokyo",
"city": "Minato City",
"geo": { "lat": 35.6581, "lng": 139.7514 }
}
}