NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

When using Nonimatim browser I can get this kind of view to a city, where also all the subregions to which a city is a parent of are listed (+many other interesting details):

I'd like to be able to get this same list through Nominatim API, but am unable to figure out how to do that. All API calls return just a very few details - so is this something that is not available through API? If this is so, is there some other way to get this data?

asked 25 Jan '13, 14:04

Lari's gravatar image

accept rate: 0%

Seems like there is no API call for this specific output, maybe because it was (initially) intended for debugging.

(28 Jan '13, 09:28) scai ♦

I don't know whether Nominatim has an API call for this.

But to get the data, you can use [[name=Helsinki];>;is_in;area._[admin_level];out; ]1 The returned XML contains all the administrative units that have a node inside Helsinki, including both suburbs and provinces, Finland and even the EU entry.

permanent link

answered 27 Jan '13, 14:33

Roland%20Olbricht's gravatar image

Roland Olbricht
accept rate: 36%

edited 27 Jan '13, 21:28

aseerel4c26's gravatar image

aseerel4c26 ♦


Thanks, but the list received through this url is not the same as what I get through the Nominatim url above. What I need is a hierarchical list or a tree through which I could build a structure which starts at the city level, and goes down to different city districts and to their sub-districts. Is there a way to get this?

(27 Jan '13, 21:47) Lari

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 25 Jan '13, 14:04

question was seen: 4,487 times

last updated: 28 Jan '13, 09:28

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum