Skip to navigation

Added endpoints to read and change a listing’s neighborhood data source πŸŽ‰

GET /v1/neighborhood_data/fetch_sources GET /v1/neighborhood_data/get_md_compsets POST /v1/neighborhood_data/update_source

The compset a listing’s neighborhood data is based on is now readable and settable from the API β€” the same selector as the one on the Neighborhood Data tab. Changing it changes what GET /v1/neighborhood_data returns.

fetch_sources lists the three sources a listing can use β€” Nearby Listings (NL), Market Dashboards (MD) and Competitor Listings (CCC) β€” along with the sub-options each needs and the source currently in effect. Sources that cannot be used carry a reason, so an unavailable option explains itself.

get_md_compsets returns the compsets on one Market Dashboard report. Each has a value and a label: the value is the identifier to send back, the label is display text.

update_source applies the change. Nearby Listings takes br_selection, Market Dashboards takes md_id and md_compset, and Competitor Listings takes neither but requires the feature on the account. Requires write permission on the listing.

See Neighborhood Data for full request and response details.