Avito Property API

Парсер объявлений по Недвижимости на Авито

JSON Documentation

https://json.smappi.org/adw0rd/avito-property/search?cityName=<string>&objectType=<string>&dealType=<string>&roomNumber=<number>&priceMin=<string>&priceMax=<string>&metro=<array>&page=<number>

Поиск объявлений по недвижимости

http://localhost:8001/search?cityName=moskva&objectType=kvartiry&dealType=prodam&roomNumber=1&priceMin=0&priceMax=15000000&metro=[94, 97, 101, 127, 135, 151, 2177]&page
http://localhost:8001/search?cityName=moskva&objectType=kvartiry&dealType=prodam&roomNumber=2&priceMin=0&priceMax=1500&metro&page
search('moskva', 'kvartiry', 'prodam', 1, 0, 15000000, [])
  // => ['/moskva/kvartiry/1-k_kvartira_...', ...]

Method: get

https://json.smappi.org/adw0rd/avito-property/get?uri=<string>&withPhotoContent=<unknown>

Вывод информации конкретного объявления

http://localhost:8001/get?uri=/moskva/kvartiry/2-k_kvartira_74.7_m_923_et._1660627099&_smappi_fmt=json
get('/moskva/kvartiry/1-k_kvartira_38_m_1317_et._1248333042', false)
  // => {error: 'This object does not exist', code: 404}

XML Documentation

https://xml.smappi.org/adw0rd/avito-property/search?cityName=<string>&objectType=<string>&dealType=<string>&roomNumber=<number>&priceMin=<string>&priceMax=<string>&metro=<array>&page=<number>

Поиск объявлений по недвижимости

http://localhost:8001/search?cityName=moskva&objectType=kvartiry&dealType=prodam&roomNumber=1&priceMin=0&priceMax=15000000&metro=[94, 97, 101, 127, 135, 151, 2177]&page
http://localhost:8001/search?cityName=moskva&objectType=kvartiry&dealType=prodam&roomNumber=2&priceMin=0&priceMax=1500&metro&page
search('moskva', 'kvartiry', 'prodam', 1, 0, 15000000, [])
  // => ['/moskva/kvartiry/1-k_kvartira_...', ...]

Method: get

https://xml.smappi.org/adw0rd/avito-property/get?uri=<string>&withPhotoContent=<unknown>

Вывод информации конкретного объявления

http://localhost:8001/get?uri=/moskva/kvartiry/2-k_kvartira_74.7_m_923_et._1660627099&_smappi_fmt=json
get('/moskva/kvartiry/1-k_kvartira_38_m_1317_et._1248333042', false)
  // => {error: 'This object does not exist', code: 404}

SOAP Documentation (coming soon)

WSDL-Scheme here...
https://soap.smappi.org/adw0rd/avito-property/search?cityName=<string>&objectType=<string>&dealType=<string>&roomNumber=<number>&priceMin=<string>&priceMax=<string>&metro=<array>&page=<number>

Поиск объявлений по недвижимости

http://localhost:8001/search?cityName=moskva&objectType=kvartiry&dealType=prodam&roomNumber=1&priceMin=0&priceMax=15000000&metro=[94, 97, 101, 127, 135, 151, 2177]&page
http://localhost:8001/search?cityName=moskva&objectType=kvartiry&dealType=prodam&roomNumber=2&priceMin=0&priceMax=1500&metro&page
search('moskva', 'kvartiry', 'prodam', 1, 0, 15000000, [])
  // => ['/moskva/kvartiry/1-k_kvartira_...', ...]

Method: get

https://soap.smappi.org/adw0rd/avito-property/get?uri=<string>&withPhotoContent=<unknown>

Вывод информации конкретного объявления

http://localhost:8001/get?uri=/moskva/kvartiry/2-k_kvartira_74.7_m_923_et._1660627099&_smappi_fmt=json
get('/moskva/kvartiry/1-k_kvartira_38_m_1317_et._1248333042', false)
  // => {error: 'This object does not exist', code: 404}