Price per square meter by area
Pull every sale listing in a municipality with price and size, then compute the median price per square meter by district and property type.
- 1idealista
- Market table
Homes for sale and rent on Idealista in Spain, Portugal and Italy: price, size, rooms, type and location for every listing in a search, with optional per-listing details and stats, as typed JSON. Public data only.
One endpoint covers Idealista: send a place name, a location ID or property codes and get clean JSON back, for 2 credits per successful call.
Pick an endpoint, fill in the input and press Run. Without a key you see the catalog sample and nothing is billed. With your API key it runs a real call from your browser.
Every successful call costs 1 credit, whether the page holds one profile or a page of comments. Failed calls cost nothing. A free tier lets you try it first.
On Pro, 1,000 calls at 1 credit cost $1.58. Scale brings that to $1.20, so 250,000 Idealista calls a month is $299.
See all plans →| Plan | Price / mo | Credits / mo | Per 1,000 calls |
|---|---|---|---|
| Free | $0 | Free tier | — |
| Hobby | $29 | 15,000 | $1.93 |
| Pro | $79 | 50,000 | $1.58 |
| Scale | $299 | 250,000 | $1.20 |
Built to be easy to start with, even if you've never scraped a website. Here's how to get Idealista data in a few minutes:
country to es, pt or it.location per call.operation to sale or rent, and the order with sort_by.next_cursor; pass it back as cursor for the next page.X-API-Key header, or ask your AI agent over MCP.Every endpoint takes the same kind of input.
Start from a place, an area or a ZIP code.
Madrid// GET /api/v2/idealista/ { "location": "Madrid", "operation": "sale", "property_type": "homes", "country": "es", "sort_by": "mostRecent", "fetch_details": "true", "fetch_stats": "true" }
| Send this | Parameter | And you can get |
|---|---|---|
| Place name or location ID | location · country | Listings in that area with price, size, rooms, type and URL |
| Sale or rent | operation · property_type · sort_by | Only the listings and order you need |
| Property codes | property_codes | Those listings looked up directly |
| Extra data per listing | fetch_details · fetch_stats | Per-listing details and stats added to each row |
Optional on list endpoints: cursor (pass back next_cursor for the next page). Auth is one header: X-API-Key. Send parameters in the query string (GET) or as a JSON body (POST).
The one thing to know: each data type has its own shape. Field names stay the same on every call, so code and agents read them directly. Samples below come from the live catalog.
// GET /api/v2/idealista/?location=Madrid // one item of data.listings · catalog sample { "propertyCode": "111843951", "price": 499900, "operation": "sale", "propertyType": "flat", "size": 75, "rooms": 2, "municipality": "Madrid", "thumbnail": "https://img4.idealista.com/.../111843951.jpg", "url": "https://www.idealista.com/inmueble/111843951/", "scraped_at": "2026-06-24T12:00:00.000Z" }
Every response is {"success": true, "data": {…}}: your input echoed back, the result under its own key (profile, posts, comments…) and next_cursor for the next page.
Public Idealista data powers real estate market research in Spain, Portugal and Italy, rental yield estimates and new listing alerts. Here are three common jobs, and how the Idealista scraper endpoint runs each one.
Pull every sale listing in a municipality with price and size, then compute the median price per square meter by district and property type.
Search the same location twice, once with operation sale and once with rent, and compare typical asking rent with asking price for similar flats.
Sort by most recent and run the search every day. New property codes since the last run are fresh listings to call about before anyone else.
Idealista Scraper fetches clean, structured Idealista data at low cost: built for market research, rental analysis, listing alerts and AI agents.
Each request reads Idealista at call time, and every listing says when in scraped_at.
Same field names on every call: price, size and rooms as numbers.
Up to 50 listings per page with next_cursor; run up to 3 requests in parallel per key.
Spain, Portugal and Italy through one country parameter.
The Scrapier MCP server reaches the endpoint from Claude Code, Cursor, Windsurf and VS Code with one command.
Plain REST: Python, Node.js, cURL, n8n, Make, Zapier or Google Sheets.
fetch_details and fetch_stats add per-listing details and stats to each row.
When Idealista changes its pages, Scrapier updates the scraper; your field names stay the same.
2 credits per call, however many listings the page holds. Failed calls are never billed.
Idealista's own API is available by request: you apply, and approved users get a key and secret with a usage quota Idealista sets. Scrapier reads public Idealista listings with one API key, at a price you know before the call runs.
Any non-2xx response is free, so retries cost nothing.
At 2 credits a call, with up to 50 listings per call.
No API access request, key and secret or OAuth token to manage.
The same key and JSON envelope cover Zillow, Realtor.com, Airbnb, Google Maps and more.
| Feature | Scrapier Idealista Scraper | Idealista API (by request) | DIY scraper |
|---|---|---|---|
| Whose data | Any public listing | Public listings, after approval | Any public listing |
| Setup | One API key | Access request, key and secret | Proxies, browsers, parsers |
| Maintenance | Handled by Scrapier | Token handling, API changes | Breaks on layout changes |
| Cost | From $1.20 per 1,000 calls | Quota set by Idealista | Servers, proxies and engineering time |
| AI agents | MCP server included | Build your own | Build your own |
Spain, Portugal and Italy, the three Idealista markets the endpoint supports. Set country to es, pt or it. The location you send must be in that country, and the setting is locked into the cursor for every page.
A place name such as Madrid, or an Idealista location ID such as 0-EU-ES-28-07-001-079 for a precise area. Send one location per call. To look up known listings instead, send their codes in property_codes.
Yes. Set operation to sale or rent. Use property_type to choose the kind of property and sort_by to set the order; the default is most recent first. These settings are locked into the cursor.
Each row has the property code, price, operation, property type, size, rooms, municipality, thumbnail, listing URL and scraped_at time. With fetch_details and fetch_stats on, each row also carries per-listing details and stats.
As many as Idealista shows publicly for the search. Each page holds up to 50 listings and next_cursor; pass it back as cursor for the next page. The response also gives the total count. Each page is one call at 2 credits.
When Idealista doesn't show a value, the field is null, so you can tell "not shown" from zero. Check for null before you compute averages such as price per square meter.
It depends on what you collect, where you are and how you use it, so this is not legal advice. Scrapier returns publicly visible data only. Advertiser contact details in listing details can be personal data under GDPR, so collect only what you have a legitimate reason to use.
Yes. Any tool that can make an HTTP request works: n8n, Make, Zapier, Google Sheets, Airbyte or your own code. Send your key in the X-API-Key header and read the JSON response.
Yes. Run claude mcp add -t http scrapier https://mcp.scrapier.io/mcp with your key in an X-API-Key header. The agent finds the Idealista endpoint with search_endpoints and calls it with run_scrape, in Claude Code, Cursor or Windsurf.
Check the status code first: 401 means the X-API-Key header is missing, 403 an invalid key, 402 no credits left, 429 too many requests (wait Retry-After seconds). Check that the location exists in the country you set, then report the request and response.
The Idealista endpoint costs 2 credits per successful call, however many listings the page holds. Failed calls are free. Plans: Hobby $29 for 15,000 credits, Pro $79 for 50,000, Scale $299 for 250,000, Enterprise custom. A free tier lets you try it first.
Run up to 3 requests in parallel per API key. If you go faster, the API answers 429 with a Retry-After header: wait that many seconds and retry. 429 and 5xx responses are never billed. Set a client timeout of 210 seconds or more.
Use the requests library: requests.get("https://proxy.scrapier.io/api/v2/idealista/", headers={"X-API-Key": key}, params={"location": "Madrid", "operation": "sale", "country": "es"}, timeout=210). Read r.json()["data"]["listings"] directly; there is no HTML to parse or proxy to run.
Yes, by request. Idealista reviews applications and gives approved users a key and secret with a usage quota it sets. Scrapier needs no application: one API key reads public Idealista listings in Spain, Portugal and Italy.
Free API key. No sales call, no proxy setup, and failed calls are free.