# Madrid New Build Apartment Listings Scraper

**Use case:** 

Extract new build apartment listings for sale in Madrid. Get comprehensive real estate data in CSV, JSON, or Excel formats.

## Input

```json
{
  "transactionType": "new",
  "propertyType": "apartment",
  "location": "madrid_capital",
  "sortBy": "relevance",
  "advertiserType": "all",
  "maxListings": 200,
  "maxPages": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "ES"
  }
}
```

## Output

```json
{
  "adId": {
    "label": "Ad id"
  },
  "title": {
    "label": "Title"
  },
  "transactionType": {
    "label": "Transaction type"
  },
  "propertyType": {
    "label": "Property type"
  },
  "price": {
    "label": "Price (EUR)"
  },
  "priceCurrency": {
    "label": "Price currency"
  },
  "areaSqm": {
    "label": "Area (m²)"
  },
  "rooms": {
    "label": "Rooms"
  },
  "bathrooms": {
    "label": "Bathrooms"
  },
  "city": {
    "label": "City"
  },
  "province": {
    "label": "Province"
  },
  "advertiserName": {
    "label": "Advertiser name"
  },
  "advertiserType": {
    "label": "Advertiser type"
  },
  "detailUrl": {
    "label": "URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Pisos.com Scraper — Spain Real Estate Data](https://apify.com/logiover/pisos-com-property-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/logiover/pisos-com-property-scraper) to learn more, explore other use cases, and run it yourself.