{
  "openapi": "3.0.1",
  "info": {
    "title": "Idealista Scraper 🏠 No URLs, 140+ Filters, 10 Property Types",
    "description": "Search Idealista Spain, Portugal and Italy without URLs. Pick a place, buy or rent and the filters you need: price, size, bedrooms, features, energy rating, rooms in shared flats, offices, premises, land and more. Large areas are split automatically past the 2,500-listing cap.",
    "version": "0.0",
    "x-build-id": "1r8AMned96aesnAak"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dz_omar~idealista-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dz_omar-idealista-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/dz_omar~idealista-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dz_omar-idealista-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/dz_omar~idealista-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dz_omar-idealista-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",
        "required": [
          "locations"
        ],
        "properties": {
          "country": {
            "title": "Country",
            "enum": [
              "es",
              "pt",
              "it"
            ],
            "type": "string",
            "description": "Which Idealista site to search.",
            "default": "es"
          },
          "operation": {
            "title": "Buy or rent",
            "enum": [
              "sale",
              "rent"
            ],
            "type": "string",
            "description": "Rooms in shared flats are always rent; business transfers ignore this choice.",
            "default": "sale"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "homes",
              "newDevelopments",
              "bedrooms",
              "offices",
              "premises",
              "transfers",
              "garages",
              "lands",
              "storageRooms",
              "buildings"
            ],
            "type": "string",
            "description": "Each type has its own filters below (rooms, offices, premises, land…).",
            "default": "homes"
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "One place per line — a town, district, neighbourhood or province, written as on Idealista (\"Madrid\", \"Chamberí, Madrid\", \"Málaga\", \"Lisboa\", \"Milano\"). Idealista's best match is used and shown in the log. You can also paste a location ID such as <code>0-EU-ES-28-07-001-079</code>. Each location is a separate search.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max listings per location",
            "minimum": 1,
            "type": "integer",
            "description": "Idealista stops at about 2,500 listings per search. Above that, the search is split into smaller areas automatically so you can collect the whole location.",
            "default": 100
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "oldest",
              "priceLowToHigh",
              "priceHighToLow",
              "biggestPriceDrop",
              "pricePerM2LowToHigh",
              "pricePerM2HighToLow",
              "biggest",
              "smallest",
              "highestFloor",
              "lowestFloor"
            ],
            "type": "string",
            "description": "Order in which Idealista returns the listings — matters when you collect fewer listings than exist.",
            "default": "relevance"
          },
          "language": {
            "title": "Language of the listing texts",
            "enum": [
              "en",
              "es",
              "ca",
              "pt",
              "it",
              "fr",
              "de",
              "nl"
            ],
            "type": "string",
            "description": "Descriptions are machine-translated by Idealista when the advertiser didn't write one in this language.",
            "default": "en"
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "type": "integer",
            "description": "Leave empty for no minimum."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "type": "integer",
            "description": "For business transfers this is the rent of the premises (or the sale price when you pick only \"Property and business\")."
          },
          "minSize": {
            "title": "Min size",
            "minimum": 0,
            "type": "integer",
            "description": "Not available for garages and rooms."
          },
          "maxSize": {
            "title": "Max size",
            "minimum": 0,
            "type": "integer",
            "description": "Leave empty for no maximum."
          },
          "publishedWithin": {
            "title": "Published within",
            "enum": [
              "any",
              "last48Hours",
              "lastWeek",
              "lastMonth"
            ],
            "type": "string",
            "description": "Idealista uses 48 hours for sales and 24 hours for rentals — the right one is picked for you.",
            "default": "any"
          },
          "homeTypes": {
            "title": "Home types",
            "type": "array",
            "description": "Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "flats",
                "penthouses",
                "duplexes",
                "apartments",
                "lofts",
                "attics",
                "detachedHouses",
                "semiDetachedHouses",
                "terracedHouses",
                "countryHouses",
                "villas",
                "singleStoreyHouses",
                "fincas",
                "bungalows",
                "manorHouses",
                "casali"
              ],
              "enumTitles": [
                "Flats",
                "Penthouses",
                "Duplexes",
                "Apartments (Spain, buy)",
                "Lofts",
                "Attics",
                "Detached houses",
                "Semi-detached houses",
                "Terraced houses",
                "Country houses",
                "Villas",
                "Single-storey houses (Spain, buy)",
                "Quintas / fincas (Portugal)",
                "Bungalows / moradias térreas (Portugal)",
                "Manor houses (Portugal)",
                "Casali / cascine (Italy)"
              ]
            }
          },
          "bedrooms": {
            "title": "Bedrooms",
            "type": "array",
            "description": "Pick one or more. In Italy Idealista counts all rooms, not bedrooms, from 1 to 5+.",
            "items": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "Studio (0)",
                "1",
                "2",
                "3",
                "4 or more (Italy: exactly 4)",
                "5 or more (Italy only)"
              ]
            }
          },
          "bathrooms": {
            "title": "Bathrooms",
            "type": "array",
            "description": "Pick one or more.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3"
              ],
              "enumTitles": [
                "1",
                "2",
                "3 or more"
              ]
            }
          },
          "condition": {
            "title": "Condition",
            "type": "array",
            "description": "Homes only.",
            "items": {
              "type": "string",
              "enum": [
                "newBuild",
                "good",
                "needsRenovation"
              ],
              "enumTitles": [
                "New build",
                "Good condition",
                "Needs renovating"
              ]
            }
          },
          "occupancy": {
            "title": "Current status (buy)",
            "type": "array",
            "description": "For buying homes. Leave empty to include all.",
            "items": {
              "type": "string",
              "enum": [
                "vacant",
                "tenanted",
                "bareOwnership",
                "illegallyOccupied"
              ],
              "enumTitles": [
                "Vacant — no tenants or restrictions",
                "Rented, with tenants",
                "Bare ownership (nuda propiedad)",
                "Illegally occupied (Spain)"
              ]
            }
          },
          "rentalTerm": {
            "title": "Rental type (rent)",
            "type": "array",
            "description": "For renting homes. Leave empty to include both.",
            "items": {
              "type": "string",
              "enum": [
                "longTerm",
                "shortTerm"
              ],
              "enumTitles": [
                "Long-term",
                "Short-term / seasonal"
              ]
            }
          },
          "furnished": {
            "title": "Furnished (rent)",
            "enum": [
              "any",
              "furnishedKitchen",
              "furnished"
            ],
            "type": "string",
            "description": "For renting homes.",
            "default": "any"
          },
          "floors": {
            "title": "Floor",
            "type": "array",
            "description": "Homes and rooms.",
            "items": {
              "type": "string",
              "enum": [
                "top",
                "middle",
                "ground"
              ],
              "enumTitles": [
                "Top floor",
                "Middle floors",
                "Ground floor"
              ]
            }
          },
          "energyRating": {
            "title": "Energy rating",
            "type": "array",
            "description": "Energy certificate bands as Idealista groups them. Homes only.",
            "items": {
              "type": "string",
              "enum": [
                "high",
                "medium",
                "low"
              ],
              "enumTitles": [
                "High (A–B)",
                "Medium (C–D)",
                "Low (E–G)"
              ]
            }
          },
          "features": {
            "title": "Features",
            "type": "array",
            "description": "Listings must have every feature you tick. Works for every property type that has the feature — the rest are skipped.",
            "items": {
              "type": "string",
              "enum": [
                "airConditioning",
                "heating",
                "lift",
                "parking",
                "garden",
                "swimmingPool",
                "terrace",
                "balcony",
                "exterior",
                "fittedWardrobes",
                "storageRoom",
                "accessible",
                "luxury",
                "petsAllowed",
                "seaViews",
                "privateGarden",
                "communalGarden",
                "singleGarage",
                "doubleGarage",
                "coveredParking",
                "uncoveredParking",
                "hotWater",
                "security",
                "corner",
                "smokeOutlet",
                "motorbikeSpace",
                "automaticDoor"
              ],
              "enumTitles": [
                "Air conditioning",
                "Heating (offices, premises)",
                "Lift",
                "Parking",
                "Garden",
                "Swimming pool",
                "Terrace",
                "Balcony",
                "Exterior / street-facing",
                "Fitted wardrobes",
                "Storage room",
                "Accessible",
                "Luxury",
                "Pets allowed (rent)",
                "Sea views (Portugal, Italy)",
                "Private garden (Italy)",
                "Communal garden (Italy)",
                "Single garage (Italy)",
                "Double garage (Italy)",
                "Covered parking space (Italy)",
                "Uncovered parking space (Italy)",
                "Hot water (offices)",
                "Security / surveillance",
                "On a corner (premises)",
                "Smoke outlet (premises)",
                "Space for a motorbike (garages)",
                "Automatic door (garages)"
              ]
            }
          },
          "listingOptions": {
            "title": "Listing extras",
            "type": "array",
            "description": "Only listings that have these extras.",
            "items": {
              "type": "string",
              "enum": [
                "floorPlan",
                "virtualTour",
                "bankOwned"
              ],
              "enumTitles": [
                "Has a floor plan",
                "Has a virtual tour",
                "Bank-owned (Spain, Portugal)"
              ]
            }
          },
          "auction": {
            "title": "Auctions (Italy)",
            "enum": [
              "any",
              "excludeAuctions",
              "onlyAuctions"
            ],
            "type": "string",
            "description": "Italian homes only.",
            "default": "any"
          },
          "newHomeOptions": {
            "title": "New homes",
            "type": "array",
            "description": "Only for the New homes property type.",
            "items": {
              "type": "string",
              "enum": [
                "finished",
                "futureDevelopment",
                "rentToOwn",
                "subsidised"
              ],
              "enumTitles": [
                "Finished developments",
                "Future developments (off-plan)",
                "Rent to buy",
                "Subsidised housing"
              ]
            }
          },
          "roomSeekerGender": {
            "title": "You are",
            "enum": [
              "any",
              "male",
              "female"
            ],
            "type": "string",
            "description": "Shows only rooms open to this gender.",
            "default": "any"
          },
          "flatmates": {
            "title": "Number of flatmates",
            "type": "array",
            "description": "How many people already live in the flat.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3"
              ],
              "enumTitles": [
                "1 person",
                "2 people",
                "3 or more"
              ]
            }
          },
          "flatmatesAre": {
            "title": "Flatmates are",
            "enum": [
              "any",
              "students",
              "workers"
            ],
            "type": "string",
            "description": "Who the current flatmates are.",
            "default": "any"
          },
          "smokingPolicy": {
            "title": "Smoking",
            "enum": [
              "any",
              "allowed",
              "disallowed"
            ],
            "type": "string",
            "description": "House rule on smoking.",
            "default": "any"
          },
          "petsPolicy": {
            "title": "Pets",
            "enum": [
              "any",
              "allowed",
              "disallowed"
            ],
            "type": "string",
            "description": "House rule on pets.",
            "default": "any"
          },
          "bedType": {
            "title": "Bed",
            "enum": [
              "any",
              "single",
              "double",
              "twoBeds",
              "none"
            ],
            "type": "string",
            "description": "What the room comes with.",
            "default": "any"
          },
          "roomOptions": {
            "title": "Room and flat",
            "type": "array",
            "description": "The room or flat must offer every option you tick.",
            "items": {
              "type": "string",
              "enum": [
                "privateBathroom",
                "streetFacingWindow",
                "couplesAllowed",
                "minorsAllowed",
                "cleaningIncluded",
                "ownerNotLiving",
                "lgbtFriendly",
                "onlineBooking",
                "onlineBookingWithInsurance"
              ],
              "enumTitles": [
                "Private bathroom",
                "Window onto the street",
                "Couples allowed",
                "Minors allowed",
                "Cleaning included",
                "Owner doesn't live there",
                "LGBT friendly",
                "Online booking",
                "Online booking with insurance"
              ]
            }
          },
          "officeTypes": {
            "title": "Office type",
            "type": "array",
            "description": "Leave empty for all office types.",
            "items": {
              "type": "string",
              "enum": [
                "private",
                "shared",
                "desk"
              ],
              "enumTitles": [
                "Private office",
                "Shared space / coworking",
                "Single workstation (rent)"
              ]
            }
          },
          "officeLayout": {
            "title": "Layout",
            "enum": [
              "any",
              "openPlan",
              "withWalls"
            ],
            "type": "string",
            "description": "How the space is divided.",
            "default": "any"
          },
          "officeBuilding": {
            "title": "Building",
            "enum": [
              "any",
              "exclusive",
              "mixed"
            ],
            "type": "string",
            "description": "Who else uses the building.",
            "default": "any"
          },
          "premisesTypes": {
            "title": "Premises type",
            "type": "array",
            "description": "Leave empty for both.",
            "items": {
              "type": "string",
              "enum": [
                "premises",
                "industrialBuilding"
              ],
              "enumTitles": [
                "Commercial premises",
                "Industrial warehouse"
              ]
            }
          },
          "dealTypes": {
            "title": "Type of deal",
            "type": "array",
            "description": "Buy: property only, property and business, or with a paying tenant. Rent: property only or taking over a business. Transfers: taking over the lease, or buying property and business.",
            "items": {
              "type": "string",
              "enum": [
                "propertyOnly",
                "propertyAndBusiness",
                "withTenant",
                "transferWithLease"
              ],
              "enumTitles": [
                "Property only",
                "Property and the business in it",
                "Property with a paying tenant (buy)",
                "Business transfer, taking over the lease"
              ]
            }
          },
          "businessActivities": {
            "title": "Current business activity",
            "type": "array",
            "description": "The activity currently run in the premises.",
            "items": {
              "type": "string",
              "enum": [
                "retail",
                "catering",
                "barsAndNightclub",
                "foodTrade",
                "accommodation",
                "aestheticAndBeauty",
                "professionalServices",
                "educationalCenter",
                "sportsFacilities",
                "pharmacy",
                "tobaccoShop",
                "newsstand",
                "laboratory",
                "storehouse",
                "otherCommercialActivities"
              ],
              "enumTitles": [
                "Shop / retail",
                "Restaurant / catering",
                "Bar or nightclub",
                "Food shop",
                "Accommodation",
                "Beauty and aesthetics",
                "Professional services",
                "Education centre",
                "Sports facilities",
                "Pharmacy",
                "Tobacconist",
                "Kiosk",
                "Laboratory",
                "Warehouse",
                "Other"
              ]
            }
          },
          "premisesPosition": {
            "title": "Position",
            "type": "array",
            "description": "Where the premises are in the building.",
            "items": {
              "type": "string",
              "enum": [
                "street",
                "shoppingcenter",
                "mezzanine",
                "underground",
                "ontopfloor",
                "others"
              ],
              "enumTitles": [
                "At street level",
                "In a shopping centre",
                "Mezzanine",
                "Basement",
                "Upper floor",
                "Other"
              ]
            }
          },
          "minTransferPrice": {
            "title": "Min transfer fee (traspaso)",
            "minimum": 0,
            "type": "integer",
            "description": "Business transfers only: the price for taking over the business."
          },
          "maxTransferPrice": {
            "title": "Max transfer fee (traspaso)",
            "minimum": 0,
            "type": "integer",
            "description": "Leave empty for no maximum."
          },
          "landTypes": {
            "title": "Land type",
            "type": "array",
            "description": "Leave empty for all land.",
            "items": {
              "type": "string",
              "enum": [
                "urban",
                "buildingLand",
                "nonBuildingLand"
              ],
              "enumTitles": [
                "Urban",
                "Buildable",
                "Non-buildable (rustic)"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}