{
  "openapi": "3.0.1",
  "info": {
    "title": "Yad2 Scraper: Israel Real Estate & Cars Listings",
    "description": "Scrape Yad2 listings in Israel: apartments for rent or sale, commercial property, cars, motorcycles and scooters. Filter by city, price, rooms or year, and get prices, sizes, photos and English city names for market research.",
    "version": "0.1",
    "x-build-id": "tzD6BzujB7U7BiTAZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cliqtomedia~yad2-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cliqtomedia-yad2-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/cliqtomedia~yad2-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cliqtomedia-yad2-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/cliqtomedia~yad2-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cliqtomedia-yad2-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "category": {
            "title": "Category",
            "enum": [
              "realestate-rent",
              "realestate-forsale",
              "realestate-commercial",
              "cars",
              "motorcycles",
              "scooters"
            ],
            "type": "string",
            "description": "What to search on Yad2. Default: apartments for rent.",
            "default": "realestate-rent"
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "English name (\"Tel Aviv\"), Hebrew name (\"תל אביב יפו\") or Yad2 city id (\"5000\"). Up to 20 cities. Leave empty to search all of Israel. For vehicles the whole district (area) of the city is searched.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min price (ILS)",
            "minimum": 0,
            "type": "number",
            "description": "Lowest price in shekels. Listings without a price are skipped when a price filter is set."
          },
          "maxPrice": {
            "title": "Max price (ILS)",
            "minimum": 0,
            "type": "number",
            "description": "Highest price in shekels."
          },
          "excludeAgencies": {
            "title": "Exclude agencies and dealers",
            "type": "boolean",
            "description": "Skip listings from agencies and commercial advertisers; keep private owners only."
          },
          "maxItems": {
            "title": "Max listings",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum listings to save across all cities, up to 10000. Each saved listing is charged. Default 100.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include listing details",
            "type": "boolean",
            "description": "Open each listing to add description, all photos, features, coordinates and dates. One extra request per listing. Default true.",
            "default": true
          },
          "minRooms": {
            "title": "Min rooms",
            "minimum": 1,
            "maximum": 12,
            "type": "number",
            "description": "Real estate only. Fewest rooms, 1 to 12 (half rooms allowed, e.g. 2.5)."
          },
          "maxRooms": {
            "title": "Max rooms",
            "minimum": 1,
            "maximum": 12,
            "type": "number",
            "description": "Real estate only. Most rooms, 1 to 12."
          },
          "minSquareMeters": {
            "title": "Min size (m²)",
            "minimum": 0,
            "type": "number",
            "description": "Real estate only. Smallest area in square meters."
          },
          "maxSquareMeters": {
            "title": "Max size (m²)",
            "minimum": 0,
            "type": "number",
            "description": "Real estate only. Largest area in square meters."
          },
          "minFloor": {
            "title": "Min floor",
            "minimum": -2,
            "maximum": 200,
            "type": "integer",
            "description": "Real estate only. Lowest floor (-2 to 200)."
          },
          "maxFloor": {
            "title": "Max floor",
            "minimum": -2,
            "maximum": 200,
            "type": "integer",
            "description": "Real estate only. Highest floor (-2 to 200)."
          },
          "neighborhood": {
            "title": "Neighborhoods",
            "type": "array",
            "description": "Real estate only. Hebrew neighborhood names (case-insensitive part of the name, e.g. \"פלורנטין\"), up to 20. Matched after download. A numeric Yad2 neighborhood id is also sent to Yad2.",
            "items": {
              "type": "string"
            }
          },
          "requireParking": {
            "title": "Parking",
            "type": "boolean",
            "description": "Real estate only. Only listings with parking. Checked in the listing details when they are loaded."
          },
          "requireElevator": {
            "title": "Elevator",
            "type": "boolean",
            "description": "Real estate only. Only listings with an elevator."
          },
          "requireBalcony": {
            "title": "Balcony",
            "type": "boolean",
            "description": "Real estate only. Only listings with a balcony."
          },
          "requireShelter": {
            "title": "Safe room (mamad)",
            "type": "boolean",
            "description": "Real estate only. Only listings with a private secure room (mamad). A building or floor shelter does not count."
          },
          "minYear": {
            "title": "Min year",
            "minimum": 1950,
            "type": "integer",
            "description": "Vehicles only. Oldest model year (1950 to next year)."
          },
          "maxYear": {
            "title": "Max year",
            "minimum": 1950,
            "type": "integer",
            "description": "Vehicles only. Newest model year (up to next year)."
          },
          "maxMileage": {
            "title": "Max mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Vehicles only. Highest kilometers driven."
          },
          "maxHand": {
            "title": "Max owners (hand)",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Vehicles only. Highest hand number: 0 is new, 1 first owner, 2 second owner and so on, up to 10."
          },
          "manufacturer": {
            "title": "Manufacturer",
            "type": "string",
            "description": "Vehicles only. Part of the manufacturer name in Hebrew or English, e.g. \"Toyota\" or \"טויוטה\". Matched after download."
          },
          "model": {
            "title": "Model",
            "type": "string",
            "description": "Vehicles only. Part of the model name in Hebrew or English, e.g. \"Corolla\". Matched after download."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Usually not needed: the Actor tries a direct or datacenter route first and switches to an Israeli residential proxy by itself when Yad2 blocks it. Set your own proxy URLs or Apify proxy groups only if you must.",
            "default": {
              "useApifyProxy": true
            }
          },
          "deliveryConnector": {
            "title": "Send results to (optional)",
            "type": "string",
            "description": "Your Slack, Notion or other MCP connector. After the run the Actor posts a short summary there. Connect services once in Apify Console → MCP connectors."
          },
          "deliveryTarget": {
            "title": "Notion page or channel (optional)",
            "type": "string",
            "description": "Where to post the summary: a Notion page link (each run is added on top of that page) or a Slack channel ID. Notion needs a page here; without it the summary is not sent and the run summary says why."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}