For Agents
Search Singapore addresses, geocode and reverse-geocode coordinates, calculate routes, and pull government-themed map datasets via the official OneMap API.
Use for: Search for an address in Singapore by partial name, I want to reverse-geocode these WGS84 coordinates in Singapore, Convert these SVY21 coordinates to WGS84, Calculate a driving route between two Singapore locations
Not supported: Does not handle global geocoding, traffic-aware navigation, or non-Singapore datasets — use for Singapore address search, geocoding, routing, and government themes only.
OneMap is the authoritative national map of Singapore, providing geocoding, reverse geocoding, routing, coordinate system conversion, and access to government themed datasets. The API authenticates via a token endpoint and exposes address search across the Singapore land registry, reverse geocoding in both WGS84 and SVY21 coordinates, and bidirectional conversion between WGS84, SVY21, and EPSG:3857. Theme endpoints return categorised points of interest such as schools, parks, and transport facilities.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the OneMap Singapore API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with OneMap Singapore API.
Search Singapore addresses and return coordinates with postal codes
Reverse-geocode coordinates in either WGS84 or SVY21 to nearby addresses
Convert coordinates between WGS84, SVY21, and EPSG:3857 projections
Calculate routes between two Singapore points using the routing service
List all government-published map themes available on OneMap
Retrieve points of interest within a theme such as schools or parks
Patterns agents use OneMap Singapore API for, with concrete tasks.
★ Singapore Address Autocomplete
Power Singapore-specific address search inside delivery, ride-hailing, or government service apps using the official OneMap address index. GET /api/common/elastic/search returns candidate addresses with WGS84 coordinates and postal codes that align with Singapore Land Authority records.
Search 'Marina Bay Sands' on /api/common/elastic/search and return the matching address with its postal code and coordinates.
Coordinate System Conversion for GIS Workflows
Translate field measurements between SVY21 (the Singapore national grid) and WGS84 or EPSG:3857 for web map display. The conversion endpoints under /api/common/convert handle each direction, removing the need for a local proj library when integrating with Singapore datasets.
Convert SVY21 coordinates 30000, 30000 to WGS84 using GET /api/common/convert/3414to4326.
Routing for Singapore Logistics
Plan vehicle, walking, or cycling routes within Singapore using the official routing service. GET /api/public/routingsvc/route accepts start and end coordinates plus a route type and returns a structured itinerary suited to Singapore's road and pedestrian network.
Calculate a driving route from 1.3521,103.8198 to 1.2936,103.8520 via /api/public/routingsvc/route and return the geometry and duration.
Agent Geocoding via Jentic
Logistics and civic agents resolve Singapore addresses or look up government themes through Jentic without managing the OneMap token directly. The agent searches for the geocoding intent, loads the schema, and executes the call with the access token Jentic injects from its vault.
Use Jentic search 'search singapore address' to locate /api/common/elastic/search, load its schema, and execute the lookup for a delivery address.
11 endpoints — onemap is the authoritative national map of singapore, providing geocoding, reverse geocoding, routing, coordinate system conversion, and access to government themed datasets.
METHOD
PATH
DESCRIPTION
/api/auth/post/getToken
Get an authentication token
/api/common/elastic/search
Search Singapore addresses
/api/public/revgeocode
Reverse-geocode WGS84 coordinates
/api/public/revgeocodexy
Reverse-geocode SVY21 coordinates
/api/public/routingsvc/route
Calculate a route between two points
/api/public/themesvc/getAllThemesInfo
List all available themes
/api/public/themesvc/retrieveTheme
Retrieve theme data
/api/auth/post/getToken
Get an authentication token
/api/common/elastic/search
Search Singapore addresses
/api/public/revgeocode
Reverse-geocode WGS84 coordinates
/api/public/revgeocodexy
Reverse-geocode SVY21 coordinates
/api/public/routingsvc/route
Calculate a route between two points
/api/public/themesvc/getAllThemesInfo
List all available themes
/api/public/themesvc/retrieveTheme
Retrieve theme data
Three things that make agents converge on Jentic-routed access.
Credential isolation
OneMap login credentials and bearer tokens are stored encrypted in the Jentic vault (MAXsystem). Agents only receive a scoped reference, so login email and password never appear in the agent context.
Intent-based discovery
Agents search by intent (e.g. 'reverse geocode singapore coordinates') and Jentic returns the matching OneMap operation with its input schema, so the agent can call the right endpoint without browsing the docs site.
Time to first call
Direct integration: 1-2 days for token refresh, coordinate handling, and theme parsing. Through Jentic: under 1 hour — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
OneMap Singapore (alternate)
An alternate OneMap spec entry covering the same Singapore endpoints.
Use when a different routing or theme entry point is preferred from the same provider.
Stripe API
Pair OneMap address validation with Stripe to confirm Singapore billing addresses at checkout.
Use Stripe alongside OneMap when the product needs both address verification and payment processing in Singapore.
Specific to using OneMap Singapore API through Jentic.
What authentication does the OneMap Singapore API use?
The API uses HTTP bearer tokens. Mint a token via POST /api/auth/post/getToken with email and password, then send it on subsequent calls. Jentic stores the credentials encrypted and exposes only a scoped reference to the agent.
Can I search Singapore addresses with the OneMap API?
Yes. GET /api/common/elastic/search returns matching addresses, postal codes, and coordinates from the Singapore Land Authority dataset, suitable for autocomplete and validation flows.
Does the OneMap API convert between SVY21 and WGS84?
Yes. The /api/common/convert endpoints provide bidirectional conversion between WGS84, SVY21, and EPSG:3857 so callers do not need a local projection library.
What route types are supported by OneMap routing?
GET /api/public/routingsvc/route accepts a route type parameter for driving, walking, cycling, and public transport options across Singapore's network. Inspect the OneMap docs for the current parameter list.
What are the rate limits for the OneMap Singapore API?
Rate limits are not declared in this OpenAPI spec. Consult onemap.gov.sg/docs for current public and authenticated tier limits before scaling traffic.
How do I geocode a Singapore address through Jentic?
Run pip install jentic, search 'search singapore address', then load the /api/common/elastic/search schema and execute. Jentic injects the bearer token from its vault and returns the JSON response for downstream use.
GET STARTED