# Pisos en venta en Madrid en Fotocasa

**Use case:** 

Scrape property listings for sale in Madrid from Fotocasa.es. Get prices, rooms, area, GPS coordinates, agency contacts, and photos.

## Input

```json
{
  "maxItems": 50,
  "location": "Madrid",
  "operation": "buy",
  "rentalTypes": [],
  "propertyType": "home",
  "minPrice": 0,
  "maxPrice": 0,
  "minSize": 0,
  "maxSize": 0,
  "publicationDate": "lastWeek",
  "sortBy": "latest",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "propertyId": {
    "label": "ID",
    "format": "text"
  },
  "transaction": {
    "label": "Transaction",
    "format": "object"
  },
  "surface": {
    "label": "Area (m²)",
    "format": "number"
  },
  "rooms": {
    "label": "Rooms",
    "format": "number"
  },
  "baths": {
    "label": "Baths",
    "format": "number"
  },
  "street": {
    "label": "Street",
    "format": "text"
  },
  "floor": {
    "label": "Floor",
    "format": "text"
  },
  "publicationDate": {
    "label": "Published",
    "format": "text"
  },
  "agency": {
    "label": "Agency",
    "format": "object"
  },
  "detailUrl": {
    "label": "Detail URL",
    "format": "link"
  }
}
```

## About this Actor

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