Go to example tasks

Rental yield in Madrid by district and bedrooms

Gross rental yield for every district and bedroom count in Madrid, from all Habitaclia flats for sale and for long-term rent. Medians in EUR, sample sizes and confidence.

Try for free
Habitaclia Scraper with Rental Yield & Deal Score – Spain
Habitaclia Scraper with Rental Yield & Deal Score – Spaindata-nest/habitaclia-rental-yield
City
District
Bedrooms
Gross yield (%)
+6 fields
Text
Number
Boolean
List
Object

Input

Cities:madrid
What to return:yieldReport
Bedrooms:0+4
Listings per city and side:0
Minimum sale listings per group:15
Minimum rent listings per group:10

Output fields

City
District
Bedrooms
Gross yield (%)
Median sale EUR/m²
Median rent EUR/m²/month
Sale listings
Rent listings
Confidence
Compared at

How it works

Sign up on Apify or log in

The Habitaclia Scraper with Rental Yield & Deal Score – Spain Actor is ready to run with the inputs already set for "Rental yield in Madrid by district and bedrooms". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Rental yield in Madrid by district and bedrooms" task

The Habitaclia Scraper with Rental Yield & Deal Score – Spain Actor will start running based on the input automatically. You can also change all the input fields, like cities, what to return, and more, to match your specific use case.

Receive the "Rental yield in Madrid by district and bedrooms" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as city, district, bedrooms, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Rental yield in Madrid by district and bedrooms" task via API.

Image

Integrate "Rental yield in Madrid by district and bedrooms" into your workflow

Connect "Rental yield in Madrid by district and bedrooms" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

One row per district and bedroom group in Madrid (studio to 4+ bedrooms): median asking price per m², median asking rent per m² per month, gross rental yield, number of listings and a confidence level. Prices in EUR.

You pay $0.03 per yield group with high or medium confidence (Free plan price; lower on paid plans). Low-confidence groups are free. Our test run on 27 November 2026 returned 61 paid groups, which is $1.83.

The task reads the whole Madrid market, district by district: about 680 result pages at one request per second. Plan for at least 12 minutes.

In our run on 27 November 2026 the city-wide gross yield was 5.79% (6,216 EUR/m² to buy, 30.0 EUR/m² a month to rent). It ranged from 8.88% (2 bedrooms, Puente de Vallecas) to 2.88% (3 bedrooms, Barrio de Salamanca).

No. Listings that the portal marks as temporary rentals are kept out of all medians, because they would push the yield up. In Madrid they were 31% of rent listings.

They are gross yields from asking prices and asking rents. Yields based on signed contracts are typically lower, and costs such as taxes, fees and vacancy are not deducted. Studios show the highest yields, so treat them with extra care.

Yes. Set mode to listings to get every flat for sale and for rent with a deal score, estimated rent and estimated yield, at $0.001 per listing (Free plan price).