Skip to content

Get market statistics for a list of regions and acreage range

POST
/api/public/v1/markets-stats/query/
curl --request POST \
--url https://app-api.landinsights.co/api/public/v1/markets-stats/query/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "resolution": "county", "regions": [ 8023, 8003, 8109 ], "min_acres": 5, "max_acres": 10 }'

Returns market statistics for up to 50 counties or ZIP codes in one call, computed over comps in the acreage range you set (min_acres inclusive, max_acres exclusive). Each result has the region’s identity and a stats object: listing and sales counts, sell-through rates, days on market, prices, price per acre, and sales trends over trailing 1 month, 3 month, 6 month, and 1 year windows.

get_market_stats and get_zip_market_stats return the same core metrics per preset acreage bucket for one county or ZIP. Use this endpoint instead when you want your own acreage range, several regions in one call, or the metrics the preset buckets lack: median days on market, average prices and price per acre, and sales and price-per-acre trends.

Cost: 10 tokens per region returned. Regions with no comps in the acreage range are left out of results and not billed. Unknown codes return 400 (0 tokens).

Media type application/json

Market statistics for a list of regions over one acreage range.

object
resolution
required

What kind of regions regions lists: ‘county’ for 5-digit county FIPS codes, ‘zip’ for 5-digit ZIP codes.

  • county - Counties, identified by 5-digit FIPS code.
  • zip - ZIP codes.
string
Allowed values: county zip
regions
required

County FIPS codes or ZIP codes, per resolution. Up to 50 per call; a code listed twice is returned (and billed) once.

Array<string>
>= 1 items <= 50 items
min_acres
required

Smallest lot size to include, in acres (inclusive).

number format: double
max_acres
required

Largest lot size to include, in acres (exclusive).

number format: double
Examples

Three Colorado counties, 5 to 10 acre lots

{
"resolution": "county",
"regions": [
8023,
8003,
8109
],
"min_acres": 5,
"max_acres": 10
}
Media type application/json

Market statistics for the requested regions.

object
resolution
required
  • county - Counties, identified by 5-digit FIPS code.
  • zip - ZIP codes.
string
Allowed values: county zip
min_acres
required
number format: double
max_acres
required
number format: double
results
required

One entry per requested region that has comps in the acreage range, in request order. Regions with no comps in the range are omitted.

Array<object>

One region’s statistics over the requested acreage range.

object
id
required

Internal region identifier.

string format: uuid
type
required

Region type — ‘county’ for full-county stats, ‘zip’ for a single ZIP.

  • county - Whole county.
  • zip - Single ZIP code.
string
Allowed values: county zip
name
required

County name (when type=‘county’) or ZIP code (when type=‘zip’).

string
state
required

Two-letter US state code (e.g., ‘CA’).

string
county_name
required

Primary county name. For ZIP regions, the county the ZIP falls into.

string
fips
required

5-digit county FIPS code.

string
nullable
stats
required

Market metrics for comps in the acreage range. A metric is null when there is no data for it; counts and sell-through rates are 0 instead.

object
active
required

Active: Listings currently active on the market.

integer
nullable
pending
required

Pending: Listings currently under contract.

integer
nullable
sold_1mo
required

Sold: 1mo: Sales closed in the trailing 30 days.

integer
nullable
sold_3mo
required

Sold: 3mo: Sales closed in the trailing 90 days.

integer
nullable
sold_6mo
required

Sold: 6mo: Sales closed in the trailing 182 days.

integer
nullable
sold_1yr
required

Sold: 1yr: Sales closed in the trailing 365 days.

integer
nullable
avg_dom_1mo
required

Avg DOM 1mo: Average days on market across sales in the trailing 30 days.

integer
nullable
avg_dom_3mo
required

Avg DOM 3mo: Average days on market across sales in the trailing 90 days.

integer
nullable
avg_dom_6mo
required

Avg DOM 6mo: Average days on market across sales in the trailing 182 days.

integer
nullable
avg_dom_1yr
required

Avg DOM 1yr: Average days on market across sales in the trailing 365 days.

integer
nullable
median_dom_1mo
required

Median DOM 1mo: Median days on market across sales in the trailing 30 days.

integer
nullable
median_dom_3mo
required

Median DOM 3mo: Median days on market across sales in the trailing 90 days.

integer
nullable
median_dom_6mo
required

Median DOM 6mo: Median days on market across sales in the trailing 182 days.

integer
nullable
median_dom_1yr
required

Median DOM 1yr: Median days on market across sales in the trailing 365 days.

integer
nullable
median_price_1mo
required

Median Price 1mo: Median sale price in the trailing 30 days, excluding outliers.

number format: double
nullable
median_price_3mo
required

