How to obtain district of the city to coordinate through the API?

For example, the city of Ufa is the Soviet district, and it is through search, and the polygon is highlighted.

We have, for example, coordinates of a point in this area: [54.73554432816171, 55.98554909014894].

Call these methods geocode (res_geo.getAddressLine(), res_geo.getLocalities(), res_geo.getThoroughfare(), res_geo.getPremise(), res_geo.getAdministrativeAreas()) will give the following values, respectively:

Russia, Republic of Bashkortostan, Ufa, ulitsa 8 Marta, 32/1 [Ufa] street March 8, undefined (2) ["Republic of Bashkortostan", "Ufa urban Okrug"]

In this area of the city and of the methods according to the IPA, left to get it. Sometimes it shows the neighborhood, but that's not what I need. Version of API 2.1.

PS, came across links to dimik.

1 - without specifying, specifies the area 2 with clarification, not defines. (but there are other coordinates, 1 if it is a circle, a road without a specific address)

I tried without specifying, specifying locality - there is no district. Clarifying district - displays the district.

In .properties.get('metaDataProperty') .getAll() is also not the Soviet district
March 19th 20 at 08:35
2 answers
March 19th 20 at 08:37

Geocoder Yandex Maps just the same, gives the desired data for the query parameter kind=district

house — house;
street — street;
metro — subway station;
district is a district of the city;
locality — locality (city/village/village/village/...).
Yeah, I already figured out it is the geocoder API returns, but most don't. But the geocoder onerous conditions that do not podhodyat. Stopped at LocationIQ - tianna_Ko commented on March 19th 20 at 08:40
@tianna_Ko, I have already once said, I saw that issue a fortnight)) - Frankie_Ruecker50 commented on March 19th 20 at 08:43
March 19th 20 at 08:39
Thanks, that was nice, but it's a third party service. I still use which is the same OSM uses. But I want all the same Yandex, because why get another token, another restriction on the queries, the extra Ajax that extra domain in someone else's API. - tianna_Ko commented on March 19th 20 at 08:42

Find more questions by tags GeolocationYandex.MapsAPI