MapScale Docs
API ReferenceGeocoding
← MapScale API
GET/v1/admin-areas/reverse

Reverse lookup Thai administrative areas

Find the province, district and subdistrict that contain a longitude/latitude point.

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/admin-areas/reverse?point=100.5018%2C13.7563&lang=th"
Response
Default response
{
  "status": "200",
  "contentType": "application/json",
  "description": "Admin area containing the point"
}

Responses

200Admin area containing the pointapplication/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

Analytics settings