MapScale Docs
•••
API ReferenceGeocoding
MapScale API
GET/v1/place/{id}

Fetch a place by ID

Resolve a place selected from autocomplete or geocoding into its complete details.

LIVE API PLAYGROUND

Sign in or create an account

Continue to run live requests directly from the docs.

Sends this request to the live API and shows the real response.

Parameters

Equivalent request
curl \
  -H "X-MapScale-Key: $MAPSCALE_API_KEY" \
  "https://api.mapscale.io/v1/place/place_bangkok_123?lang=th"
Response
Default response
{
  "status": "200",
  "contentType": "application/json",
  "description": "Place details"
}

Responses

200Place detailsapplication/json
400Invalid requestapplication/json
401mapscale/effect-api/UnauthorizedFailureapplication/json
403mapscale/effect-api/ForbiddenFailureapplication/json
404Not foundapplication/json
429mapscale/effect-api/RateLimitedFailureapplication/json
500mapscale/effect-api/MiddlewareInternalFailureapplication/json
502Upstream geocoding engine failureapplication/json
503Upstream geocoding engine unavailable | mapscale/effect-api/UpstreamUnavailableFailureapplication/json

On this page