GET /v1/listings/{listingKey}/similar
Listings like this one: same city and class, near its price and size.
| Access | |
|---|---|
| Keys | publishable or secret |
| Plan | every plan |
| Environment | live and sandbox |
| Acts for | the account |
| While the account is suspended | refused |
| During a data stop | refused |
Path
| Name | Type | Description |
|---|---|---|
listingKey |
string | Required. The listing's key. With ?mlsNumber=true, an MLS number, current or past, in its place. |
Query
| Name | Type | Description |
|---|---|---|
limit |
integer | How many: 1 to 10. 3 when left out. |
Headers
| Name | Description |
|---|---|
X-Client-Token |
Optional, with a publishable key: a token your server minted for a consumer with POST /v1/client-tokens. With it, each listing says whether it is a favorite of theirs (isFavorite). |
X-Client-Id |
Optional, with a secret key: your own opaque ID for a consumer, to the same end. |
Answers
200: The similar listings, nearest price first
The answer is { data, meta, compliance, warnings }: meta holds requestId, environment and dataLastUpdatedAt; compliance is the block of notices to show; warnings is a list of Warning, empty when there is nothing to say.
data is a list of ListingSummary.
Errors
Every error has the same body, and says how to fix it (responses and errors).
More
Up to limit (1 to 10, default 3) listings in the same city and property class, with the same
on-market or closed status, within ±10% of the subject's price and living area, nearest price
first. A subject with no shown price or no living area is matched without that range, with
the warning filter_not_applicable.
This page is made from the route's own declaration by npm run openapi. To change it, change the declaration or its explanation, never this file.