Skip to main content
GET /v1/properties returns the properties of your subaccount that have at least one published listing, most recently added first, with their photos: the ones on Idealista and the ones you send from your CRM (below). A property you withdraw drops out of the list.
1

Call the API from your server

Your API key also reads your leads and conversations, so it must never reach the browser. Browsers cannot call the API anyway: requests from other websites are rejected. Fetch the list from your backend, or when you build your site.
2

Fetch every page

Request 100 properties at a time and follow next_cursor until has_more is false:
Node.js
If a page answers 400 parameter_invalid on cursor, a property was withdrawn while you were reading: start again from the first page.
3

Cache the list

Store the list and refresh it every few minutes instead of calling the API on every visit. Each API key can make 120 requests per minute, as described in Rate limits.
4

Map the fields

agent_notes are the internal notes for your agent: do not publish them.

Upload your catalog from your CRM

If your properties are not on Idealista, send them from your CRM with PUT /v1/properties/{reference}. Your agents find them like any other property, and GET /v1/properties lists the available ones.
  • reference is your CRM’s reference: 1 to 50 letters, digits, dots, hyphens or underscores, and not only dots. If yours have spaces or other characters, replace them the same way every time.
  • Each PUT replaces the whole property, so send every field each time. A photo already copied is not downloaded again: sending your whole feed every day is cheap. Send the requests for one reference one at a time.
  • Set available to false when a property is reserved or sold but your agents should still recognise it by its reference. DELETE it when it leaves your catalog.
  • features takes terrace, balcony, lift, parking, pool, garden, air_conditioning, storage_room, fitted_wardrobes and pets_allowed. In the response, features is a line of text in Spanish, the one your agents read.
  • Photos: up to 50, JPG, PNG or GIF, at a public URL that answers without redirects. A photo that cannot be copied comes back in warnings and the property is saved without it. image_not_copied means the URL does not work (not an image, an HTTP error, a redirect, too slow or larger than 20 MB): fix it at the source. image_deferred means it was not copied in time or we had a temporary problem: send the same PUT again, photos already copied are reused by URL.
This script reads an XML feed, sends each property and deletes the ones that are no longer in the feed. It remembers what it sent in uploaded.json.
Node.js
The API has no way to list the properties you sent that are not available, so your CRM must remember which references it sent, as the script does, to know what to delete. Run it as often as your feed changes. Each API key can make 120 requests per minute, as described in Rate limits: with a large feed the script hits 429 and waits.