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

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.

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:

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

StatusMeaning
400Missing 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.
401Authentication failed or account missing.
402No 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.
202The 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.
503Upstream 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

Responses

Response fields

FieldTypeExample
[].property_addressstring159 Bittercreek Dr, Folsom, CA, 95630
[].longitudenumber-121.136563
[].latitudenumber38.680478
[].sold_datestring2026-11-16
[].sold_pricenumber715000
[].original_list_pricenumber780000
[].final_list_pricenumber722000
[].total_sizenumber2076
[].bedroomsnumber4
[].bathroomsnumber3
[].year_builtnumber1989
[].property_typestringsingle_family
[].storiesnumber2
[].parkingnumber2
[].lot_sizenumber7275
[].domnumber46
[].mls_numberstringML82059201
[].listing_datestring2026-09-11
[].pending_datestring2026-10-27
[].full_bathsnumber3
[].half_bathsnumber0

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