Skip to main content

How do I retrieve property listings?

Call GET /v1/properties with the country you want, add any filters, and follow next_cursor until has_more is false.

A first request looks like this:

GET api.housingmarketapi.com/v1/properties?country=TH&limit=10

country is required and must be a country your key covers. Each response holds one page of listings in data, together with next_cursor and has_more. To read the next page, send the same request again with cursor set to the next_cursor you received. When has_more is false there is nothing more to read.

The response never includes a total, and there is no way to ask for one. The filters you can add are listed under “Can I filter listings?”.

Still need help?

If this did not answer your question, get in touch and we will help.

Contact support