Median Price 3mo: Median sale price in the trailing 90 days, excluding outliers.

number format: double
nullable
median_price_6mo
required

Median Price 6mo: Median sale price in the trailing 182 days, excluding outliers.

number format: double
nullable
median_price_1yr
required

Median Price 1yr: Median sale price in the trailing 365 days, excluding outliers.

number format: double
nullable
avg_price_1mo
required

Avg Price 1mo: Average sale price in the trailing 30 days, excluding outliers.

number format: double
nullable
avg_price_3mo
required

Avg Price 3mo: Average sale price in the trailing 90 days, excluding outliers.

number format: double
nullable
avg_price_6mo
required

Avg Price 6mo: Average sale price in the trailing 182 days, excluding outliers.

number format: double
nullable
avg_price_1yr
required

Avg Price 1yr: Average sale price in the trailing 365 days, excluding outliers.

number format: double
nullable
median_pending_price
required

Median Pending Price: Median asking price of pending listings, excluding outliers.

number format: double
nullable
median_active_price
required

Median Active Price: Median asking price of active listings, excluding outliers.

number format: double
nullable
avg_pending_price
required

Avg Pending Price: Average asking price of pending listings, excluding outliers.

number format: double
nullable
avg_active_price
required

Avg Active Price: Average asking price of active listings, excluding outliers.

number format: double
nullable
median_active_acreage
required

Median Active Acreage: Median lot size of active listings.

number format: double
nullable
median_pending_acreage
required

Median Pending Acreage: Median lot size of pending listings.

number format: double
nullable
median_sold_acreage
required

Median Sold Acreage: Median lot size of sales in the trailing 365 days.

number format: double
nullable
avg_active_acreage
required

Avg Active Acreage: Mean lot size of active listings.

number format: double
nullable
avg_pending_acreage
required

Avg Pending Acreage: Mean lot size of pending listings.

number format: double
nullable
avg_sold_acreage
required

Avg Sold Acreage: Mean lot size of sales in the trailing 365 days.

number format: double
nullable
median_pending_ppa
required

Median Pending PPA: Median asking price per acre of pending listings, excluding outliers.

number format: double
nullable
median_active_ppa
required

Median Active PPA: Median asking price per acre of active listings, excluding outliers.

number format: double
nullable
median_sold_ppa
required

Median Sold PPA: Median sold price per acre in the trailing 365 days, excluding outliers.

number format: double
nullable
avg_pending_ppa
required

Avg Pending PPA: Average asking price per acre of pending listings, excluding outliers.

number format: double
nullable
avg_active_ppa
required

Avg Active PPA: Average asking price per acre of active listings, excluding outliers.

number format: double
nullable
avg_sold_ppa
required

Avg Sold PPA: Average sold price per acre in the trailing 365 days, excluding outliers.

number format: double
nullable
active_ppa_min
required

Active PPA Min: Lowest asking price per acre among active listings.

number format: double
nullable
active_ppa_max
required

Active PPA Max: Highest asking price per acre among active listings.

number format: double
nullable
pending_ppa_min
required

Pending PPA Min: Lowest asking price per acre among pending listings.

number format: double
nullable
pending_ppa_max
required

Pending PPA Max: Highest asking price per acre among pending listings.

number format: double
nullable
ppa_range_1mo_min
required

PPA Range 1mo Min: Lowest sold price per acre in the trailing 30 days.

number format: double
nullable
ppa_range_1mo_max
required

PPA Range 1mo Max: Highest sold price per acre in the trailing 30 days.

number format: double
nullable
ppa_range_3mo_min
required

PPA Range 3mo Min: Lowest sold price per acre in the trailing 90 days.

number format: double
nullable
ppa_range_3mo_max
required

PPA Range 3mo Max: Highest sold price per acre in the trailing 90 days.

number format: double
nullable
ppa_range_6mo_min
required

PPA Range 6mo Min: Lowest sold price per acre in the trailing 182 days.

number format: double
nullable
ppa_range_6mo_max
required

PPA Range 6mo Max: Highest sold price per acre in the trailing 182 days.

number format: double
nullable
ppa_range_1yr_min
required

PPA Range 1yr Min: Lowest sold price per acre in the trailing 365 days.

number format: double
nullable
ppa_range_1yr_max
required

PPA Range 1yr Max: Highest sold price per acre in the trailing 365 days.

number format: double
nullable
gini_1mo
required

Gini 1mo: Gini coefficient (0-100) of sold price per acre in the trailing 30 days; higher means less uniform pricing.

number format: double
nullable
gini_3mo
required

Gini 3mo: Gini coefficient (0-100) of sold price per acre in the trailing 90 days; higher means less uniform pricing.

