{
  "openapi": "3.0.1",
  "info": {
    "title": "Idealista Scraper API — Spain, Italy, Portugal & France Data",
    "description": "Idealista scraper & API for Spain, Italy, Portugal & France — homes, offices, garages, land, rooms, sale or rent. 150+ fields per listing: price, €/m², drops, community costs, rooms, amenities, energy rating, GPS, full gallery, videos, 3D tours, 100% phone numbers & agency websites. From $0.51/1k.",
    "version": "1.1",
    "x-build-id": "qBYYhazvbWuUZ3iSJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pro100chok~idealista-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pro100chok-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/pro100chok~idealista-scraper/runs": {
      "post": {
        "operationId": "runs-sync-pro100chok-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/pro100chok~idealista-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-pro100chok-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",
        "properties": {
          "startUrls": {
            "title": "Idealista URLs",
            "type": "array",
            "description": "Paste any Idealista URLs — search result pages (including /multi/ map-zone URLs and any filters), single property pages (/inmueble/, /immobile/, /imovel/), or agency profiles (/pro/...). Works for idealista.com (Spain), idealista.it (Italy), and idealista.pt (Portugal). Leave empty when picking cities below.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "location": {
            "title": "City / region",
            "enum": [
              "",
              "madrid",
              "barcelona",
              "valencia",
              "malaga",
              "sevilla",
              "alicante",
              "palma-de-mallorca",
              "bilbao",
              "zaragoza",
              "marbella",
              "granada",
              "murcia",
              "las-palmas",
              "tenerife",
              "san-sebastian",
              "cordoba",
              "benidorm",
              "ibiza",
              "tarragona",
              "girona",
              "milano",
              "roma",
              "torino",
              "firenze",
              "napoli",
              "bologna",
              "venezia",
              "genova",
              "verona",
              "palermo",
              "bari",
              "catania",
              "padova",
              "lisboa",
              "porto",
              "faro",
              "cascais",
              "braga",
              "coimbra",
              "funchal",
              "setubal",
              "aveiro",
              "sintra",
              "paris",
              "lyon",
              "marseille",
              "nice",
              "bordeaux",
              "toulouse",
              "nantes",
              "strasbourg",
              "montpellier",
              "lille",
              "cannes"
            ],
            "type": "string",
            "description": "Pick a popular city in Spain, Italy, Portugal, or France (country is detected automatically). Leave on 'None' when using URLs above or Multiple cities below.",
            "default": ""
          },
          "locations": {
            "title": "Multiple cities (select any)",
            "type": "array",
            "description": "Select several cities across Spain, Italy, Portugal, or France to scrape in one run. Each city runs as its own search sharing the filters below.",
            "items": {
              "type": "string",
              "enum": [
                "madrid",
                "barcelona",
                "valencia",
                "malaga",
                "sevilla",
                "alicante",
                "palma-de-mallorca",
                "bilbao",
                "zaragoza",
                "marbella",
                "granada",
                "murcia",
                "las-palmas",
                "tenerife",
                "san-sebastian",
                "cordoba",
                "benidorm",
                "ibiza",
                "tarragona",
                "girona",
                "milano",
                "roma",
                "torino",
                "firenze",
                "napoli",
                "bologna",
                "venezia",
                "genova",
                "verona",
                "palermo",
                "bari",
                "catania",
                "padova",
                "lisboa",
                "porto",
                "faro",
                "cascais",
                "braga",
                "coimbra",
                "funchal",
                "setubal",
                "aveiro",
                "sintra",
                "paris",
                "lyon",
                "marseille",
                "nice",
                "bordeaux",
                "toulouse",
                "nantes",
                "strasbourg",
                "montpellier",
                "lille",
                "cannes"
              ],
              "enumTitles": [
                "🇪🇸 Madrid",
                "🇪🇸 Barcelona",
                "🇪🇸 Valencia",
                "🇪🇸 Málaga",
                "🇪🇸 Sevilla",
                "🇪🇸 Alicante",
                "🇪🇸 Palma de Mallorca",
                "🇪🇸 Bilbao",
                "🇪🇸 Zaragoza",
                "🇪🇸 Marbella",
                "🇪🇸 Granada",
                "🇪🇸 Murcia",
                "🇪🇸 Las Palmas de Gran Canaria",
                "🇪🇸 Santa Cruz de Tenerife",
                "🇪🇸 San Sebastián",
                "🇪🇸 Córdoba",
                "🇪🇸 Benidorm",
                "🇪🇸 Ibiza",
                "🇪🇸 Tarragona",
                "🇪🇸 Girona",
                "🇮🇹 Milan (Milano)",
                "🇮🇹 Rome (Roma)",
                "🇮🇹 Turin (Torino)",
                "🇮🇹 Florence (Firenze)",
                "🇮🇹 Naples (Napoli)",
                "🇮🇹 Bologna",
                "🇮🇹 Venice (Venezia)",
                "🇮🇹 Genoa (Genova)",
                "🇮🇹 Verona",
                "🇮🇹 Palermo",
                "🇮🇹 Bari",
                "🇮🇹 Catania",
                "🇮🇹 Padua (Padova)",
                "🇵🇹 Lisbon (Lisboa)",
                "🇵🇹 Porto",
                "🇵🇹 Faro (Algarve)",
                "🇵🇹 Cascais",
                "🇵🇹 Braga",
                "🇵🇹 Coimbra",
                "🇵🇹 Funchal (Madeira)",
                "🇵🇹 Setúbal",
                "🇵🇹 Aveiro",
                "🇵🇹 Sintra",
                "🇫🇷 Paris",
                "🇫🇷 Lyon",
                "🇫🇷 Marseille",
                "🇫🇷 Nice",
                "🇫🇷 Bordeaux",
                "🇫🇷 Toulouse",
                "🇫🇷 Nantes",
                "🇫🇷 Strasbourg",
                "🇫🇷 Montpellier",
                "🇫🇷 Lille",
                "🇫🇷 Cannes"
              ]
            }
          },
          "maxItems": {
            "title": "Max results (whole run)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum total records to output across the whole run (default prefill: 1,000). Clear the field or set 0 for unlimited."
          },
          "maxItemsPerQuery": {
            "title": "Max results per URL / city",
            "minimum": 0,
            "type": "integer",
            "description": "Optional per-search cap when scraping multiple URLs or cities. Leave empty (or 0) for no per-query limit."
          },
          "country": {
            "title": "Country",
            "enum": [
              "es",
              "it",
              "pt",
              "fr"
            ],
            "type": "string",
            "description": "Idealista country used for Custom city/neighbourhood names, GPS radius search, Property codes, or Agency profiles (auto-detected for URLs and dropdown cities).",
            "default": "es"
          },
          "operation": {
            "title": "Operation",
            "enum": [
              "sale",
              "rent"
            ],
            "type": "string",
            "description": "Buy or rent.",
            "default": "sale"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "homes",
              "newDevelopments",
              "offices",
              "premises",
              "garages",
              "lands",
              "storageRooms",
              "buildings",
              "rooms"
            ],
            "type": "string",
            "description": "Type of property to search for.",
            "default": "homes"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "mostRecent",
              "leastRecent",
              "lowestPrice",
              "highestPrice",
              "biggest",
              "smallest",
              "highestPriceReduction"
            ],
            "type": "string",
            "description": "Ordering of search results.",
            "default": "relevance"
          },
          "customLocations": {
            "title": "Other towns / neighbourhoods (optional)",
            "type": "array",
            "description": "Only needed if your town or neighbourhood is not in the City dropdown above. Enter plain names (one per line), e.g. 'Estepona', 'Chamartín, Madrid', 'Como'. Uses the Country selected above.",
            "items": {
              "type": "string"
            }
          },
          "latitude": {
            "title": "Center latitude",
            "type": "number",
            "description": "Search within a radius around GPS coordinates (e.g. 40.4168). Must be set together with Center longitude."
          },
          "longitude": {
            "title": "Center longitude",
            "type": "number",
            "description": "Search within a radius around GPS coordinates (e.g. -3.7038). Must be set together with Center latitude."
          },
          "distanceKm": {
            "title": "Search radius (km)",
            "minimum": 0.1,
            "type": "number",
            "description": "Radius in kilometres around Center latitude/longitude (default 5 km).",
            "default": 5
          },
          "minPrice": {
            "title": "Min price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum price in euros."
          },
          "maxPrice": {
            "title": "Max price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum price in euros."
          },
          "minSize": {
            "title": "Min size (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum built size in m²."
          },
          "maxSize": {
            "title": "Max size (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum built size in m²."
          },
          "bedrooms": {
            "title": "Bedrooms",
            "type": "array",
            "description": "Number of bedrooms (multiple allowed).",
            "items": {
              "type": "string",
              "enum": [
                "studio",
                "1",
                "2",
                "3",
                "4"
              ],
              "enumTitles": [
                "Studio",
                "1",
                "2",
                "3",
                "4+"
              ]
            }
          },
          "bathrooms": {
            "title": "Bathrooms",
            "type": "array",
            "description": "Number of bathrooms (multiple allowed).",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3"
              ],
              "enumTitles": [
                "1",
                "2",
                "3+"
              ]
            }
          },
          "homeType": {
            "title": "Home type",
            "type": "array",
            "description": "Filter by home sub-type (multiple allowed).",
            "items": {
              "type": "string",
              "enum": [
                "flat",
                "penthouse",
                "duplex",
                "detachedHouse",
                "countryHouse",
                "studio"
              ],
              "enumTitles": [
                "Flat",
                "Penthouse",
                "Duplex",
                "Detached house / chalet",
                "Country house",
                "Studio"
              ]
            }
          },
          "condition": {
            "title": "Condition",
            "type": "array",
            "description": "Filter by property condition (multiple allowed).",
            "items": {
              "type": "string",
              "enum": [
                "newDevelopment",
                "good",
                "renew"
              ],
              "enumTitles": [
                "New development",
                "Good condition / second hand",
                "To renovate"
              ]
            }
          },
          "floor": {
            "title": "Floor",
            "type": "array",
            "description": "Filter by floor level (multiple allowed).",
            "items": {
              "type": "string",
              "enum": [
                "topFloor",
                "intermediateFloor",
                "groundFloor"
              ],
              "enumTitles": [
                "Top floor",
                "Intermediate floor",
                "Ground floor"
              ]
            }
          },
          "amenities": {
            "title": "Amenities",
            "type": "array",
            "description": "Filter by amenities (multiple allowed).",
            "items": {
              "type": "string",
              "enum": [
                "airConditioning",
                "lift",
                "terrace",
                "garage",
                "garden",
                "swimmingPool",
                "storageRoom",
                "fittedWardrobes",
                "exterior",
                "luxury",
                "accessible",
                "seaViews",
                "balcony",
                "petsAllowed",
                "hasPlan",
                "virtualTour",
                "furnishedKitchen"
              ],
              "enumTitles": [
                "Air conditioning",
                "Lift",
                "Terrace",
                "Garage",
                "Garden",
                "Swimming pool",
                "Storage room",
                "Fitted wardrobes",
                "Exterior",
                "Luxury",
                "Accessible",
                "Sea views",
                "Balcony",
                "Pets allowed",
                "Has floor plan",
                "Has virtual tour",
                "Furnished kitchen"
              ]
            }
          },
          "bankOffer": {
            "title": "Bank-owned properties only",
            "type": "boolean",
            "description": "Only return properties offered by banks.",
            "default": false
          },
          "auction": {
            "title": "Auctions filter",
            "enum": [
              "",
              "onlyAuctions",
              "excludeAuctions"
            ],
            "type": "string",
            "description": "Include all listings, only auctions, or exclude auctions.",
            "default": ""
          },
          "publicationDate": {
            "title": "Published within",
            "enum": [
              "",
              "48h",
              "week",
              "month"
            ],
            "type": "string",
            "description": "Only include listings published within this period.",
            "default": ""
          },
          "propertyCodes": {
            "title": "Specific property IDs (optional)",
            "type": "array",
            "description": "Scrape specific properties by their numeric Idealista ID (the number in /inmueble/105432100/). Uses the Country selected above.",
            "items": {
              "type": "string"
            }
          },
          "agencySlugs": {
            "title": "Agency profiles — URL or /pro/ name (optional)",
            "type": "array",
            "description": "Paste agency profile URLs (e.g. 'https://www.idealista.com/pro/gilmar-centro/') or the name after /pro/ (e.g. 'gilmar-centro').",
            "items": {
              "type": "string"
            }
          },
          "fetchDetails": {
            "title": "Full property details, phone numbers, emails & agency websites",
            "type": "boolean",
            "description": "ON (default): fetches full property details (150+ fields: complete tagged photo gallery, floor plans, videos, 3D/360° tours, community costs, usable/plot size, year built, energy consumption & emissions, exact modification date, multilingual translations), advertiser phone numbers (agencies & private sellers; charged per phone returned), and cached agency profile + direct website enrichment (agencyWebsite, agencyEmail, agencyEmails, agencyWebsitePhones, agencySocials). OFF: ultra-fast search-only mode (75+ fields: price, price drops, size, rooms, bathrooms, GPS, province/city/district/neighbourhood, full description, amenities, videos & 3D tour links) billed only at $0.51/1k with no phone add-on charge.",
            "default": true
          },
          "scrapeAgencies": {
            "title": "Agencies only (no property rows)",
            "type": "boolean",
            "description": "For searches, return one row per unique agency/advertiser found (with website, email, socials, phone, office address, GPS, active listings count, client since, languages) INSTEAD of property rows.",
            "default": false
          },
          "monitoringMode": {
            "title": "Monitoring mode (only new listings)",
            "type": "boolean",
            "description": "Only output listings not seen in previous runs of this Actor (tracked by property code). Great for daily alerts.",
            "default": false
          },
          "splitByPrice": {
            "title": "Bypass the 2,500 result limit",
            "type": "boolean",
            "description": "Idealista caps a single search at 50 pages (2,500 results). Enable this to automatically split large searches into price bands recursively and collect far more results (deduplicated).",
            "default": true
          },
          "language": {
            "title": "Response language",
            "enum": [
              "",
              "es",
              "en",
              "it",
              "pt",
              "fr",
              "de"
            ],
            "type": "string",
            "description": "Language for localized feature labels and titles. Leave empty to use the country's native language.",
            "default": ""
          },
          "endPage": {
            "title": "Max pages per search",
            "minimum": 0,
            "type": "integer",
            "description": "Stop each search after this many result pages (0 = until the last page). Up to 50 results per page.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Number of parallel workers for fetching listings and details (default 64 for 1,000+ rows/min).",
            "default": 64
          },
          "maxRetries": {
            "title": "Max retries per request",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many times to retry transient errors with IP rotation.",
            "default": 6
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy used for scraping. Apify Residential proxies matched to the site's country are recommended.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}