OneMap Reverse Geocode

Government

by Singapore Land Authority (SLA)

Convert WGS84 or SVY21 coordinates into the nearest Singapore buildings, block numbers, road names and postal codes within a chosen buffer. Companion endpoints expose themes and planning-area population queries.

How to authenticate

  1. 1Register a free account at onemap.gov.sg.
  2. 2POST email and password to https://www.onemap.gov.sg/api/auth/post/getToken to get a 3-day access_token.
  3. 3Send the token in the Authorization header.

Example request

Request
curl -H 'Authorization: YOUR_TOKEN' 'https://www.onemap.gov.sg/api/public/revgeocode?location=1.3,103.8&buffer=40&addressType=All'

Example response

Response (truncated)
{"GeocodeInfo":[{"BUILDINGNAME":"...","BLOCK":"20","ROAD":"HOLLAND GROVE ROAD","POSTALCODE":"278790","LATITUDE":"1.3","LONGITUDE":"103.8"}]}

Notes for AI agents

buffer max is 500m. Use revgeocodexy for SVY21 input. Same token works across all OneMap APIs.

Machine-readable version: /api/apis/onemap-reverse-geocode

Related APIs