Idealista Property Scraper - Listings, Prices, Locations
Pricing
from $0.85 / 1,000 listings
Idealista Property Scraper - Listings, Prices, Locations
Get Idealista property listings from Spain, Italy and Portugal as one row per listing: price, price per m², size, rooms, coordinates, photos and advertiser phone. Three dataset views: Listings (24 columns), Listings + detail (67), Location codes. Search by place name or location ID.
Pricing
from $0.85 / 1,000 listings
Rating
0.0
(0)
Developer
R.L.
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
0
Monthly active users
8 days ago
Last modified
Categories
Features
Share
Idealista Property Scraper - Listings, Prices, Contacts
Idealista Property Scraper returns property listing rows from the Idealista mobile API for Spain, Italy and Portugal. It exposes three dataset views: Listings (24 columns), Location codes (6 columns) and Listings + detail (67 columns). A default search runs with country: "es", operation: "sale", propertyType: "homes" and maxItems: 100, and writes one flat row per property with id, url, price, currency, price_by_area, size_m2, rooms, bathrooms, address, district, municipality, latitude, longitude, photos, advertiser and phone.
The user supplies no Idealista account, cookie or API key. The Actor reads the Android app's OAuth2 client_credentials token from /api/oauth/token and signs each request with the app's HMAC-SHA256 Signature and seed headers. That keeps the input to a place name or location code, the filters and an optional Apify Proxy configuration. Rows land in an Apify dataset with fixed column names, so an agent or a scheduled job can slice by district, operation, property type or price without parsing HTML.
Field-by-field reference: data dictionary index.
What does this Actor return?
Three schema-defined views cover the two input modes. Choose mode: "search" for property rows and mode: "locations" for the location-code lookup that feeds locationIds.
| Dataset view | Selected by | Columns | What the row carries |
|---|---|---|---|
Listings (listings) | mode: "search" | 24 | id, url, title, price, currency, price_by_area, former_price, price_drop_pct, size_m2, rooms, bathrooms, floor, address, district, municipality, province, latitude, longitude, num_photos, photos, advertiser, phone |
Location codes (locations) | mode: "locations" | 6 | name, location_id, level, total_listings, divisible, code_depth |
Listings + detail (detailed) | mode: "search" with includeDetails: true | 67 | Every Listings column, 7 more listing fields (country, description, exterior, has_lift, neighborhood, new_development, status) and 36 detail columns |
The detail columns are named fields, not a nested blob: street, typology, home_type, constructed_area_m2, usable_area_m2, garden, boxroom, swimming_pool, furnished, energy_certification, advertiser_type, contact_name, agency_reference, agency_address, agency_total_ads, detail_images, detail_videos, virtual_tours, has_360_tour, property_comment, detail_url, ad_state, modified_at, allows_remote_visit, allows_counter_offers and allows_mortgage_simulator are among them. That makes the enriched rows usable in the Dataset table view and in a CSV or Excel export.
What is inside a listing row?
The search row comes from POST /api/3.5/{country}/search, which is called with 40 items in each page request. The Actor maps propertyCode to id, the app's priceInfo block to price, currency and price_drop_pct, and contactInfo to advertiser and phone. The photos column holds image URLs from the card's multimedia block, and num_photos reports the count.
The example below uses the row shape in this repo's tests, described there as probed live on 2026-11-03. It is one row, not an invented aggregate.
| Field | Value in the sample row |
|---|---|
id | 112339050 |
url | https://www.idealista.com/inmueble/112339050/ |
address | Calle Alcalá |
neighborhood / district | Barrio Goya / Distrito Barrio de Salamanca |
municipality / province | Madrid |
rooms / bathrooms | 4 / 2 |
size_m2 | 149 |
num_photos | 30 |
advertiser | Engel & Völkers Madrid |
location_id (detail view) | 0-EU-ES-28-07-001-079-04-002 |
A second fixture, taken from the listing-card shape, uses property code 107208445 with address Calle de Embajadores, neighborhood Lavapiés, district Embajadores, 3 rooms, 2 bathrooms and advertiser Inmobiliaria Centro Madrid. These are the specific names and codes the parser tests check; they show the granularity a row carries, not a promise that every search returns them.
How do I choose a place and narrow the search?
_search_args requires at least one of location, locationIds, center or freeText. A search with none of them ends with an Invalid input status message rather than a request.
| Input | What it does | Grounded example |
|---|---|---|
location | A city, area or neighbourhood name resolved through GET /api/3/{country}/locations | Madrid, Barcelona, Malasaña |
locationIds | Search directly by Idealista hierarchical codes, bypassing name resolution | 0-EU-ES-28-07-001-079-04-002 |
center | Radius search around a latitude and longitude pair | 40.4168,-3.7038 |
freeText | Keyword filter passed to the search API | any keyword accepted by Idealista |
Optional filters are priceMin, priceMax, sizeMin, sizeMax and bedrooms. The propertyType input has 12 selectable values in the schema: homes, flats, penthouses, duplexes, houses, rooms, premises, offices, garages, lands, storageRooms and buildings. operation has 2 values, sale and rent.
For a precise target, run mode: "locations" first. It calls the same location endpoint, writes name, location_id, level (for example Provincia, Municipio, Distrito or Barrio), total_listings and divisible, and has no charge event. Feed the returned location_id values into locationIds for the property search. The location lookup has no maxItems cap, because a truncated code list defeats its purpose.
Which markets does it cover?
The country input is a select with three values. The code sends the same app.idealista.com search, detail and location paths for each one, with the market code in the path.
| Market | country value | Example place from the source |
|---|---|---|
| Spain | es (default) | Madrid, Barcelona, Malasaña, Lavapiés |
| Italy | it | set country: "it" with your place name |
| Portugal | pt | set country: "pt" with your place name |
The transport is impit with the okhttp fingerprint, matching the idealista/15.4.1 (Linux; Android 13) User-Agent sent by the app. Requests carry k and t query parameters and a bearer token that the client refreshes after a 401. Search, detail and location data are JSON; there is no HTML parsing or headless browser step.
How does includeDetails change the output?
With includeDetails: false (the default), a search writes the 24-column Listings view. With includeDetails: true, each listing gets one extra detail request to GET /api/3/{country}/detail/{adId} and the row is written to the 67-column Listings + detail view. detailConcurrency controls how many of those requests run in parallel: the default is 8 and the schema accepts 1 to 16.
The detail payload is flattened into 36 named columns before the row is written; the raw nested object is dropped. Every enriched row carries all 36 columns, with null where the listing has no value, so column positions stay the same in an export. If a detail request fails, or an HTTP 200 comes back with no usable content, the listing row still ships and the detail columns are empty. No detail charge event is sent for a row with no detail content.
What happens when a run stops or an upstream call fails?
Bad input is reported in the run status and does not mark the run FAILED: a missing place name or an unknown mode produces an Invalid input message. An Idealista failure on the first search page is different. It raises UpstreamError and fails the run, so a run that delivered no rows is not counted as a success. A failure on a later page logs a warning and stops with the rows already delivered.
Rows are keyed on id (falling back to url) and duplicates are dropped before delivery; location rows are keyed on location_id or name in their own scope. maxItems defaults to 100, counts delivered rows only, and 0 means all pages. A run that reaches a maximum total charge stops with a status message saying it is not the end of the results. If the Apify charging API stops answering, the Actor stops instead of collecting rows it cannot bill.
The two listing charge events are listing for a delivered row and listing-details for a row with detail content. The location-code mode has no charge event. Current event descriptions and plan tiers are on the Pricing tab of the Actor page.
What do buyers ask?
Do I need an Idealista account, cookies or an API key? No. The Actor fetches the app's own OAuth2 token and signs its requests; there is no user credential in the input schema.
Which countries does it support?
Spain (es), Italy (it) and Portugal (pt). Those are the three values in the country select, with es as the default.
Can I search a neighbourhood rather than a city?
Yes. location takes a place name such as Madrid, Barcelona or Malasaña and Idealista's location endpoint resolves it. You can also pass a location code in locationIds or a coordinate pair in center.
What does a plain Listings row contain?
24 columns, among them id, url, operation, property_type, price, currency, price_by_area, size_m2, rooms, bathrooms, floor, address, district, municipality, latitude, longitude, num_photos, photos, advertiser and phone.
When do I need includeDetails?
When you want the long description, characteristics, agency data, media links or ad state as columns. It adds 36 columns and one detail request for each listing, with 1 to 16 requests in parallel.
Will a failed detail fetch lose the listing? No. The row is delivered with the detail columns empty, and the detail charge event is not sent for that row.
How are duplicates and caps handled?
Rows with the same id or url are dropped before delivery. maxItems defaults to 100 and limits delivered rows; 0 removes the cap. Location-code rows are not capped by maxItems.
Where is the full field list, and where do I check pricing? The data dictionary documents all 75 fields across the 3 views, including the 36 detail columns. The Pricing tab on the Actor page shows the current charge events and plan tiers.