Zillow API migration

The Zillow API was discontinued. Here is what replaced it

The free Zillow API and its ZWSID keys were retired in 2021. Here is when it happened, what errors old code reports, and how to map the old calls (GetSearchResults, GetZestimate and the rest) to a working JSON endpoint. Swap the URL and the key, rename a few fields, and get Zestimates and listing data back. Where there's no replacement, we say so.

When the Zillow API was discontinued

  • 2006

    Zillow opens its API and gives its content to other websites free of charge. Developers sign up for a ZWSID key and call GetSearchResults, GetZestimate and the rest.

  • February 2021

    Developers report the old API returning 410 (Gone) errors to existing ZWSID keys.

  • 30 September 2021

    The legacy Zillow Web Services API (ZWSID, GetDeepSearchResults and friends) is retired.

  • Today

    Zillow's data APIs (Zestimate, Public Records, MLS listings) run through Bridge Interactive. You apply, and Zillow decides.

Sources: Zillow press release (2006); Stack Overflow question 66394686 and API reports for the 2021 shutdown dates (reported, not announced by Zillow on a page we could find).

Errors you will see from old code

What clients built on the legacy API report today, and what each one means.

Errors from the discontinued Zillow API and what they mean
What old code reportsWhat it means
HTTP 410 GoneThe endpoint is retired. No key, retry or backoff will bring it back. Developers began reporting it in February 2021, before the API was retired on 30 September 2021.
"Account not authorized", or an invalid ZWSID responseZWSID keys are no longer issued or honoured. A new or old ZWSID won't work, because the API it was for is gone.

Old call → new endpoint

Base URL https://api.propertiesapi.com/v1, header x-api-key. Every lookup takes a Zillow link (?url=), or an address (?address=). The JSON body is { data, meta }.

Zillow API calls mapped to PropertiesAPI endpoints
Old Zillow API callPropertiesAPI endpointNotes
GetSearchResultsGET /v1/zillow/property?address=Send one address string instead of address + citystatezip. Returns the ZPID, the Zillow link and the Zestimate, plus much more.
GetDeepSearchResultsGET /v1/zillow/property?address=Same call. Beds, baths, square feet, lot, year built, price history and tax history come back in one response.
GetZestimateGET /v1/zillow/property?url= or ?address=Takes a Zillow link or an address. Lookups by ZPID alone aren't supported yet. Returns zestimate and rentZestimate when Zillow shows them. No valuation range.
GetUpdatedPropertyDetailsGET /v1/zillow/property?url=Photo URLs, home facts, listing price and status, days on Zillow, the listing broker and agent, as shown on the Zillow page.
GetComps / GetDeepCompsNo equivalentWe don't return comparable sales. Look up the comps you choose one by one, or with the batch endpoint.
GetChartNo equivalentNo chart images. priceHistory gives you the listing and sale events to chart yourself.
GetRegionChildrenNo equivalentNo region or neighbourhood data. Lookups are per property.
(no old call)POST /v1/zillow/batchUp to 50 Zillow links or addresses in one request. The old API had no bulk call.

Field names

What the old XML fields are called in our JSON.

Zillow API fields mapped to PropertiesAPI fields
Old fieldPropertiesAPI field
zpidzpid
links.homedetailsdetailUrl
address.street / city / state / zipcodestreetAddress / city / state / zipcode (plus address, one string)
address.latitude / longitudelatitude / longitude
zestimate.amountzestimate
zestimate.valuationRange.low / highNo equivalent
rentzestimate.amountrentZestimate
bedrooms / bathroomsbeds / baths
finishedSqFtlivingArea
lotSizeSqFtlotSize
yearBuiltyearBuilt
useCodehomeType
lastSoldDate / lastSoldPricedateSold / lastSoldPrice
taxAssessmentYear / taxAssessmenttaxHistory[].year / taxHistory[].value (or taxAssessedValue)
images.image.url (GetUpdatedPropertyDetails)photos
(none)price, homeStatus, daysOnZillow, priceHistory, taxHistory[].taxPaid, brokerName, agentName, schools

Code: before and after

JavaScript, before
// Before: Zillow Web Services (retired 2021)
const url = "http://www.zillow.com/webservice/GetDeepSearchResults.htm"
  + "?zws-id=" + ZWSID
  + "&address=" + encodeURIComponent("2640 Steiner St")
  + "&citystatezip=" + encodeURIComponent("San Francisco, CA 94115")
  + "&rentzestimate=true";
