REST APIs
The JSON APIs behind the map, on the same host. The typed clients of the web component package call them for you; use them directly from a browser app.
Endpoints
| Request | Answer | Client call |
|---|---|---|
GET /geocode?q=<address>®ion=<cc> | One position for an address or place name, with name, category and address. | geocode |
GET /geocode/search?q=<text>®ion=<cc> | Up to 10 places matching a text. | search |
GET /route?points=<lat,lng|lat,lng|…>&mode=driving&avoid=tolls | Distance, duration and the route line through 2 to 22 points; driving or walking. | directions |
GET /isoline?origin=<lat,lng>&mode=&minutes=10,20,30 | Areas reachable within up to three time bands. | isolines |
Who may call them
- Browser calls from Siemens apps on
https://*.siemens.zoneand fromlocalhostare answered (CORS). The embed on siemens.com pages calls them from inside its own frame. - Errors are JSON with an
errorcode and the HTTP status; “nothing found” is a 404. A 503 means the lookup is busy: the map keeps working, retry later. - Results are cached, so the same request answers fast the second time. Only the request text and coordinates reach the location provider, never visitor data.
Map images: Static Maps API. For agents: MCP tools.