GET /v1/listings/map
Pins and clusters for a map, with the filters as query keys.
| 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 |
Query
The search's filters as query keys: dotted keys for nested fields, commas between the items of a list, and Name|ST for a city or a subdivision. The same search as a JSON body is a SearchRequest, where each filter is described.
| Key | Example | Description |
|---|---|---|
status |
active,pending |
Statuses, separated by commas. Left out: active. |
propertyClass |
residential,land |
Property classes, separated by commas. |
structureType |
detached,condo_apartment |
Structure types, separated by commas. |
price.min |
300000 |
The lowest list price, in US dollars. |
price.max |
450000 |
The highest list price, in US dollars. |
beds.min |
3 |
The lowest number of bedrooms. |
beds.max |
5 |
The highest number of bedrooms. |
baths.min |
2 |
The lowest number of baths, a half bath counting half. |
baths.max |
3.5 |
The highest number of baths, a half bath counting half. |
livingAreaSqft.min |
1500 |
The lowest living area, in square feet. |
livingAreaSqft.max |
3000 |
The highest living area, in square feet. |
lotSizeAcres.min |
0.25 |
The lowest lot size, in acres. |
lotSizeAcres.max |
2 |
The highest lot size, in acres. |
yearBuilt.min |
1990 |
The lowest year built. |
yearBuilt.max |
2020 |
The highest year built. |
closeDate.from |
2026-01-01 |
Closed on or after this day. |
closeDate.to |
2026-06-30 |
Closed on or before this day. |
keywords |
fenced yard |
Words searched in the public remarks and the feature lists. |
location.placeIds |
pl_…,pl_… |
Place IDs, separated by commas: any kind on every plan, except school districts, which are Premium. |
location.postalCodes |
19003,19041 |
ZIP codes, separated by commas. |
location.cities |
Bryn Mawr|PA,Dover|DE |
Cities as Name|ST, separated by commas. |
location.subdivisions |
Wynnewood Park|PA |
Subdivisions as Name|ST, separated by commas. |
location.bbox |
-75.42,40.00,-75.30,40.08 |
minLng,minLat,maxLng,maxLat. |
location.radius.center |
-75.3,40.01 |
lng,lat. |
location.radius.meters |
1609 |
The radius in metres. Alone, with one community among the place IDs: that community's radius, from 400 to 8000. |
location.shapeId |
shp_… |
Premium. A saved shape's ID, of the consumer the request acts for. |
listAgentMlsId |
3012345 |
The listing or co-listing agent's MLS ID. |
listOfficeMlsId |
OFFICE1 |
The listing or co-listing office's MLS ID. |
openHouse.from |
2026-12-05 |
An open house on or after this day. |
openHouse.to |
2026-12-06 |
An open house on or before this day. |
modifiedSince |
2026-11-01T00:00:00Z |
Changed at or after this instant. |
hasBasement |
true |
true to require it. |
hasFireplace |
true |
true to require it. |
hasPool |
true |
true to require it. |
seniorCommunity |
true |
true to require it. |
petsAllowed |
true |
true to require it. |
newConstruction |
true |
true to require it. |
waterfront |
true |
true to require it. |
garage |
true |
true to require it. |
sort |
newest |
One of price_asc, price_desc, newest, beds_desc, baths_desc, sqft_desc, close_date_desc, distance. Left out: price_asc. |
limit |
24 |
1 to 100. Left out: 24. |
cursor |
c_… |
The previous page's nextCursor. |
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: Pins, or clusters when more than 500 listings match
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 MapAnswer.
Errors
Every error has the same body, and says how to fix it (responses and errors).
More
The same filters as the search (paging and sort keys are ignored), for a map. GET takes them
as query keys, POST as the JSON body of the search schema, so a drawn location.shape
(Premium) can drive the map; for the same query the two answer exactly alike. With 500 or
fewer matching located listings:
{ "data": { "total": 3, "pins": [ { "listingKey": "…", "lat": 40.01, "lng": -75.3, "price": 400000, "status": "active" } ], "clusters": [] } }
Above 500, clusters on a world-aligned grid (a power-of-two fraction of a degree, at most 16
cells across the request's bbox; without one, across the shape's bounding box when the
request has a drawn or saved shape, else across the whole region):
{ "data": { "total": 600, "pins": [], "clusters": [ { "lat": 40.4, "lng": -75.8, "count": 37, "bbox": [-75.81, 40.39, -75.79, 40.41] } ], "gridCellDegrees": 0.0220 } }
Only listings with a shown address and a point inside the seven jurisdictions appear or are
counted. A hidden price is a null pin price. Zoom in (a smaller bbox) to turn clusters into
pins.
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.