{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Idealista Scraper · 12,500 Free Listings/Month",
    "description": "Idealista Scraper gets you idealista.com and idealista.it property data ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — prices, sizes, GPS, photos and agencies from any city, map area or link. 💰 $0.40 per 1,000 listings, no start fee. Scrape your first 12,500 listings free every month 🚀",
    "version": "0.0",
    "x-build-id": "aebglT2aEt7RjqQk9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~idealista-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-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/omkar-cloud~idealista-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-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/omkar-cloud~idealista-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-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": {
          "locations": {
            "title": "📍 Places, postcodes or idealista links",
            "type": "array",
            "description": "One per line: a city, district or neighbourhood (Barcelona, Chamberí, Marbella), a postcode (28013), a location slug (madrid/chamberi) or any idealista.com / idealista.it search link — a link keeps its own filters. Each line is searched separately.",
            "items": {
              "type": "string"
            }
          },
          "propertyUrls": {
            "title": "🔗 Listing links or IDs",
            "type": "array",
            "description": "idealista listing links (…/inmueble/111201434/, …/immobile/37305588/) or bare listing IDs, one per line. Each one comes back as a full listing.",
            "items": {
              "type": "string"
            }
          },
          "areas": {
            "title": "🗺️ Map areas",
            "type": "array",
            "description": "Search inside a shape you draw: 3 or more \"lat,lng\" points separated by \";\" (41.41,2.165;41.41,2.185;41.395,2.185;41.395,2.165), or an idealista drawn-area link (…/areas/…?shape=…). One area per line.",
            "items": {
              "type": "string"
            }
          },
          "agencies": {
            "title": "🏢 Agency listings",
            "type": "array",
            "description": "Get every listing of an agency: its idealista slug (engel-volkers-marbella) or its /pro/ link, one per line.",
            "items": {
              "type": "string"
            }
          },
          "centerLatitude": {
            "title": "Radius search: latitude",
            "type": "number",
            "description": "Center of a circle to search inside, e.g. 40.4168 for Puerta del Sol, Madrid. Set latitude, longitude and radius together."
          },
          "centerLongitude": {
            "title": "Radius search: longitude",
            "type": "number",
            "description": "Center longitude, e.g. -3.7038."
          },
          "radiusKm": {
            "title": "Radius search: radius (km)",
            "minimum": 0.1,
            "maximum": 50,
            "type": "number",
            "description": "How far around the center to search, in kilometres."
          },
          "country": {
            "title": "Market",
            "enum": [
              "es",
              "it"
            ],
            "type": "string",
            "description": "Where to look up place names and listing IDs. Links set their own market.",
            "default": "es"
          },
          "operation": {
            "title": "Buy or rent",
            "enum": [
              "sale",
              "rent"
            ],
            "type": "string",
            "description": "For sale or for rent. Links bring their own.",
            "default": "sale"
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "homes",
              "rooms",
              "new_developments",
              "offices",
              "premises",
              "transfers",
              "garages",
              "lands",
              "storage_rooms",
              "buildings"
            ],
            "type": "string",
            "description": "What kind of property to search.",
            "default": "homes"
          },
          "minPrice": {
            "title": "Minimum price (€)",
            "minimum": 1,
            "type": "integer",
            "description": "Lowest price in euros — the monthly rent for rentals."
          },
          "maxPrice": {
            "title": "Maximum price (€)",
            "minimum": 1,
            "type": "integer",
            "description": "Highest price in euros — the monthly rent for rentals."
          },
          "minSize": {
            "title": "Minimum size (m²)",
            "minimum": 1,
            "type": "integer",
            "description": "Smallest built area in m²."
          },
          "maxSize": {
            "title": "Maximum size (m²)",
            "minimum": 1,
            "type": "integer",
            "description": "Biggest built area in m²."
          },
          "bedrooms": {
            "title": "Bedrooms",
            "type": "array",
            "description": "Bedroom counts to include (leave empty for any).",
            "items": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4"
              ],
              "enumTitles": [
                "Studio",
                "1",
                "2",
                "3",
                "4 or more"
              ]
            }
          },
          "bathrooms": {
            "title": "Bathrooms",
            "type": "array",
            "description": "Bathroom counts to include (leave empty for any).",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3"
              ],
              "enumTitles": [
                "1",
                "2",
                "3 or more"
              ]
            }
          },
          "homeTypes": {
            "title": "Home types",
            "type": "array",
            "description": "Home subtypes to include (leave empty for any).",
            "items": {
              "type": "string",
              "enum": [
                "flat",
                "penthouse",
                "duplex",
                "house",
                "detached",
                "semi_detached",
                "terraced",
                "country_house",
                "apartment",
                "villa",
                "loft",
                "single_storey",
                "attic"
              ],
              "enumTitles": [
                "Flat",
                "Penthouse",
                "Duplex",
                "House",
                "Detached",
                "Semi-detached",
                "Terraced",
                "Country house",
                "Apartment",
                "Villa",
                "Loft",
                "Single-storey",
                "Attic"
              ]
            }
          },
          "condition": {
            "title": "Condition",
            "type": "array",
            "description": "Property condition (leave empty for any).",
            "items": {
              "type": "string",
              "enum": [
                "new_build",
                "good",
                "needs_renovation"
              ],
              "enumTitles": [
                "New build",
                "Good",
                "Needs renovation"
              ]
            }
          },
          "features": {
            "title": "Must have",
            "type": "array",
            "description": "Every result must have all of these.",
            "items": {
              "type": "string",
              "enum": [
                "air_conditioning",
                "wardrobes",
                "lift",
                "balcony",
                "terrace",
                "balcony_or_terrace",
                "exterior",
                "parking",
                "garden",
                "swimming_pool",
                "storage_room",
                "accessible",
                "luxury",
                "floor_plan",
                "virtual_tour",
                "bank_owned",
                "pets_allowed",
                "long_term",
                "short_term"
              ],
              "enumTitles": [
                "Air conditioning",
                "Fitted wardrobes",
                "Lift",
                "Balcony",
                "Terrace",
                "Balcony or terrace",
                "Exterior",
                "Parking",
                "Garden",
                "Swimming pool",
                "Storage room",
                "Accessible",
                "Luxury home",
                "Floor plan",
                "Virtual tour",
                "Bank-owned",
                "Pets allowed (rent)",
                "Long-term rental",
                "Short-term rental"
              ]
            }
          },
          "furnished": {
            "title": "Furnished (rent)",
            "enum": [
              "furnished",
              "kitchen_only"
            ],
            "type": "string",
            "description": "Rentals only."
          },
          "floors": {
            "title": "Floor",
            "type": "array",
            "description": "Floor levels to include (leave empty for any).",
            "items": {
              "type": "string",
              "enum": [
                "top",
                "middle",
                "ground"
              ],
              "enumTitles": [
                "Top floor",
                "Middle floors",
                "Ground floor"
              ]
            }
          },
          "energyRatings": {
            "title": "Energy rating",
            "type": "array",
            "description": "Energy certificate bands to include (leave empty for any).",
            "items": {
              "type": "string",
              "enum": [
                "high",
                "medium",
                "low"
              ],
              "enumTitles": [
                "High (A-B)",
                "Medium (C-D)",
                "Low (E-G)"
              ]
            }
          },
          "occupancy": {
            "title": "Occupancy (sale)",
            "type": "array",
            "description": "Sales only: occupancy status to include.",
            "items": {
              "type": "string",
              "enum": [
                "free",
                "tenanted",
                "bare_ownership",
                "squatted"
              ],
              "enumTitles": [
                "Free",
                "With tenants",
                "Bare ownership",
                "Squatted"
              ]
            }
          },
          "publishedWithin": {
            "title": "Published within",
            "enum": [
              "last_48_hours",
              "last_week",
              "last_month"
            ],
            "type": "string",
            "description": "Only listings published in this window."
          },
          "sellerType": {
            "title": "Seller",
            "enum": [
              "any",
              "private",
              "professional"
            ],
            "type": "string",
            "description": "Who placed the listing.",
            "default": "any"
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "price_asc",
              "price_desc",
              "newest",
              "oldest",
              "size_asc",
              "size_desc",
              "floor_asc",
              "floor_desc",
              "price_per_m2_asc",
              "price_per_m2_desc",
              "price_drop"
            ],
            "type": "string",
            "description": "Order of the results, as on idealista.",
            "default": "relevance"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "fr",
              "de",
              "it",
              "pt",
              "nl",
              "ru"
            ],
            "type": "string",
            "description": "Language of titles, features and descriptions (idealista translates the descriptions).",
            "default": "en"
          },
          "maxResults": {
            "title": "Maximum listings per place, link, area or agency",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many listings for each line you entered. idealista shows 30 listings a page and 1,800 per search; above that the search is split by price automatically. Keeps your cost predictable.",
            "default": 100
          },
          "fullDetails": {
            "title": "Full details",
            "type": "boolean",
            "description": "Open every listing for the full page: every photo, floor plans, video, the full description, bathrooms, year built, energy certificate, community costs, address and GPS. Charged as an add-on per listing; listing links are always full.",
            "default": false
          },
          "splitLargeSearches": {
            "title": "Go past the 1,800-listing limit",
            "type": "boolean",
            "description": "idealista stops at 60 pages (1,800 listings) per search. On, a bigger search is split into price bands so you get every listing. Results then come band by band, not in your sort order.",
            "default": true
          },
          "onlyNewListings": {
            "title": "Only new listings",
            "type": "boolean",
            "description": "Schedule the run and get only the listings you have not received before for the same input.",
            "default": false
          },
          "includePriceChanges": {
            "title": "Also listings whose price changed",
            "type": "boolean",
            "description": "With Only new listings on: also return listings you already got whose price moved since, with the old price in previous_price.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}