# Jerusalem apartments for sale on Yad2 and Madlan

**Use case:** 

Collects apartments for sale in Jerusalem from Yad2 and Madlan in one run, with duplicates across the two sites removed. Price and previous price, street and neighborhood, rooms, size, floor, coordinates, neighborhood scores and the listing URL. Change the city or add price and room filters for any Israeli market.

## Input

```json
{
  "transactionType": "sale",
  "sources": [
    "yad2",
    "madlan"
  ],
  "maxResults": 100,
  "filters": {
    "city": "ירושלים"
  },
  "includeDetails": false,
  "dedupeAcrossSites": true,
  "onlyNewListings": false,
  "maxConcurrency": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IL"
  }
}
```

## Output

```json
{
  "id": {
    "label": "id",
    "format": "string"
  },
  "source": {
    "label": "source",
    "format": "string"
  },
  "category": {
    "label": "category",
    "format": "string"
  },
  "transactionType": {
    "label": "transactionType",
    "format": "string"
  },
  "title": {
    "label": "title",
    "format": "string"
  },
  "price": {
    "label": "price",
    "format": "number"
  },
  "currency": {
    "label": "currency",
    "format": "string"
  },
  "location": {
    "label": "location",
    "format": "string"
  },
  "url": {
    "label": "url",
    "format": "string"
  },
  "images": {
    "label": "images",
    "format": "array"
  },
  "seller": {
    "label": "seller",
    "format": "object"
  },
  "attributes": {
    "label": "attributes",
    "format": "object"
  },
  "previousPrice": {
    "label": "previousPrice",
    "format": "number"
  },
  "publishedAt": {
    "label": "publishedAt",
    "format": "string"
  },
  "updatedAt": {
    "label": "updatedAt",
    "format": "string"
  },
  "changeType": {
    "label": "changeType",
    "format": "string"
  },
  "description": {
    "label": "description",
    "format": "string"
  },
  "scrapedAt": {
    "label": "scrapedAt",
    "format": "string"
  },
  "extraction": {
    "label": "extraction",
    "format": "object"
  }
}
```

## About this Actor

This example demonstrates how to use [Israel Real Estate Scraper - Yad2 & Madlan Listings](https://apify.com/leadproof/israel-real-estate.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/leadproof/israel-real-estate.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/leadproof/israel-real-estate.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
