Active Market Statistics
GET/v4/market-statistics/active
Get market statistics based on search criteria. This endpoint returns aggregated statistics for any listings that have an active or pending status.
Required: Filters must include either a boundary-id or an MLS plus one additional area filter. Area filters include city, area-level-1, area-level-2, and postal-code.
Request
Query Parameters
- Active
- Pending
- ActiveUnderContract
- 0 - 499,999
- 500,000 - 999,999
- 1,000,000 - 1,499,999
- 1,500,000 +
The status or statuses you want aggregated market statistics for. See RESO Standard Status Lookups for more information on status types. We expect the status to be in "PascalCase" format but will attempt map any casing convention to the relevant status.
Possible values: [Active
, ActiveUnderContract
, Pending
]
Default value: [Active
, Pending
, ActiveUnderContract
]
Example: Active
Example: Pending
Example: ActiveUnderContract
The MLS code you want associated boundary IDs from.
The boundary id or ids you want aggregated market statistics for. Boundary ids are the only way to get data by legally defined geometry. All other parameters like city, search on the postal address. See Cities vs Postal Cities. By default, all boundary IDs will be grouped together. If you want to group by individual boundary IDs, you can use the
group-by
The property type or types you want aggregated market statistics for.
Possible values: [Residential
, ResidentialLease
, Commercial
, CommercialLease
, Land
, Industrial
, Other
, Timeshare
]
Default value: [Residential
]
The property sub type or sub types you want aggregated market statistics for. Sub Types are used to distinguish between the types of residential or commercial data available.
For instance, the most common suburban home would be a SingleFamilyResidence. A Condominium is usually defined as a subsection of a building made to be a place of dwelling. The place of dwelling is usually only 1 story tall. A Townhouse is usually a multilevel building attached to other multilevel buildings with no dwelling above or below it. See the RESO Standard Lookups for more information on property sub types.
Disclaimer: LiveBy ensures the availability of SingleFamilyResidence, Townhouse, and Condominium in each MLS. The availability of other PropertySubTypes may vary and is more limited by MLS.
Possible values: [SingleFamilyResidence
, Agriculture
, Apartment
, BoatSlip
, Business
, Cabin
, Condominium
, DeededParking
, Farm
, Hotel
, Industrial
, ManufacturedHome
, MixedUse
, Mobile
, MultiFamily
, Office
, OwnYourOwn
, Ranch
, Retail
, StockCooperative
, Timeshare
, Townhouse
, Land
, Warehouse
, Other
]
Default value: [SingleFamilyResidence
, Condominium
, Townhouse
]
The postal city or cities you want aggregated market statistics for. You can use this instead of a boundary id. This uses the RESO Standard field “City”.
The first political subdivision you want aggregated market statistics for. You can use this instead of a boundary id. This is often called “state”, “province” or “district” in various countries. This uses the RESO standard field “StateOrProvince”.
The second political subdivision you want aggregated market statistics for. You can use this instead of a boundary id. This uses the RESO standard field “CountyOrParish”.
The postal code or codes you want aggregated market statistics for. You can use this instead of a boundary id. This uses the RESO standard field “PostalCode”.
The MLS Area Major for which you want market statistics.
LiveBy by default cleans the data to remove outliers. LiveBy does not remove outlier data from the total counts, only the field’s counts, and statistics. You can use the count value of each field to determine if that field had outliers and was available from the MLS data sources.
Default value: 5000
LiveBy by default cleans the data to remove outliers. LiveBy does not remove outlier data from the total counts, only the field’s counts, and statistics. You can use the count value of each field to determine if that field had outliers and was available from the MLS data sources.
Default value: 1000000000
LiveBy by default cleans the data to remove outliers. LiveBy does not remove outlier data from the total counts, only the field’s counts, and statistics. You can use the count value of each field to determine if that field had outliers and was available from the MLS data sources.
Default value: 5000
LiveBy by default cleans the data to remove outliers. LiveBy does not remove outlier data from the total counts, only the field’s counts, and statistics. You can use the count value of each field to determine if that field had outliers and was available from the MLS data sources.
Default value: 1000000000
LiveBy by default cleans the data to remove outliers. LiveBy does not remove outlier data from the total counts, only the field’s counts, and statistics. You can use the count value of each field to determine if that field had outliers and was available from the MLS data sources.
LiveBy by default cleans the data to remove outliers. LiveBy does not remove outlier data from the total counts, only the field’s counts, and statistics. You can use the count value of each field to determine if that field had outliers and was available from the MLS data sources.
Default value: 10000
LiveBy by default cleans the data to remove outliers. LiveBy does not remove outlier data from the total counts, only the field’s counts, and statistics. You can use the count value of each field to determine if that field had outliers and was available from the MLS data sources.
Default value: 1700
LiveBy by default cleans the data to remove outliers. LiveBy does not remove outlier data from the total counts, only the field’s counts, and statistics. You can use the count value of each field to determine if that field had outliers and was available from the MLS data sources.
Default value: 2025
This filters out any listings that have a list price less than the value specified. Unlike the outlier filter, this will remove listings from all statistics, not just the price statistics.
This filters out any listings that have a list price greater than the value specified. Unlike the outlier filter, this will remove listings from all statistics, not just the price statistics.
If this parameter is provided, an aggregate is created for each price range defined by the price /
segments provided. It is implied that the first price range starts at 0. Also, the low price is /
inclusive (>=) and the high price is exclusive (<). See the example below.
You may specify many different ranges of prices.
This will always provide one more range than the number of price-segment parameters provided.
In this example, the price range aggregates will be:
This lets you group the data by boundary ID, by specifying
&group-by=boundary-id
Possible values: [boundary-id
]
Responses
- 200
- 401
- 403
- 429
- 500
- 504
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
Price range of the properties
If the query is grouping by boundary id, this is the id of the boundary.
If the query is grouping by property sub type, this is the property sub type.
If the query is grouping by property type, this is the property type.
The MLSes that provided data for these statistics
{"attribution":[{"name":"North MLS"},{"name":"Northeast MLS"}]}
data
object
required
Total count of listings within the period
ListPrice
object
required
Statistics about the price that the property was listed for when it sold
Amount of non null and numeric values used to make statistics that is within the outlier range specified
10
Median of the non null and numeric values that is within the outlier range specified
500000
Mean average of the non null and numeric values that is within the outlier range specified
532561
Smallest value of the non null and numeric values that is within the outlier range specified
100000
Largest value of the non null and numeric values that is within the outlier range specified
20000000
Total sum of the non null and numeric values that is within the outlier range specified
256373500
OriginalListPrice
object
required
Statistics about the First List Price before price adjustments
Amount of non null and numeric values used to make statistics that is within the outlier range specified
10
Median of the non null and numeric values that is within the outlier range specified
500000
Mean average of the non null and numeric values that is within the outlier range specified
532561
Smallest value of the non null and numeric values that is within the outlier range specified
100000
Largest value of the non null and numeric values that is within the outlier range specified
20000000
Total sum of the non null and numeric values that is within the outlier range specified
256373500
YearBuilt
object
required
Statistics about the year the properties were built
Amount of non null and numeric values used to make statistics that is within the outlier range specified
10
Median of the non null and numeric values that is within the outlier range specified
500000
Mean average of the non null and numeric values that is within the outlier range specified
532561
Smallest value of the non null and numeric values that is within the outlier range specified
100000
Largest value of the non null and numeric values that is within the outlier range specified
20000000
Total sum of the non null and numeric values that is within the outlier range specified
256373500
LivingArea
object
required
Statistics about the square footage of the properties
Amount of non null and numeric values used to make statistics that is within the outlier range specified
10
Median of the non null and numeric values that is within the outlier range specified
500000
Mean average of the non null and numeric values that is within the outlier range specified
532561
Smallest value of the non null and numeric values that is within the outlier range specified
100000
Largest value of the non null and numeric values that is within the outlier range specified
20000000
Total sum of the non null and numeric values that is within the outlier range specified
256373500
pricePerSquareFoot
object
required
Statistics about the price per square foot of the properties
Amount of non null and numeric values used to make statistics that is within the outlier range specified
10
Median of the non null and numeric values that is within the outlier range specified
500000
Mean average of the non null and numeric values that is within the outlier range specified
532561
Smallest value of the non null and numeric values that is within the outlier range specified
100000
Largest value of the non null and numeric values that is within the outlier range specified
20000000
Total sum of the non null and numeric values that is within the outlier range specified
256373500
daysOnSite
object
required
Statistics about the number of days from the On Market Date to today. This field is derived from the On Market Date specified by an MLS, and can be null. If daysOnSite is missing null, either daysToClose or daysToContract can be used.
Amount of non null and numeric values used to make statistics that is within the outlier range specified
10
Median of the non null and numeric values that is within the outlier range specified
500000
Mean average of the non null and numeric values that is within the outlier range specified
532561
Smallest value of the non null and numeric values that is within the outlier range specified
100000
Largest value of the non null and numeric values that is within the outlier range specified
20000000
Total sum of the non null and numeric values that is within the outlier range specified
256373500
Count of listings that the final List Price was less than the Original List Price
10
Percentage of listings that the final List Price was less than the Original List Price
3.23
{
"success": true,
"data": [
{
"priceRange": [
"string"
],
"boundaryId": [
"string"
],
"PropertySubType": [
"string"
],
"PropertyType": [
"string"
],
"metadata": {
"attribution": [
{
"name": "North MLS"
},
{
"name": "Northeast MLS"
}
]
},
"data": {
"count": 0,
"ListPrice": {
"count": 10,
"median": 500000,
"average": 532561,
"minimum": 100000,
"maximum": 20000000,
"sum": 256373500
},
"OriginalListPrice": {
"count": 10,
"median": 500000,
"average": 532561,
"minimum": 100000,
"maximum": 20000000,
"sum": 256373500
},
"YearBuilt": {
"count": 10,
"median": 500000,
"average": 532561,
"minimum": 100000,
"maximum": 20000000,
"sum": 256373500
},
"LivingArea": {
"count": 10,
"median": 500000,
"average": 532561,
"minimum": 100000,
"maximum": 20000000,
"sum": 256373500
},
"pricePerSquareFoot": {
"count": 10,
"median": 500000,
"average": 532561,
"minimum": 100000,
"maximum": 20000000,
"sum": 256373500
},
"daysOnSite": {
"count": 10,
"median": 500000,
"average": 532561,
"minimum": 100000,
"maximum": 20000000,
"sum": 256373500
},
"priceReductionCount": 10,
"priceReductionPercentage": 3.23
}
}
]
}
Unauthorized
Forbidden
Too Many Requests
Internal Server Error
Service Unavailable