House part of the address standardization #
Service for parsing the house part of the address.
Method address #
POST /clean/house
Functionality #
Defines the house part in the source string.
Request parameters #
| Parametr | Description |
|---|---|
| query | String for parsing the address |
| countryCode | Country code in which the address is searched, in ISO 3166 format ( https://www.iso.org/iso-3166-country-codes.html) |
Sample request data #
{
"query": "108811, Москва г, км Киевское шоссе 22-й, двлд. 4, стр. 2, ЭТ 8 БЛОК Г ОФ 839",
"countryCode": "RU"
}
Response options #
| Parameter | Description |
|---|---|
| original | An incoming address string that participated in the standardization |
| postcodeIn | ZIP code found in the input string |
| houseDetails | House part of the address. See the description of the structure houseDetails |
Nested structures #
Description of the structure of housedetails
| Parameter | Description |
|---|---|
| full_name | house in one line |
| house | house |
| case | frame |
| build | structure |
| liter | letter |
| lend | possession |
| constr | construction |
| stead | plot |
| flat | apartment |
| office | office |
| room | room |
| kab | cabinet |
| place | premises |
| entr | entrance |
| floor | floor |
| block | block |
| pav | pavilion |
| sek | house section |
| abon | subscriber box |
| munit | military unit |
| codes | house codes |
Sample response data #
{
"original": "108811, Москва г, км Киевское шоссе 22-й, двлд. 4, стр. 2, ЭТ 8 БЛОК Г ОФ 839",
"postcodeIn": "108811",
"houseDetails": {
"fullName": "дом 4, строение 2, этаж 8, офис 839, блок г",
"house": "4",
"case": "",
"build": "2",
"liter": "",
"lend": "",
"constr": "",
"stead": "",
"flat": "",
"office": "839",
"room": "",
"kab": "",
"place": "",
"entr": "",
"floor": "8",
"block": "г",
"pav": "",
"sek": "",
"abon": "",
"munit": "",
"codes": null
}
}