OneMap Reverse Geocode
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
3 stops to a working call
- 1Register a free account at onemap.gov.sg.
- 2POST email and password to https://www.onemap.gov.sg/api/auth/post/getToken to get a 3-day access_token.
- 3Send the token in the Authorization header.
Example 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
{"GeocodeInfo":[{"BUILDINGNAME":"...","BLOCK":"20","ROAD":"HOLLAND GROVE ROAD","POSTALCODE":"278790","LATITUDE":"1.3","LONGITUDE":"103.8"}]}OneMap Reverse Geocode: common questions
Is the OneMap Reverse Geocode free?
Yes. Singapore Land Authority (SLA) offers the OneMap Reverse Geocode free of charge.
Does the OneMap Reverse Geocode need an API key?
Yes. It uses Token. Register a free account at onemap.gov.sg. POST email and password to https://www.onemap.gov.sg/api/auth/post/getToken to get a 3-day access_token. Send the token in the Authorization header.
What is the OneMap Reverse Geocode endpoint?
The base URL is https://www.onemap.gov.sg/api/public/revgeocode. A working example: curl -H 'Authorization: YOUR_TOKEN' 'https://www.onemap.gov.sg/api/public/revgeocode?location=1.3,103.8&buffer=40&addressType=All'
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
On the same line
OneMap Routing
Singapore Land Authority (SLA)
Turn-by-turn routing within Singapore for drive, walk, cycle and public transport modes, including bus and train legs with fares for the pt mode. Free alternative to commercial routing for SG-only apps.
OneMap Search (Geocoding)
Singapore Land Authority (SLA)
Authoritative Singapore address and place search: postal codes, building names and roads to coordinates in both WGS84 and SVY21. The standard way to geocode SG addresses.