# Madrid Property Listings Scraper

**Use case:** 

Retrieve detailed property data for sale in Madrid. Get information on price, size, rooms, photos, and more from Idealista.com.

## Input

```json
{
  "district": "Madrid",
  "country": "es",
  "operation": "sale",
  "propertyType": "homes",
  "maxItems": 30,
  "endPage": 50,
  "fetchDetails": false,
  "startUrl": [],
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "minSize": "any",
  "maxSize": "any",
  "bedrooms": [],
  "bathrooms": [],
  "homeType": [],
  "condition": [],
  "propertyStatus": [],
  "floorHeights": [],
  "features": []
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "link"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "id": {
    "label": "Id",
    "format": "number"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "size": {
    "label": "Size",
    "format": "number"
  },
  "baths": {
    "label": "Baths",
    "format": "number"
  },
  "rooms": {
    "label": "Rooms",
    "format": "number"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "hideAddress": {
    "label": "hideAddress",
    "format": "boolean"
  },
  "latitude": {
    "label": "Latitude",
    "format": "number"
  },
  "longitude": {
    "label": "Longitude",
    "format": "number"
  },
  "typology": {
    "label": "Typology",
    "format": "text"
  },
  "subTypology": {
    "label": "Sub typology",
    "format": "text"
  },
  "photos": {
    "label": "Photos",
    "format": "array"
  },
  "videos": {
    "label": "Videos",
    "format": "array"
  },
  "listingUpdate": {
    "label": "Listing update",
    "format": "Date"
  },
  "listingUpdateText": {
    "label": "Listing update text",
    "format": "text"
  },
  "priceDown": {
    "label": "Price down",
    "format": "text"
  },
  "priceDownPercentage": {
    "label": "Price down percentage",
    "format": "text"
  },
  "contacts": {
    "label": "Contacts",
    "format": "object"
  }
}
```

## About this Actor

This example demonstrates how to use [Idealista.com](https://apify.com/lukass/idealista-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/lukass/idealista-scraper) to learn more, explore other use cases, and run it yourself.