Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ПараметрОбязательный?Описание
queryдаКод КЛАДР или ФИАС, по которому нужно получить подсказку
language
нетАдреса латиницей в результатах поиска 20.3+

Ответ

Возвращает объект адреса, который соответствует искомому коду:

...

Expand
titleОтвет
Code Block
languagehtml/xml
<SuggestResponse>
    <suggestions>
        <value>г Москва, ул Трехгорный Вал</value>
        <unrestricted_value>г Москва, Пресненский р-н, ул Трехгорный Вал</unrestricted_value>
        <data>
            <postal_code>123022</postal_code>
            <country>Россия</country>
            <region_fias_id>0c5b2444-70a0-4932-980c-b4dc0d3f02b5</region_fias_id>
            <region_kladr_id>7700000000000</region_kladr_id>
            <region_with_type>г Москва</region_with_type>
            <region_type>г</region_type>
            <region_type_full>город</region_type_full>
            <region>Москва</region>
            <area_fias_id/>
            <area_kladr_id/>
            <area_with_type/>
            <area_type/>
            <area_type_full/>
            <area/>
            <city_fias_id>0c5b2444-70a0-4932-980c-b4dc0d3f02b5</city_fias_id>
            <city_kladr_id>7700000000000</city_kladr_id>
            <city_with_type>г Москва</city_with_type>
            <city_type>г</city_type>
            <city_type_full>город</city_type_full>
            <city>Москва</city>
            <city_area>Центральный</city_area>
            <city_district_fias_id/>
            <city_district_kladr_id/>
            <city_district_with_type>Пресненский р-н</city_district_with_type>
            <city_district_type>р-н</city_district_type>
            <city_district_type_full>район</city_district_type_full>
            <city_district>Пресненский</city_district>
            <settlement_fias_id/>
            <settlement_kladr_id/>
            <settlement_with_type/>
            <settlement_type/>
            <settlement_type_full/>
            <settlement/>
            <street_fias_id>5f96fd6b-b3de-451f-b280-8fedf859e683</street_fias_id>
            <street_kladr_id>77000000000292300</street_kladr_id>
            <street_with_type>ул Трехгорный Вал</street_with_type>
            <street_type>ул</street_type>
            <street_type_full>улица</street_type_full>
            <street>Трехгорный Вал</street>
            <house_fias_id/>
            <house_kladr_id/>
            <house_type/>
            <house_type_full/>
            <house/>
            <block_type/>
            <block_type_full/>
            <block/>
            <flat_type/>
            <flat_type_full/>
            <flat/>
            <flat_area/>
            <square_meter_price/>
            <flat_price/>
            <postal_box/>
            <fias_id>5f96fd6b-b3de-451f-b280-8fedf859e683</fias_id>
            <fias_level>7</fias_level>
            <kladr_id>77000000000292300</kladr_id>
            <capital_marker>0</capital_marker>
            <okato>45286575000</okato>
            <oktmo>45380000</oktmo>
            <tax_office>7703</tax_office>
            <tax_office_legal/>
            <timezone/>
            <geo_lat>55.760395</geo_lat>
            <geo_lon>37.5609378</geo_lon>
            <beltway_hit/>
            <beltway_distance/>
            <qc_geo>2</qc_geo>
            <qc_complete/>
            <qc_house/>
            <unparsed_parts/>
            <qc/>
        </data>
    </suggestions>
</SuggestResponse>

Запрос

Code Block
languagejavascript
{
	"query":"6026dd78-0d6c-4c13-b3f4-4ea131eb17eb", 
	"language":"en"
}
Expand
titleОтвет
Code Block
languagejs
 {
    "suggestions": [
        {
            "value": "Russia, Moscow city, prospekt Leninskii, dom 23",
            "unrestricted_value": "119071, Russia, Moscow city, prospekt Leninskii, dom 23",
            "data": {
                "postal_code": "119071",
                "country": "Russia",
                "country_iso_code": "RU",
                "federal_district": null,
                "region_fias_id": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5",
                "region_kladr_id": "7700000000000",
                "region_iso_code": "RU-MOW",
                "region_with_type": "Moscow city",
                "region_type": "city",
                "region_type_full": "city",
                "region": "Moscow",
                "area_fias_id": null,
                "area_kladr_id": null,
                "area_with_type": null,
                "area_type": null,
                "area_type_full": null,
                "area": null,
                "city_fias_id": "0c5b2444-70a0-4932-980c-b4dc0d3f02b5",
                "city_kladr_id": "7700000000000",
                "city_with_type": "Moscow city",
                "city_type": "city",
                "city_type_full": "city",
                "city": "Moscow",
                "city_area": null,
                "city_district_fias_id": null,
                "city_district_kladr_id": null,
                "city_district_with_type": null,
                "city_district_type": null,
                "city_district_type_full": null,
                "city_district": null,
                "settlement_fias_id": null,
                "settlement_kladr_id": null,
                "settlement_with_type": null,
                "settlement_type": null,
                "settlement_type_full": null,
                "settlement": null,
                "street_fias_id": "5f2a1243-a57b-418e-baee-ff76f4993b45",
                "street_kladr_id": "77000000000168900",
                "street_with_type": "prospekt Leninskii",
                "street_type": "prospekt",
                "street_type_full": "prospekt",
                "street": "Leninskiy",
                "house_fias_id": "6026dd78-0d6c-4c13-b3f4-4ea131eb17eb",
                "house_kladr_id": "7700000000016890023",
                "house_type": "dom",
                "house_type_full": "dom",
                "house": "23",
                "block_type": null,
                "block_type_full": null,
                "block": null,
                "flat_type": null,
                "flat_type_full": null,
                "flat": null,
                "flat_area": null,
                "square_meter_price": null,
                "flat_price": null,
                "postal_box": null,
                "fias_id": "6026dd78-0d6c-4c13-b3f4-4ea131eb17eb",
                "fias_code": "77000000000000016890023",
                "fias_level": "8",
                "fias_actuality_state": "0",
                "kladr_id": "7700000000016890023",
                "geoname_id": null,
                "capital_marker": "0",
                "okato": "45296561000",
                "oktmo": "45915000",
                "tax_office": "7725",
                "tax_office_legal": "7725",
                "timezone": null,
                "geo_lat": null,
                "geo_lon": null,
                "beltway_hit": null,
                "beltway_distance": null,
                "metro": null,
                "qc_geo": null,
                "qc_complete": null,
                "qc_house": null,
                "history_values": null,
                "unparsed_parts": null,
                "source": null,
                "qc": null
            }
        }
    ]
}