Avito Parser API

fork for Avito Property

JSON Documentation

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

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

search('moskva', 'kvartiry', 'prodam', 1, 0, 15000000, [])
  // => [...]

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

Method: get

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

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

get('/moskva/kvartiry/1-k_kvartira_38_m_1317_et._1248333042', false)
  // => {error: 'This object does not exist', code: 404}

http://localhost:8001/get?uri=/moskva/kvartiry/2-k_kvartira_74.7_m_923_et._1660627099&_smappi_fmt=json

XML Documentation

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

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

search('moskva', 'kvartiry', 'prodam', 1, 0, 15000000, [])
  // => [...]

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

Method: get

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

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

get('/moskva/kvartiry/1-k_kvartira_38_m_1317_et._1248333042', false)
  // => {error: 'This object does not exist', code: 404}

http://localhost:8001/get?uri=/moskva/kvartiry/2-k_kvartira_74.7_m_923_et._1660627099&_smappi_fmt=json

SOAP Documentation (coming soon)

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

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

search('moskva', 'kvartiry', 'prodam', 1, 0, 15000000, [])
  // => [...]

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

Method: get

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

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

get('/moskva/kvartiry/1-k_kvartira_38_m_1317_et._1248333042', false)
  // => {error: 'This object does not exist', code: 404}

http://localhost:8001/get?uri=/moskva/kvartiry/2-k_kvartira_74.7_m_923_et._1660627099&_smappi_fmt=json