Get market analytics
simplyrets_get_market_analyticsStatistics for the listings a search matches (same filters as simplyrets_search_listings): total count, average price, bedrooms, full baths, living area, lot size and year built, and the number of listings per area. Use it for market summaries of a city, zip or price band. GET /properties/analytics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Keyword search over MLS number, street, unit, city, postal code, subdivision and area; several values match any. | |
| idx | No | IDX display filter. Default 'null' hides listings whose address or entire listing may not be displayed online; 'ignore' returns them too. Your MLS's display rules still bind how you use the data. | |
| pool | No | Pool: 'true', 'false' or a value such as 'Private'. | |
| type | No | Property type (default residential and rental). | |
| agent | No | Listing agent MLS ids (the co-listing agent is not matched). | |
| water | No | Water body: 'true', 'false' or a value. | |
| cities | No | Cities (case-insensitive). simplyrets_get_feed_metadata lists the cities in the feed. | |
| maxdom | No | Maximum days on market (needs Days on Market data in the feed). | |
| points | No | A polygon of 'lat,lng' points (3 or more); returns listings inside it. Needs latitude/longitude in the feed. | |
| status | No | Listing status (default Active). Closed = sold or leased. | |
| vendor | No | MLS vendor id; required on multi-MLS apps (simplyrets_get_account_info lists them). | |
| brokers | No | Broker or listing office ids, as your MLS provides them. | |
| maxarea | No | Maximum living area, sq ft. | |
| maxbeds | No | Maximum bedrooms. | |
| maxyear | No | Maximum year built. | |
| minarea | No | Minimum living area, sq ft. | |
| minbeds | No | Minimum bedrooms. | |
| minyear | No | Minimum year built. | |
| subtype | No | Property sub type; not every feed supports every value. | |
| counties | No | Counties (case-insensitive). | |
| features | No | Interior features, e.g. 'Wet Bar'. | |
| maxacres | No | Maximum acreage. | |
| maxbaths | No | Maximum bathrooms. | |
| maxprice | No | Maximum price. | |
| minacres | No | Minimum acreage. | |
| minbaths | No | Minimum bathrooms. | |
| minprice | No | Minimum price. | |
| salesAgent | No | Selling agent MLS ids (sales.agent). | |
| postalCodes | No | Postal / zip codes. | |
| neighborhoods | No | Neighborhoods or subdivisions (case-insensitive). | |
| maxGarageSpaces | No | Maximum garage spaces. | |
| minGarageSpaces | No | Minimum garage spaces. | |
| exteriorFeatures | No | Exterior features, e.g. 'Porch'. |