# Homes for Sale in Madrid - Pisos.com Listings

**Use case:** 

One run on 26 Sep 2026 returned 100 homes for sale in Madrid province from pisos.com, newest first, of the 16,166 the site counted: 83 flats and 17 houses. All 100 have a price (EUR 89,000 to 7,900,000) and an area, 94 a bedroom count, 56 a floor and 90 a photo. 67 are in Madrid Capital. 92 name an agency (59 in all) and 99 carry a map point.

## Input

```json
{
  "location": "madrid",
  "listingType": "sale",
  "propertyType": [
    "homes"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "image_urls": {
    "label": "Photo",
    "format": "array"
  },
  "title": {
    "label": "Listing title",
    "format": "string"
  },
  "property_type": {
    "label": "Property type",
    "format": "string"
  },
  "listing_type": {
    "label": "Sale or rent",
    "format": "string"
  },
  "price": {
    "label": "Price (rent per month)",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "bedrooms": {
    "label": "Bedrooms (habitaciones)",
    "format": "integer"
  },
  "living_area_sqm": {
    "label": "Area (m²)",
    "format": "number"
  },
  "city": {
    "label": "Town",
    "format": "string"
  },
  "agency": {
    "label": "Agency (from its pisos.com profile)",
    "format": "string"
  },
  "source_url": {
    "label": "Listing URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Pisos.com Scraper - Spain Property Listings · $1.5/1K](https://apify.com/listingworks/pisos-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/listingworks/pisos-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/listingworks/pisos-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