// -> XML, now 410 Gone
JavaScript, after
// After: PropertiesAPI (JSON)
const u = new URL("https://api.propertiesapi.com/v1/zillow/property");
u.searchParams.set("address", "2640 Steiner St, San Francisco, CA 94115");

const res = await fetch(u, {
  headers: { "x-api-key": process.env.PROPERTIESAPI_KEY },
  signal: AbortSignal.timeout(120_000), // live lookup: typically 6 seconds, up to about 20
});
if (res.status === 404) throw new Error("no matching Zillow property");
const { data: p } = await res.json();

// Shape it like your old code expects
const result = {
  zpid: p.zpid,
  links: { homedetails: p.detailUrl },
  zestimate: { amount: p.zestimate },
  rentzestimate: { amount: p.rentZestimate },
  bedrooms: p.beds, bathrooms: p.baths, finishedSqFt: p.livingArea,
  lotSizeSqFt: p.lotSize, yearBuilt: p.yearBuilt,
};
Python: GetZestimate by address, and batch
import os, requests

KEY = {"x-api-key": os.environ["PROPERTIESAPI_KEY"]}
BASE = "https://api.propertiesapi.com/v1"

# GetZestimate (you stored ZPIDs): send the address or Zillow link you stored with it
p = requests.get(
    f"{BASE}/zillow/property",
    params={"address": "2640 Steiner St, San Francisco, CA 94115"},
    headers=KEY,
    timeout=120,
).json()["data"]
print(p["zestimate"], p["rentZestimate"])

# Many old GetSearchResults calls at once: POST /v1/zillow/batch (up to 50 per request)
addresses = ["2640 Steiner St, San Francisco, CA 94115", "350 5th Ave, New York, NY 10118"]
r = requests.post(
    f"{BASE}/zillow/batch",
    json={"items": addresses},
    headers=KEY,
    timeout=320,
)
for item in r.json()["data"]:   # same order as items
    print(addresses[item["index"]], item["data"]["zestimate"] if item["ok"] else "not found")

Python tutorial →JavaScript tutorial →

What doesn't carry over

  • No comps: GetComps and GetDeepComps have no equivalent.
  • No Zestimate range: you get the Zestimate itself, when Zillow shows one, but not the low and high values.
  • No charts or region data: GetChart and GetRegionChildren have no equivalent. priceHistory gives you the events to chart.
  • Slower calls: a live lookup fetches the Zillow page and takes typically 6 seconds, up to about 20. Repeat lookups of the same home within 24 hours come from cache, fast and free. Use the batch endpoint for many homes.
  • Not official: PropertiesAPI is independent of Zillow. The data is what the public Zillow page shows, provided as-is.

Migration questions

Is the Zillow API deprecated?+

Yes. The legacy Zillow Web Services API (ZWSID keys, GetSearchResults, GetZestimate and the rest) started returning errors in February 2021 and was retired on 30 September 2021. Zillow's current APIs run through Bridge Interactive, by application.

Why does the Zillow API return 410?+

410 means Gone: the legacy Zillow Web Services endpoints were retired. Developers began reporting 410 errors on existing ZWSID keys in February 2021, and the API was retired on 30 September 2021. No key or retry fixes it; the calls have to move to a different source.

Why do I get Account not authorized from the Zillow API?+

Old clients report it because ZWSID keys are no longer issued or honoured. The key belonged to the legacy API, which was retired in 2021, so there is no account to authorize against it.

Was the Zillow API discontinued in 2023?+

No. It was discontinued in 2021: errors started in February and the legacy API was retired on 30 September 2021. Bridge Interactive is the application-based route to Zillow's data now.

What's the alternative to GetSearchResults?+

GET /v1/zillow/property?address= with the full address as one string. It returns the ZPID, the Zillow link, the Zestimate and the rest of the property in JSON.

Do you return Zestimates?+

Yes, when the Zillow page for that property shows one, along with the rent Zestimate. There is no valuation range. PropertiesAPI is an independent service, not affiliated with Zillow, and the data is provided as-is.

Is there a replacement for GetComps?+

No. We don't pick comparable sales. If you already know which homes you want to compare, look each one up, or send them together to the batch endpoint.

Do I need a ZPID?+

No. Send a plain address or a Zillow link. Lookups by ZPID alone aren't supported yet, so if your database only holds ZPIDs, send the address you stored with each one.

Is the response XML like the old API?+

No, it's JSON. Map the fields once with the table above, then adapt your parsing to the JSON.

Bring your old app back

50 lookups to start, then 10 free every month, no card, no approval.

Zillow is a trademark of Zillow, Inc. PropertiesAPI is an independent service and is not affiliated with, endorsed by or sponsored by Zillow.