Sold Properties by ZIP
List every sale in a ZIP, by default over the last 12 months
GET /api/properties/sold/by-zip/
1 credit per 20 properties
What it returns
Every residential sale in a given US ZIP code, by default over the last 12 months and up to six years back with start_date. Each sale is its own row, so a home that sold twice in the range returns two rows. A row has the sale (date, price), the listing behind it (MLS number, listing and pending dates, original and final list price, days on market), coordinates, and the home's basics (size, beds, full, half and total baths, lot size, year built, stories, parking). Built from public records and MLS data, and refreshed on demand when the per-ZIP cache is older than 4 hours.
When to use it
- Build a "recent sales in my neighborhood" widget on a property page.
- Estimate market velocity for a ZIP code (sales per month, median DOM).
- Seed a comps analysis without specifying individual subject properties.
- Sanity-check listing prices against actual sale prices.
Date range
By default the endpoint returns the last 12 months. Pass start_date, end_date, or both (YYYY-MM-DD) to narrow that to a specific window — for example one calendar month at a time instead of re-pulling the whole range on every poll:
Both bounds are optional and inclusive, and both are independent: pass only start_date for an open-ended window, or only end_date to cut off recent sales. Passing neither leaves existing behaviour unchanged.
start_date can reach back up to six years. Sales older than 12 months for a ZIP are prepared the first time that ZIP is asked for them, and that first request returns 202 with {"status": "loading", "retry_after_seconds": 60} and a Retry-After header, costs nothing, and the same request succeeds a minute or two later. A ZIP's newest sales refresh on demand when they are more than 4 hours old. The request that starts a refresh may wait up to about 8 seconds, then answers with fresh or stored data. Every other request answers right away from stored data. The only other 202 is the first load of a ZIP we hold no sales for in the last 12 months. A date older than six years returns 400 naming the earliest date we can serve, rather than quietly returning a partial set.
One row per sale
A sale is a row. A home that sold twice inside the range returns two rows, and the count endpoint counts both. A sale found in both MLS data and county records is one row, and the MLS date and price win. A sale recorded only in public records is a row with mls_number null.
Any value the record does not have is null.
- mls_number: the MLS number of the listing behind the sale. null when the sale did not go through the MLS.
- listing_date: the day the listing opened (YYYY-MM-DD).
- pending_date: the day the MLS status changed to Pending, as a date in the property's local time. null when unknown, including the earlier sale of a home that has sold again and many sales that closed between April and August 2026.
- full_baths and half_baths: the split behind bathrooms. half_baths is 0 when the full baths account for every bath.
Property type
Pass property_type to keep only the types you model. One value or a comma-separated list, matched against the same property_type field each row returns:
Omitting it returns every type, exactly as before. An unknown value returns 400 listing the accepted values rather than an empty result.
List prices
Each row carries two asking prices for the listing that produced the sale, so you can compute sale-to-list ratios:
- original_list_price: the price the listing opened at. null when it cannot be determined.
- final_list_price: the asking price in force at the sale, after any price changes. It equals original_list_price when the price never changed.
sold_price / final_list_price is the usual sale-to-list ratio; sold_price / original_list_price is sale-to-original-list. Both are null when the sale cannot be tied to a listing, such as an off-market or private sale.
Days on market
dom is the pending date minus the listing date. When there is no pending date, it is the sale date minus the listing date. It is fixed at the sale and does not keep counting. null when there is no listing date.
Pricing
1 credit per 20 rows returned, rounded up. A request that returns 100 rows costs 5 credits. Use the limit parameter to cap the cost — a limit=20 always costs exactly 1 credit. Charged only on 200; 402/400/5xx cost nothing.
Errors
| Status | Meaning |
|---|---|
| 400 | Missing zip parameter, non-integer limit, a malformed start_date or end_date or one older than six years, a date older than 12 months for a ZIP we hold no sales for, or an unknown property_type. |
| 401 | Authentication failed or account missing. |
| 402 | No subscription, or insufficient credits for the row count this ZIP would return. The error body includes the credit estimate so you can lower limit and retry. |
| 202 | The ZIP has no sales on hand for the last 12 months yet (first load), or older history is still loading. Nothing is charged. Retry after retry_after_seconds. |
| 503 | Upstream datastore or refresh error. Safe to retry. |
FAQ
How fresh is the data?
A ZIP's newest sales refresh on demand when they are more than 4 hours old. The request that starts the refresh may wait up to about 8 seconds, then answers with fresh or stored data. Every other request answers right away from stored data. A ZIP we hold no recent sales for returns a free 202 on first load.
Why do some properties have sold_price: null?
The MLS suppresses price on private sales, off-market transfers, and some agent-sale records. The sale still appears (it happened), but the price field is null. Filter on your side if you need price-bearing rows only.
What counts as "residential"?
Everything the sold feed files as residential: single-family, condos, townhomes, multi-family, apartments, mobile homes, plus a small tail of other types. Each row's property_type says which, and the property_type filter takes the same values. Commercial and land-only records are rare here — they live in other collections.
Why is dom sometimes null?
dom needs a listing date. A sale with no known listing, such as a public-record-only transfer, has dom null.
Parameters
limit(query) — Cap the result count. When set, the response is the most recent N sales. Used to control credit cost — limit=20 always costs 1 credit. Omit for every sale in the range.zip(query, required) — 5-digit US ZIP code. Example: 95630.start_date(query) — Earliest sale date to include, as YYYY-MM-DD. Optional — omit for the default window of the last 12 months. Inclusive: a sale on this exact date is returned. May reach back up to six years; a date older than 12 months may first return 202 while that ZIP's older sales are prepared (see Date range). Older than six years returns 400.end_date(query) — Latest sale date to include, as YYYY-MM-DD. Optional — omit for no upper bound. Inclusive: a sale on this exact date is returned. Must be on or after start_date and within the last six years.property_type(query) — Keep only these property types. One value or a comma-separated list, e.g. single_family or single_family,townhomes. Optional — omit for every type. Values are the ones the response's property_type field carries, chiefly single_family, condos, townhomes, multi_family, apartment, mobile, duplex_triplex, coop, condo, land, farm, other. Case-insensitive; - and spaces are read as _. An unknown value returns 400 listing the full accepted set.
Responses
200202— Nothing is charged; retry after retry_after_seconds (also sent as Retry-After). Returned in two cases: the ZIP has no sales on hand for the last 12 months yet (first load, "Recent sales for ZIP ... are being loaded"), or the request reaches back more than 12 months and that older history is still loading.400— Bad request — a required parameter is missing or failed validation. Costs 0 credits.401— Authentication failed — missing or invalid API key. Costs 0 credits.402— Payment required — no active subscription or insufficient credit balance. Costs 0 credits.503— Upstream data provider is temporarily unavailable — retry with backoff.
Response fields
| Field | Type | Example |
|---|---|---|
[].property_address | string | 159 Bittercreek Dr, Folsom, CA, 95630 |
[].longitude | number | -121.136563 |
[].latitude | number | 38.680478 |
[].sold_date | string | 2026-11-16 |
[].sold_price | number | 715000 |
[].original_list_price | number | 780000 |
[].final_list_price | number | 722000 |
[].total_size | number | 2076 |
[].bedrooms | number | 4 |
[].bathrooms | number | 3 |
[].year_built | number | 1989 |
[].property_type | string | single_family |
[].stories | number | 2 |
[].parking | number | 2 |
[].lot_size | number | 7275 |
[].dom | number | 46 |
[].mls_number | string | ML82059201 |
[].listing_date | string | 2026-09-11 |
[].pending_date | string | 2026-10-27 |
[].full_baths | number | 3 |
[].half_baths | number | 0 |
Sample response
[
{
"property_address": "159 Bittercreek Dr, Folsom, CA, 95630",
"longitude": -121.136563,
"latitude": 38.680478,
"sold_date": "2026-11-16",
"sold_price": 715000,
"original_list_price": 780000,
"final_list_price": 722000,
"total_size": 2076,
"bedrooms": 4,
"bathrooms": 3,
"year_built": 1989,
"property_type": "single_family"
}
]Use it through the MCP
Connect the Homesage.ai MCP to Claude, ChatGPT or Cursor, and your assistant calls this as the get_sold_properties_by_zip tool. Set up the MCP.
More in Market Data
- Count of sales in a ZIP, by default over the last 12 months —
GET /api/properties/sold/count-by-zip/
Just the count of residential sales in a ZIP, by default over the last 12 months. - Mortgage and lien data for a US property —
GET /api/mortgage-lien/analysis/
Mortgage and lien records for a US property — current and historical mortgages, lien summary, involuntary liens, pre-foreclosure status, and data quality metadata.