Idealista Scraper
Extract European property listings, rental prices, and neighborhood data from Idealista. Powered by spider-browser .
Extract data in minutes
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
stealth: 2,
captcha: "solve",
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.idealista.com/en/venta-viviendas/madrid-madrid/");
await page.content(10000);
const data = await page.evaluate(`(() => {
const listings = [];
document.querySelectorAll("article.item").forEach(el => {
const address = el.querySelector(".item-link")?.textContent?.trim();
const price = el.querySelector(".item-price")?.textContent?.trim();
const details = el.querySelector(".item-detail-char")?.textContent?.trim();
const agency = el.querySelector(".item-not-clickable-logo img")?.getAttribute("alt");
if (address) listings.push({ address, price, details, agency });
});
return JSON.stringify({ total: listings.length, listings: listings.slice(0, 10) });
})()`);
console.log(JSON.parse(data));
await spider.close(); Structured data endpoint
Extract structured JSON from idealista.com with a single POST request. AI-configured selectors, cached for fast repeat calls.
curl -X POST https://api.spider.cloud/fetch/idealista.com/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"return_format": "json"}' import requests
resp = requests.post(
"https://api.spider.cloud/fetch/idealista.com/",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
json={"return_format": "json"},
)
print(resp.json()) const resp = await fetch("https://api.spider.cloud/fetch/idealista.com/", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data); Data you can extract
Geo-based extraction
Handle map-based search interfaces with scroll and zoom interaction.
Access protection
Bypass rate limiting and bot detection on idealista.com property pages.
Property intelligence
Extract valuations, tax records, lot details, and neighborhood data.
More Real Estate scrapers
Extract real estate listings, property values, Zestimates, and neighborhood data from Zillow.
Extract property listings, pricing, agent info, and market data from Realtor.com.
Extract property listings, Redfin Estimates, market data, and agent info from Redfin.
Start scraping idealista.com
Get your API key and start extracting data in minutes.