number format: double
nullable
gini_6mo
required

Gini 6mo: Gini coefficient (0-100) of sold price per acre in the trailing 182 days; higher means less uniform pricing.

number format: double
nullable
gini_1yr
required

Gini 1yr: Gini coefficient (0-100) of sold price per acre in the trailing 365 days; higher means less uniform pricing.

number format: double
nullable
sold_trend_3mo
required

Sold Count Trend 3mo: Closed sales in the latest reported month as a percentage of the month three months earlier: 100 is unchanged, 200 is double.

number format: double
nullable
avg_ppa_trend_3mo
required

Avg PPA Trend 3mo: Average sold price per acre in the latest reported month as a percentage of the month three months earlier: 100 is unchanged.

number format: double
nullable
sold_trend_6mo
required

Sold Count Trend 6mo: Closed sales in the latest reported month as a percentage of the month six months earlier: 100 is unchanged, 200 is double.

number format: double
nullable
avg_ppa_trend_6mo
required

Avg PPA Trend 6mo: Average sold price per acre in the latest reported month as a percentage of the month six months earlier: 100 is unchanged.

number format: double
nullable
sold_trend_1yr
required

Sold Count Trend 1yr: Closed sales in the latest reported 12 months as a percentage of the 12 months a year earlier: 100 is unchanged, 200 is double.

number format: double
nullable
avg_ppa_trend_1yr
required

Avg PPA Trend 1yr: Average sold price per acre in the latest reported 12 months as a percentage of the 12 months a year earlier: 100 is unchanged.

number format: double
nullable
sold_trend_2yr
required

Sold Count Trend 2yr: Closed sales in the latest reported 12 months as a percentage of the 12 months two years earlier: 100 is unchanged, 200 is double.

number format: double
nullable
avg_ppa_trend_2yr
required

Avg PPA Trend 2yr: Average sold price per acre in the latest reported 12 months as a percentage of the 12 months two years earlier: 100 is unchanged.

number format: double
nullable
sold_trend_3yr
required

Sold Count Trend 3yr: Closed sales in the latest reported 12 months as a percentage of the 12 months three years earlier: 100 is unchanged, 200 is double.

number format: double
nullable
avg_ppa_trend_3yr
required

Avg PPA Trend 3yr: Average sold price per acre in the latest reported 12 months as a percentage of the 12 months three years earlier: 100 is unchanged.

number format: double
nullable
pending_str
required

Pending STR: Pending listings as a percentage of active listings.

number format: double
nullable
str_1mo
required

1mo STR: Sales in the trailing 30 days as a percentage of active listings.

number format: double
nullable
str_3mo
required

3mo STR: Sales in the trailing 90 days as a percentage of active listings.

number format: double
nullable
str_6mo
required

6mo STR: Sales in the trailing 182 days as a percentage of active listings.

number format: double
nullable
str_1yr
required

1yr STR: Sales in the trailing 365 days as a percentage of active listings.

number format: double
nullable
Examples
Example CountyStatistics

County statistics

{
"resolution": "county",
"min_acres": 5,
"max_acres": 10,
"results": [
{
"id": "5f3c8e7a-9b1d-4e2c-8f3a-1d2e3f4a5b6c",
"type": "county",
"name": "Costilla",
"state": "CO",
"county_name": "Costilla",
"fips": 8023,
"stats": {
"active": 209,
"pending": 29,
"sold_1yr": 121,
"str_1yr": 57.89,
"avg_dom_1yr": 168,
"median_price_1yr": 14500,
"median_sold_ppa": 2031.25,
"median_active_price": 11999,
"median_active_ppa": 2100,
"median_active_acreage": 5.2,
"gini_1yr": 38.54,
"sold_trend_1yr": 112.4
}
}
]
}

Validation error.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}

Missing or invalid credentials.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}

A Pro subscription or higher API tier is required.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}

Authenticated but not permitted.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}

Resource not found.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}

Rate limit exceeded.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}

Internal error.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}

Market statistics temporarily unavailable; retry in a few seconds.

Media type application/json
object
error
required
object
code
required

Stable machine-readable error code. One of: unauthorized, forbidden, subscription_required, tier_upgrade_required, usage_limit_exceeded, usage_backstop_reached, payment_required, payment_method_required, validation_error, unprocessable, not_found, method_not_allowed, rate_limited, internal_error, service_unavailable.

string
message
required

Human-readable description of the error.

string
request_id
required

Echoes the request’s X-Request-Id (or a server-issued id). Quote it in support requests.

string
details

Present on validation errors only: maps each rejected field to its list of messages.

object
key
additional properties
any
Example generated
{
"error": {
"code": "example",
"message": "example",
"request_id": "example",
"details": {}
}
}