curl --request POST \
--url https://api.scrapeunblocker.com/realestate/idealista \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/realestate/idealista"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/realestate/idealista', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Scrape idealista property listings (Spain, Italy, Portugal)
Searches idealista (idealista.com, idealista.it, idealista.pt) for location - or takes any idealista search url - and returns the listings as JSON: id, url, title, price + currency (+ pricePeriod for rentals), originalPrice and priceDropPercent after a price cut, pricePerM2, area, rooms, floor, lift, exterior, parking, description, tags, images, imageCount, multimedia (plan, video, 3D tour), agency and professional. Filter by operation (sale / rent), property_type, price and size ranges, rooms, bathrooms and features, order with sort, and collect up to max_results across pages (30 per page; idealista shows at most 60 pages per search). A search with no match answers 200 with an empty listings. Billed one unit per page fetched (pagesFetched).
curl --request POST \
--url https://api.scrapeunblocker.com/realestate/idealista \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/realestate/idealista"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/realestate/idealista', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Query Parameters
Any idealista search URL (idealista.com, idealista.it or idealista.pt) with its filters, e.g. https://www.idealista.com/alquiler-viviendas/barcelona-barcelona/con-precio-hasta_2000,de-dos-dormitorios/. Overrides location and the filter parameters.
Response
JSON with a listings array, totalResults and nextPage.

