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 If a page answers
next_cursor until has_more is false:Node.js
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 withPUT /v1/properties/{reference}. Your agents find them like any other property, and GET /v1/properties lists the available ones.
referenceis 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
PUTreplaces 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
availabletofalsewhen a property is reserved or sold but your agents should still recognise it by its reference.DELETEit when it leaves your catalog. featurestakesterrace,balcony,lift,parking,pool,garden,air_conditioning,storage_room,fitted_wardrobesandpets_allowed. In the response,featuresis 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
warningsand the property is saved without it.image_not_copiedmeans 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_deferredmeans it was not copied in time or we had a temporary problem: send the samePUTagain, photos already copied are reused by URL.
uploaded.json.
Node.js
429 and waits.