Short answer: open Zillow's "Sold" view for an area, copy the URL (for example https://www.zillow.com/seattle-wa/sold/) and POST it to /zillow/search. You get the recently sold homes on that page as JSON: address, price, beds, baths, size, coordinates, property type and the current Zestimate.
The request
curl -X POST 'https://api.serpbase.dev/zillow/search' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"url":"https://www.zillow.com/seattle-wa/sold/"}'
Open Zillow in a browser, pick the area, switch the listing type to Sold and copy the address bar.
What came back
We ran two cities on 1 December 2026:
| Seattle | Austin | |
|---|---|---|
| Listings on the page | 41 | 41 |
pagination.total_results | 28,735 | 14,495 |
status values | 41 Sold | 36 Sold, 5 Closed |
Listings with a price | 41 | 0 |
| Listings with a Zestimate | 38 | 40 |
| Property types | 21 single-family, 15 condo, 5 townhouse | 30 single-family, 7 condo, 2 apartment, 1 townhouse, 1 multi-family |
In Seattle the sold prices ran from $105,000 to $3,470,500, with a median of $725,000 across the 41 homes. One item, shortened:
{
"id": "48772623",
"title": "130 NW 74th Street, Seattle, WA 98117",
"status": "Sold",
"price": {"amount": "845000", "currency": "USD", "display": "845000"},
"bedrooms": 2,
"bathrooms": 1,
"living_area": 1096,
"lot_area": 3998.808,
"lot_area_unit": "sqft",
"property_type": "SINGLE_FAMILY",
"latitude": 47.68275,
"longitude": -122.359314,
"features": [
{"name": "zestimate", "value": "874200"},
{"name": "isZillowOwned", "value": "false"}
],
"link": "https://www.zillow.com/homedetails/130-NW-74th-St-Seattle-WA-98117/48772623_zpid/"
}
Why Austin had no prices
Texas does not require sale prices to be made public, so Zillow shows sold Texas homes without one, and the API returns what the page shows: no price on any of the 41 Austin homes. The Zestimate was still there on 40 of them, and 7 named the listing broker in broker_name. Other states that do not disclose sale prices may show the same gap.
Python: sold price against Zestimate
import requests
r = requests.post(
"https://api.serpbase.dev/zillow/search",
headers={"X-API-Key": "YOUR_API_KEY"},
json={"url": "https://www.zillow.com/seattle-wa/sold/"},
timeout=90,
).json()
if r["status"] != 0:
raise SystemExit(r.get("error"))
for home in r["properties"]:
sold = int(home["price"]["amount"]) if home.get("price") else None
zest = next((int(f["value"]) for f in home.get("features", [])
if f["name"] == "zestimate"), None)
gap = f"{(zest - sold) / sold:+.1%}" if sold and zest else "n/a"
print(home["title"], sold, zest, gap)
Things that trip people up
- There is no sale date field. The Sold view lists recent sales, but the items do not carry the date of sale. Store the day you fetched them.
price.displayhas no dollar sign on sold homes. It was"845000", while active listings show"$1,234,000". Useamountfor numbers.ClosedandSoldboth mean sold. Austin used both values on the same page.- The Zestimate is today's estimate, not the value at the time of sale, so the gap above is a rough signal, not an appraisal check.
Related
- Zillow listings for sale with the same endpoint
Cost and docs
Each Zillow request costs 2 credits. Failed requests are not charged, and new accounts get 500 free credits.
- Parameters and response: Zillow Search docs
- Try it in the browser: Zillow Property Search API
- Credit packs: pricing