Overview
The Listings API returns published property listings (for sale or rent) from the AnyHouse platform. Which listings you get depends on your API key:- AnyHouse API key — Returns all published listings (full catalog). Used by the AnyHouse app and main website.
- Platform API key — Returns only listings from agencies connected to your platform. Used by partners (e.g. whitelabel sites, portals) that show a subset of inventory.
401 Unauthorized.
Endpoint
GETAuthentication
You must send an API key with every request. You can use either of the following methods.Bearer Token
Use the standard Authorization header.
X-Api-Key
Use your partner API key.
Option 1 — Bearer Token
Option 2 — X-Api-Key Header
How the API key affects results
| API key type | Scope | Listings returned |
|---|---|---|
| AnyHouse key | All | Every published listing on the platform |
| Platform key | Platform | Only listings from agencies linked to your platform |
Query Parameters
All parameters are optional. Use them to filter and paginate results.| Parameter | Type | Description |
|---|---|---|
type | string | buy or rent. Filters by listing type. |
min_price | number | Minimum price (in the currency used with rate). |
max_price | number | Maximum price (in the currency used with rate). |
min_bedrooms | number | Minimum number of bedrooms. |
min_bathrooms | number | Minimum number of bathrooms. |
min_size | number | Minimum size in m². |
listing_type | number | Property category ID (e.g. 1 = Apartment, 2 = Villa). See Listing Types for all IDs. |
new_build | string | Filter by new build. |
specifications | string | Comma-separated amenity/feature IDs (e.g. 4,6,13 for Pool, Beachfront, Sea view). See Specifications for all IDs. |
search | string | Free-text search. |
north_west | string | North-west corner of map bounds (e.g. lat,lng). |
south_east | string | South-east corner of map bounds (required if north_west is set). |
move_in_date | string | Move-in date (ISO date). |
currency | string | Currency code for display. |
rate | number | Exchange rate (e.g. to convert prices). Default 1. |
limit | number | Number of results per page (default 100, max 100). |
cursor | string | Pagination cursor from the previous response. |
order_by | string | newest (default) or popular. |
agency | string | When true, disables “show all promoted” behavior. |
Example Request
Success Response
The response is a JSON object with adata array of listing objects and pagination cursors.
Pagination
- Use the
cursorornext_cursorvalue from the response as thecursorquery parameter in the next request to get the following page. - When there are no more results,
cursorandnext_cursormay benullor omitted.
Error Responses
401 — Unauthorized
Missing or invalid API key.422 — Validation Error
Invalid query parameters (e.g. invalidlisting_type, invalid geo format).
Related reference
- Listing Types — IDs and labels for the
listing_typeparameter (Apartment, Villa, Land, etc.). - Specifications — IDs and labels for the
specificationsparameter (Pool, Beachfront, Gym, etc.).
When to Use This Endpoint
Use GET /api/listings when:- You are building an app or website that displays AnyHouse property inventory.
- You have an AnyHouse API key and want the full catalog, or a platform API key and want only your platform’s listings.
- You need to filter by type (buy/rent), price, bedrooms, location, or search, and paginate with cursors.