Search listings
One page of an idealista search in a place (a city, a district, a zone of the map), up to 30 listings for sale or rentals in Spain, Italy or Portugal, with every field idealista gives.
idealista/listings/search1 credit a callv1.0.0When to use it
You need the property listings idealista (idealista.com, idealista.it, idealista.pt) finds in Spain, Italy or Portugal: homes, new developments, offices, premises, business transfers, garages, land, storage rooms, buildings or rooms in a shared flat, for sale or to rent, with their price and its drops, size, rooms, floor, condition, photos, position and seller, the seller's phone included. Ask in one of two ways, never both: by url, a search's page on the site as a person has it in the address bar, with any of its filters and its order; or by location (a place's name, as idealista's place box finds it, or idealista's id of it) with the operation, the type of property, the prices, sizes, bedrooms, bathrooms, condition, features and order. One page holds 30 listings; follow next for the following page. idealista/listings/get gives one listing whole: its description in every language idealista has it in, its characteristics, its energy certificate, the seller's address.
Try it
The options on the left write the call; the answer on the right is the contract's example. With your API key, the same call returns live data.
curl https://api.lobstr.io/v2/run \ -H "Authorization: Bearer $LOBSTR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": "idealista", "operation": "listings/search", "options": { "location": "Madrid", "operation": "sale", "sort": "newest" } }'
An example answer. Run it on your own input.
{ "object": "run", "id": "run_adqhqm46n6xkngtgtrnyh7j5qy", "livemode": true, "source": "idealista", "operation": "listings/search", "version": "1.0.0", "schema_url": "https://api.lobstr.io/v2/catalog/idealista/listings/search", "options": { "location": "Madrid", "operation": "sale", "sort": "newest" }, "fields": null, "status": "succeeded", "count": 1, "has_more": true, "next": { "source": "idealista", "operation": "listings/search", "options": { "location": "Madrid", "operation": "sale", "sort": "newest", "cursor": "cur_7oxaigycyqpnb7mkj35qhg6hqdowv5fb6dca" } }, "cost": { "credits": 1 }, "results": [ { "position": 1, "object": "listing", "id": "113247666", "url": "https://www.idealista.com/inmueble/113247666/", "country": "es", "operation": "sale", "property_type": "studio", "typology": "flat", "subtypology": "studio", "is_transfer": null, "title": "Studio in Plaza de Verín, Pilar, Madrid", "subtitle": null, "description": "Excellent opportunity for sale in Plaza de Verín, a few meters from La Vaguada, with metro and bus links. Open-plan studio with an exterior window, an equipped kitchen and a full bathroom.", "reference": "215-10103", "price": { "amount": 199000, "currency": "EUR", "period": null, "former_amount": null }, "transfer_price": null, "main_price": "price", "price_label": null, "price_drop": null, "price_per_m2": 5853, "size": 34, "rooms": 0, "bathrooms": 1, "floor": "bj", "plot_area": null, "is_exterior": true, "has_lift": false, "condition": "good", "features": { "has_air_conditioning": null, "has_box_room": null, "has_garden": null, "has_swimming_pool": null, "has_terrace": null }, "parking": null, "situation": null, "is_new_development": false, "is_new_development_finished": null, "development_name": null, "flat_share": null, "has_tenants": null, "is_rent_to_own": null, "has_24h_access": null, "availability": null, "is_auction": null, "auction_date": null, "location": { "is_address_shown": false, "neighborhood": "Pilar", "district": "Fuencarral", "municipality": "Madrid", "province": "Madrid", "country": "es", "location_id": "0-EU-ES-28-07-001-079-08-004", "latitude": 40.4787903, "longitude": -3.70774 }, "media": { "photos": [ { "url": "https://img4.idealista.com/blur/WEB_LISTING/0/id.pro.es.image.master/2f/b5/be/1449043403.jpg", "tag": "room" }, { "url": "https://img4.idealista.com/blur/WEB_LISTING/0/id.pro.es.image.master/2f/b5/be/1449043404.jpg", "tag": "kitchen" } ], "videos": [], "virtual_tours": [], "home_staging": [], "photo_count": 6, "thumbnail_url": "https://img4.idealista.com/blur/WEB_LISTING/0/id.pro.es.image.master/2f/b5/be/1449043403.jpg", "has_reference_images": null, "has_plan": false, "has_video": false, "has_3d_tour": false, "has_360": false, "has_home_staging": false }, "seller": { "type": "professional", "name": "Adesa 33", "commercial_name": "adesa 33", "phone": { "number": "+34919387496", "as_written": "919 38 74 96", "country_code": "34", "is_national": true }, "contact_method": "all", "needs_login_to_contact": false, "needs_login_for_phone": false, "logo_url": "https://st3.idealista.com/2f/b5/be/adesa-33.gif", "microsite": "adesa-33" }, "labels": [], "ribbons": [], "promotion": { "group": null, "is_top_new_development": false, "is_new_development_highlight": false, "is_preference_highlight": false, "is_top_highlight": false, "is_top_plus": false, "is_urgent_visual_highlight": false, "is_visual_highlight": false }, "is_online_booking_active": false, "luxury_visibility": null, "first_published_at": null, "ids": { "listing_id": "113247666", "location_id": "0-EU-ES-28-07-001-079-08-004", "reference": "215-10103", "microsite": "adesa-33" }, "source_url": "https://app.idealista.com/api/3.5/es/search", "observed_at": "2026-12-04T16:20:00Z" } ] }
Options
urlstringlocationstringcountry; or idealista's id of a place, as a record's location.location_id says it (0-EU-ES-28-07-001-079 is Madrid), which names its country.country"es" | "it" | "pt"operation"sale" | "rent"property_type"homes" | "new_developments" | "offices" | "premises" | "business_transfers" | "garages" | "land" | "storage_rooms" | "buildings" | "rooms"price_minnumberprice_maxnumbersize_minnumbersize_maxnumberbedroomsstring[]Default []bathroomsstring[]Default []conditionstring[]Default []published_within"last_24_hours" | "last_48_hours" | "last_week" | "last_month"featuresstring[]Default []sort"relevance" | "newest" | "oldest" | "lowest_price" | "highest_price" | "biggest_price_drop" | "lowest_price_per_m2" | "highest_price_per_m2" | "largest" | "smallest" | "highest_floor" | "lowest_floor"language"en" | "es" | "ca" | "it" | "pt" | "fr" | "de"Default enpageintegerDefault 1next goes on from there.cursorstringnext in an answer, as it is: opaque, and only for the search it was given with (otherwise invalid_cursor).Record
Each record of results, in the envelope every call returns (Run an operation).
positionintegerobjectstringidstringurlstringcountrystringoperationstringproperty_typestringtypologystringsubtypologystringis_transferbooleantitlestringsubtitlestringdescriptionstringreferencestringprice.amountfloatprice.currencystringprice.periodstringprice.former_amountfloattransfer_price.amountfloattransfer_price.currencystringtransfer_price.periodstringtransfer_price.former_amountfloatmain_pricestringprice_labelstringprice_drop.amountfloatprice_drop.percentagefloatprice_drop.dropped_atdateprice_per_m2floatsizefloatroomsintegerbathroomsintegerfloorstringplot_areafloatis_exteriorbooleanhas_liftbooleanconditionstringfeatures.has_air_conditioningbooleanfeatures.has_box_roombooleanfeatures.has_gardenbooleanfeatures.has_swimming_poolbooleanfeatures.has_terracebooleanparking.has_parking_spacebooleanparking.is_included_in_pricebooleanparking.pricefloatsituation.codestringsituation.labelstringis_new_developmentbooleanis_new_development_finishedbooleandevelopment_namestringflat_share.flatmatesintegerflat_share.tenantsintegerflat_share.tenant_genderstringflat_share.max_tenantsintegerflat_share.is_smoking_allowedbooleanhas_tenantsbooleanis_rent_to_ownbooleanhas_24h_accessbooleanavailabilitystringis_auctionbooleanauction_datestringlocation.is_address_shownbooleanlocation.neighborhoodstringlocation.districtstringlocation.municipalitystringlocation.provincestringlocation.countrystringlocation.location_idstringlocation.latitudefloatlocation.longitudefloatmedia.photoslistmedia.videoslistmedia.virtual_tourslistmedia.home_staginglistmedia.photo_countintegermedia.thumbnail_urlstringmedia.has_reference_imagesbooleanmedia.has_planbooleanmedia.has_videobooleanmedia.has_3d_tourbooleanmedia.has_360booleanmedia.has_home_stagingbooleanseller.typestringseller.namestringseller.commercial_namestringseller.phone.numberstringseller.phone.as_writtenstringseller.phone.country_codestringseller.phone.is_nationalbooleanseller.contact_methodstringseller.needs_login_to_contactbooleanseller.needs_login_for_phonebooleanseller.logo_urlstringseller.micrositestringlabelslistribbonslistpromotion.groupstringpromotion.is_top_new_developmentbooleanpromotion.is_new_development_highlightbooleanpromotion.is_preference_highlightbooleanpromotion.is_top_highlightbooleanpromotion.is_top_plusbooleanpromotion.is_urgent_visual_highlightbooleanpromotion.is_visual_highlightbooleanis_online_booking_activebooleanluxury_visibilitystringfirst_published_atdateids.listing_idstringids.location_idstringids.referencestringids.micrositestringsource_urlstringobserved_atdateErrors
Its own, besides those of every call (Errors). A failed call is free.
| Code | Status | What it means |
|---|---|---|
invalid_input | 422 | Pass url (a search's page of the site) or location (a place's name or idealista's id), not both, and the operation, type of property, prices, sizes, bedrooms, bathrooms, condition, features and order the site offers. |
invalid_url | 422 | idealista reads no search on this address: give a search's page of idealista.com, idealista.it or idealista.pt, not a listing's (not charged). |
place_not_found | 422 | idealista's place box suggests no place for this location in this country; write it as a person would (not charged). |
ip_blocked | 503 | idealista refused the attempted IPs. Retry later; failed calls are free. Retryable. |
site_unavailable | 503 | idealista did not answer properly; retry later (not charged). Retryable. |
unexpected_answer | 424 | idealista answered in a shape we do not read yet; we are told and fix it (not charged). |
Price
1 credit a call, one page of up to 30 listings. An empty page, a place not found and a failed call are free. What a credit costs on each plan: Credits and pricing.
Changelog
1.0.02026-12-04