{"agent":{"expose":"search","prompt":"Use Crawl4AI to list the Idealista homes for sale or rent in a place."},"also":["spain real estate","spain homes","pisos","homes for sale"],"beta":true,"call":{"aliases":["POST /recipes/idealista-search"],"method":"POST","path":"/tools/idealista-search"},"categories":["real-estate"],"cost":{"cases":[{"price":"1.5 credits","when":"For 40 listings"},{"price":"0.5 credit","when":"For each 40 more"},{"price":"","when":"A call with a cursor skips the place lookup (0.5 credit less)"},{"price":"0.5 credit","when":"More when the run fetches a new token, 1 credit more when Idealista refuses the stored token"},{"price":"","when":"At most 0.5 credit for each call asked again on another address"},{"price":"","when":"A run Idealista refuses is run once more, its calls billed too"},{"price":"free","when":"A run with no row"}],"rule":"1.5 credits for 40 listings · 0.5 credit for each 40 more · a call with a cursor skips the place lookup (0.5 credit less) · 0.5 credit more when the run fetches a new token, 1 credit more when Idealista refuses the stored token · at most 0.5 credit for each call asked again on another address · a run Idealista refuses is run once more, its calls billed too · a run with no row is free","text":"1 to 4 cr a run"},"description":"The homes for sale or rent on Idealista (Spain) in one place, one row per listing, in Idealista's order: price, size, rooms, bathrooms, floor, address and area, map position, description, photos and the advertiser. `location` is a place name (a city, a district or a province: Madrid, Eixample, Valencia); Idealista's best match is used (its first, or a far bigger place among its next 3 matches) and named in the log. `operation` sale or rent; `limit` up to 200 a call, 40 a page; `next_cursor` gets the next listings. 1 to 3 s a page.","docs":"/tools/idealista-search","essential":false,"essential_order":null,"examples":[{"answer":{"body":{"request_id":"req_…","rows":[{"address":"Calle de la Virgen de los Peligros","advertiser_type":"professional","agency":"Gilmar Centro","agency_phone":"+34919383829","agency_reference":"AG224341","bathrooms":2,"city":"Madrid","description":"GILMAR Consulting Inmobiliario pone a su disposición esta impresionan…","district":"Centro","floor":"2","id":"111822363","images":["https://img4.idealista.com/s/v1/yLv6QcFaPGZ6ndqtd3fIzk6Adwsl4inLwTKbM…","https://img4.idealista.com/s/v1/yLv6QcFaPGZ6ndqtd3fIzk6Adwsl4inLwTKbM…","…"],"latitude":40.4193721,"longitude":-3.6975822,"neighborhood":"Huertas-Cortes","operation":"sale","price":1290000,"price_unit":"€","property_type":"flat","rooms":3,"size_m2":145,"title":"Piso en Calle de la Virgen de los Peligros, Huertas-Cortes, Madrid","url":"https://www.idealista.com/inmueble/111822363/"},{"address":"Calle de Castelló","advertiser_type":"professional","agency":"Gilmar Barrio de Salamanca","agency_phone":"+34919381590","agency_reference":"ES225041","bathrooms":2,"city":"Madrid","description":"Descubre esta magnífica vivienda de 154 m² en pleno corazón del barri…","district":"Barrio de Salamanca","floor":"4","id":"112858351","images":["https://img4.idealista.com/s/v1/yLv6QcFaPGZ6ndqtd3fIzk6Adwsl4inLwTKbM…","https://img4.idealista.com/s/v1/yLv6QcFaPGZ6ndqtd3fIzk6Adwsl4inLwTKbM…","…"],"latitude":40.4370923,"longitude":-3.6814487,"neighborhood":"Castellana","operation":"sale","price":1475000,"price_unit":"€","property_type":"flat","rooms":4,"size_m2":154,"title":"Piso en Calle de Castelló, Castellana, Madrid","url":"https://www.idealista.com/inmueble/112858351/"}],"took_ms":123,"tool":"idealista-search","usage":{"credits":1.5}},"credits":1.5,"more":1,"rows":3,"took_ms":123},"input":{"limit":40,"location":"Madrid","operation":"sale"},"label":"Madrid, sale, 40"},{"input":{"limit":3,"location":"Madrid","operation":"sale"},"label":"Madrid, sale, 3"}],"id":"idealista-search","input_schema":{"additionalProperties":true,"properties":{"cursor":{"description":"The next_cursor of the page before; send it alone to get the next page","type":"string"},"limit":{"default":40,"description":"`limit` up to 200 a call, 40 a page","type":"integer"},"location":{"description":"`location` is a place name (a city, a district or a province: Madrid, Eixample, Valencia)","type":"string"},"operation":{"default":"sale","description":"`operation` sale or rent","type":"string"}},"required":["location"],"type":"object"},"inputs":[{"example":"Madrid","help":"`location` is a place name (a city, a district or a province: Madrid, Eixample, Valencia)","name":"location","required":true,"type":"string"},{"advanced":true,"default":"sale","example":"sale","help":"`operation` sale or rent","name":"operation","type":"string"},{"advanced":true,"default":40,"example":40,"help":"`limit` up to 200 a call, 40 a page","name":"limit","type":"integer"},{"advanced":true,"help":"The next_cursor of the page before; send it alone to get the next page","name":"cursor","type":"string"}],"kind":"sites","name":{"lead":"Idealista","rest":"search"},"output":{"fields":[{"meaning":"Idealista's listing id (the digits in its /inmueble/<id>/ link).","name":"id","type":"string"},{"meaning":"The listing's page on idealista.com.","name":"url","type":"string"},{"meaning":"Idealista's title of the listing (Alquiler de piso en Calle de Còrsega).","name":"title","type":"string"},{"meaning":"sale or rent.","name":"operation","type":"string"},{"meaning":"Idealista's kind of home, the specific one when it gives one: penthouse, duplex, studio, semidetachedHouse, independantHouse (Idealista's spelling) and so on, else flat or chalet.","name":"property_type","type":"string"},{"meaning":"The asked price in euros: the whole price for a sale, the price a month for a rent (see price_unit).","name":"price","type":"integer"},{"meaning":"Idealista's unit for price: € for a sale, €/mes for a monthly rent.","name":"price_unit","type":"string"},{"meaning":"The built area in square metres.","name":"size_m2","type":"integer"},{"meaning":"The number of bedrooms.","name":"rooms","type":"integer"},{"meaning":"The number of bathrooms.","name":"bathrooms","type":"integer"},{"meaning":"The floor as Idealista gives it (1, 2, bj for the ground floor, en for a mezzanine); null for a house.","name":"floor","type":"string"},{"meaning":"The street, cut from Idealista's listing title; null when the advertiser hides the street.","name":"address","type":"string"},{"meaning":"The neighbourhood (barrio).","name":"neighborhood","type":"string"},{"meaning":"The district of the city.","name":"district","type":"string"},{"meaning":"The municipality.","name":"city","type":"string"},{"meaning":"The latitude Idealista shows on its map; near the home, not exact, when the advertiser hides the street.","name":"latitude","type":"number"},{"meaning":"The longitude Idealista shows on its map (see latitude).","name":"longitude","type":"number"},{"meaning":"The advertiser's whole description of the home, in Spanish (or as written).","name":"description","type":"string"},{"meaning":"The URLs of the listing's photos, in Idealista's order. Each URL is signed by Idealista and works for about a day.","name":"images","type":"string[]"},{"meaning":"The agency's commercial name; null for a private seller.","name":"agency","type":"string"},{"meaning":"The agency's phone number with the country prefix (+34…); null for a private seller, or when Idealista shows none.","name":"agency_phone","type":"string"},{"meaning":"The agency's own reference for the home; null when the advertiser gives none.","name":"agency_reference","type":"string"},{"meaning":"professional (an agency) or private (an owner).","name":"advertiser_type","type":"string"}],"row_is":"","view":"rows"},"paging":{"cursor_ttl_s":86400,"order":"ranked","page_size":40,"row_id":"id","state_version":1},"related":[{"id":"idealista-property","why":"Price, size, rooms, address, description, photos, agency"},{"id":"zillow-property","why":"Zpid, status, price, currency, zestimate, address, latitude, longitude"},{"id":"extract","why":"For a page no tool is built for: say the rows you want."}],"run":"sync","source":"idealista","status":"beta","summary":"Listings of a place: price, size, rooms, address, photos, agency","synonyms":["idealista","search","homes","spain","spain real estate","pisos","spain homes","homes for sale","homes for rent","rentals","property search","apartments in madrid"],"typical":"3 s","version":1,"visibility":"public"}