A Zillow API integration checklist before launch
Zillow API integration checklist: test identity, missing fields, batch failures, secrets and freshness, then use the same tests to pick the best Zillow API for your app.
Test the contract your users depend on
A Zillow API integration is ready when it handles realistic successes and failures, not just one populated example. Define the expected behavior for identity, missing fields, errors, timestamps and usage before testing. That turns a demo into a reviewable application contract.
Use fixture tests to exercise your code predictably, then a small live check for the deployed integration. Keep the two evidence types separate. A fixture can prove that null estimates display correctly, but it cannot prove that a particular property will have a Zestimate tomorrow.
Use the checklist to pick the best Zillow API
There is no best Zillow API in general. The best one for your project is the provider whose responses pass your acceptance checks for the homes, fields and failure cases your application actually has. So instead of comparing feature lists, run the same short test on each candidate and compare the results side by side.
First decide which kind of access you need. Zillow Group runs its own data programs, and its developer directory says some of them are open only to partners. Independent services such as PropertiesAPI read the public Zillow page for a property you name and return it as JSON; they are not affiliated with Zillow. The access guide linked below explains that split. Then score every candidate on the rows below, using the same set of test homes for each.
Write the result down per candidate: the date, the inputs, the returned identity, the missing fields and the errors you saw. Pick the provider that fails least on the rows your product cannot work around, not the one with the longest field list. A score from a handful of test homes shows how each provider handles your cases; it does not measure coverage or reliability across the market, so say that in the decision note and repeat the test before you widen the launch.
- Zillow API access: official programs vs independent lookups
- Compare real estate and property data APIs
| Check | What to record for each candidate | Why it decides |
|---|---|---|
| Inputs | Whether it accepts a Zillow link, a zpid and a US address, and what happens with a unit number. | Your users already supply one of these. A provider that needs a different input adds a matching step you have to build. |
| Identity | Whether the returned zpid and address match the home you asked for, and how a mismatch is reported. | A confident answer about the wrong home is worse than an error. |
| Field coverage | Which of your required fields come back filled, and which are null or empty, home by home. | Coverage differs by home and status, so test the kinds of homes you care about. |
| Field meaning | Whether price is an asking price, a monthly rent or a sale price, and whether estimates are labelled as estimates. | Mixing them breaks calculations without any error. |
| Freshness | Whether the response says when the data was collected and whether it came from a cache. | You need both for display, caching and support questions. |
| Errors | Whether errors carry stable codes that separate fixing the input, an account action and a retry. | It decides how much error handling you write and how often users see a dead end. |
| Usage | How failed, refused and repeated lookups count against your usage, from the provider's pricing page. | Real address lists contain bad rows, so failures are part of the bill. |
| Terms | What you may store, display and export. | Working credentials are not permission to republish. |
Build a representative fixture set
Use clearly synthetic fixtures or source data you are permitted to retain. Never present made-up property values as observed results. Include the shapes your application is most likely to mishandle.
- A complete property response with a confirmed identity.
- A valid response with null estimates and empty histories.
- A rental with asking rent distinct from rent Zestimate.
- A unit-level address and a building-level result requiring review.
- An ambiguous address and a missing property.
- A partially successful batch with stable row mapping.
- A cached response whose collection time is earlier than the request.
Verify the security boundary
Run key-bearing requests on your server. Browser code, public repositories, analytics and error screenshots must not expose the key. Test a missing key and an invalid key without substituting a working secret into public examples.
If a public application accepts addresses or property links, validate the input and add an appropriate request limit. Do not let an anonymous form become an unbounded relay to a paid API. Keep full addresses and returned raw records out of broad analytics events.
Check visible behavior and data behavior
For each fixture, assert both what is stored and what is shown. An application can retain null correctly but display it as $0. It can save a property ID correctly but attach the result to the wrong input row in a table.
| Area | Acceptance check |
|---|---|
| Identity | A mismatched candidate is never auto-approved. |
| Missing data | Null stays missing in displays, calculations and exports. |
| Errors | Actionable messages distinguish correction, account action and retry. |
| Batching | Every submitted row has exactly one recorded final outcome. |
| Freshness | Collection time survives caching and export. |
| Secrets | No key appears in client bundles, URLs or analytics payloads. |
Exercise the retry budget
Simulate transient failures and verify the exact stopping condition. Test that authentication, quota and validation errors stop immediately. Test Retry-After, a client timeout and an interrupted batch response.
Record incomplete work as deferred or failed. A background job should not report complete simply because its retry queue emptied after a crash. Preserve enough state to reconcile the submitted rows without replaying every successful lookup.
Run a small live acceptance check
Use your own key and a few properties relevant to your use case. Check the deployed endpoint, returned identity, field semantics, collection timestamp and account usage. Record the date and scope of the check.
Avoid asserting coverage, throughput or availability from a handful of requests. Those need a different measurement plan. If a source field is absent, accept the documented missing state or change your product requirement rather than modifying the fixture to look complete.
Script the live check in Python
A short script makes the live check repeatable and gives you the same evidence for every run. List each test home once in a CSV file: an id, the input type (url, zpid or address), the value and the zpid you expect if you know it. The script looks each one up, then writes one row per case with the result, the error code, the missing fields, the collection time and whether the answer was cached.
Every row is a real lookup on your account, so keep the list to the cases that matter. A row marked review needs a person: the returned zpid differs from the one you expected, or the response carries a meta.warning. The request below is for PropertiesAPI; to compare another provider, keep the case file and the output columns and change only the request and the field names.
# cases.csv (placeholders: use homes you chose for your own test)
# id,input_type,value,expected_zpid
# house,address,"123 Example St, Springfield, IL 62701",
# condo,address,"456 Sample Ave Unit 2B, Springfield, IL 62701",
# known,zpid,12345678,12345678
import csv
import os
import sys
import requests
API = "https://api.propertiesapi.com/v1/zillow/property"
REQUIRED = ["zpid", "address", "price", "homeStatus", "zestimate", "rentZestimate"]
COLUMNS = ["case", "result", "code", "missing", "fetched_at", "cached"]
def check(session, case):
response = session.get(API, params={case["input_type"]: case["value"]}, timeout=(10, 140))
try:
body = response.json()
except ValueError:
body = {}
if response.status_code != 200:
code = body.get("error", {}).get("code") or f"http_{response.status_code}"
return {"case": case["id"], "result": "error", "code": code}
data, meta = body["data"], body["meta"]
expected = case.get("expected_zpid") or ""
identity_ok = not expected or data.get("zpid") == expected
missing = [f for f in REQUIRED if data.get(f) in (None, "", [])]
return {
"case": case["id"],
"result": "pass" if identity_ok and not meta.get("warning") else "review",
"code": "",
"missing": " ".join(missing),
"fetched_at": meta.get("fetched_at"),
"cached": meta.get("cached"),
}
def main(path):
session = requests.Session()
session.headers["x-api-key"] = os.environ["PROPERTIESAPI_KEY"]
with open(path, newline="") as f:
cases = list(csv.DictReader(f))
out = csv.DictWriter(sys.stdout, fieldnames=COLUMNS)
out.writeheader()
for case in cases:
out.writerow(check(session, case))
if __name__ == "__main__":
main(sys.argv[1])Make the launch evidence repeatable
Save the fixture suite, integration configuration names, API documentation version and test results. Repeat relevant checks when the response contract or your transformation logic changes.
After launch, monitor failed lookups and user-reported mismatches. A new error pattern should lead to a specific fixture and a clear handling decision. Keep the checklist short enough to run on every meaningful integration change, while treating live source behavior as an ongoing operational concern.
Sources and documentation
Product details checked against the linked documentation on November 24, 2026. Code and sample inputs are illustrative unless stated otherwise.
- Zillow Group developer directory
- PropertiesAPI property endpoint and response fields
- PropertiesAPI batch endpoint
- Machine-readable API contract
Written by PropertiesAPI, an independent property data service. We are not affiliated with Zillow. Source data may be incomplete or change over time.