Yad2 Scraper

ENDPOINTS
GET/locations/search

Search Locations

Find yad2's cities, areas, regions and neighbourhoods, with the search link and GPS of each.

QUERY PARAMS

The start of a place name in English or Hebrew; neighbourhoods match in Hebrew only, e.g. tel aviv.

{
  "query": "tel aviv",
  "count": 3,
  "locations": [
    {
      "type": "city",
      "id": "5000",
      "name": "תל אביב יפו",
      "name_en": "Tel Aviv-Yafo",
      "city": null,
      "region": {
        "id": 3,
        "name": "תל אביב והסביבה",
        "name_en": "Tel Aviv area"
      },
      "link": "https://www.yad2.co.il/realestate/forsale/tel-aviv-area?city=5000",
      "latitude": 32.087667,
      "longitude": 34.797374
    },
    {
      "type": "area",
      "id": 1,
      "name": "אזור תל אביב יפו",
      "name_en": "tel aviv",
      "city": null,
      "region": {
        "id": 3,
        "name": "תל אביב והסביבה",
        "name_en": "Tel Aviv area"
      },
      "link": "https://www.yad2.co.il/realestate/forsale/tel-aviv-area?area=1",
      "latitude": 32.0675078,
      "longitude": 34.788075
    },
    {
      "type": "region",
      "id": 3,
      "name": "תל אביב והסביבה",
      "name_en": "Tel Aviv area",
      "city": null,
      "region": {
        "id": 3,
        "name": "תל אביב והסביבה",
        "name_en": "Tel Aviv area"
      },
      "link": "https://www.yad2.co.il/realestate/forsale/tel-aviv-area",
      "latitude": null,
      "longitude": null
    }
  ]
}