3 Lookup details about a single place by id. The default output is HTML for debugging search logic and results.
5 **The details page (including JSON output) exists for debugging only and must not be downloaded automatically**, see [Nominatim Usage Policy](https://operations.osmfoundation.org/policies/nominatim/).
10 The details API supports the following two request formats:
13 https://nominatim.openstreetmap.org/details?osmtype=[N|W|R]&osmid=<value>
16 Both parameters are required, the type is one of node(N), way(W) or relation(R).
21 https://nominatim.openstreetmap.org/details?placeid=<value>
24 Placeids are assigned sequentially during Nominatim data import. The id for a place is different between Nominatim installation (servers) and changes when data gets reimported. Therefore it can't be used as permanent id and shouldn't be used in bug reports.
27 Additional optional parameters are explained below.
31 * `format=[html|json]`
33 See [Place Output Formats](Output.md) for details on each format. (Default: html)
35 * `json_callback=<string>`
37 Wrap json output in a callback function (JSONP) i.e. `<string>(<json>)`.
38 Only has an effect for JSON output formats.
42 For JSON output will add indentation to make it more human-readable. (Default: 0)
47 * `addressdetails=[0|1]`
49 Include a breakdown of the address into elements. (Default for JSON: 0, for HTML: 1)
53 Include a list of name keywords and address keywords (word ids). (Default: 0)
55 * `linkedplaces=[0|1]`
57 Include details of places higher in the address hierarchy. E.g. for a street this is usually the city, state, postal code, country. (Default: 1)
61 Include details of places lower in the address hierarchy. E.g. for a city this usually a list of streets, suburbs, rivers. (Default for JSON: 0, for HTML: 1)
63 * `group_hierarchy=[0|1]`
65 For JSON output will group the places by type. (Default: 0)
67 * `polygon_geojson=[0|1]`
69 Include geometry of result. (Default for JSON: 0, for HTML: 1)
71 ### Language of results
73 * `accept-language=<browser language string>`
75 Preferred language order for showing result, overrides the value
76 specified in the "Accept-Language" HTTP header.
77 Either use a standard RFC2616 accept-language string or a simple
78 comma-separated list of language codes.
85 [https://nominatim.openstreetmap.org/details.php?osmtype=W&osmid=38210407](https://nominatim.openstreetmap.org/details.php?osmtype=W&osmid=38210407)
89 [https://nominatim.openstreetmap.org/details.php?osmtype=W&osmid=38210407&format=json](https://nominatim.openstreetmap.org/details.php?osmtype=W&osmid=38210407&format=json)
95 "parent_place_id": 72765313,
101 "localname": "Pariser Platz",
103 "name": "Pariser Platz",
104 "name:be": "Парыжская плошча",
105 "name:de": "Pariser Platz",
106 "name:es": "Plaza de París",
107 "name:he": "פאריזר פלאץ",
109 "name:la": "Forum Parisinum",
110 "name:ru": "Парижская площадь",
111 "name:uk": "Паризька площа",
118 "calculated_postcode": "10117",
119 "country_code": "de",
120 "indexed_date": "2018-08-18T17:02:45+00:00",
121 "importance": 0.339401620591472,
122 "calculated_importance": 0.339401620591472,
124 "wikidata": "Q156716",
125 "wikipedia": "de:Pariser Platz"
127 "calculated_wikipedia": "de:Pariser_Platz",