# Extract Fotocasa Madrid rental listings

**Use case:** 

Run a source-specific Fotocasa API search URL for Madrid rentals and export canonical listing URLs, monthly prices, features, and public agent details.

## Input

```json
{
  "searchUrls": [
    {
      "url": "https://web.gw.fotocasa.es/v2/propertysearch/search?combinedLocationIds=724%2C0%2C28%2C173%2C0%2C0%2C0%2C0%2C0"
    }
  ],
  "combinedLocationIds": [
    "724,0,28,173,0,0,0,0,0"
  ],
  "transactionTypeId": 3,
  "filters": {
    "maxPrice": 500000,
    "minRooms": 2
  },
  "maxItems": 15,
  "maxPagesPerSearch": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "ES"
  }
}
```

## Output

```json
{
  "listingId": {
    "label": "Listing ID",
    "format": "integer"
  },
  "listingUrl": {
    "label": "Listing URL",
    "format": "string"
  },
  "transaction": {
    "label": "Transaction",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "address": {
    "label": "Address",
    "format": "string"
  },
  "rooms": {
    "label": "Rooms",
    "format": "number"
  },
  "bathrooms": {
    "label": "Bathrooms",
    "format": "number"
  },
  "surfaceM2": {
    "label": "Surface (m²)",
    "format": "number"
  },
  "publishedAt": {
    "label": "Published at",
    "format": "string"
  },
  "advertiser": {
    "label": "Advertiser",
    "format": "object"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## About this Actor

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