Building a real estate integration means finding listings and agent information without asking users to copy details from Zillow profiles. By the end of this guide, you will be able to search for properties, find agents by location, and use an agent identifier to retrieve that agent’s sale or rental listings.
What the API returns
The Real-Time Zillow Data API provides property search and agent-focused endpoints through Zyla API Hub. The property search example returns listing details such as an address, price, currency, bedroom and bathroom counts, coordinates, and a Zillow detail URL.
Agent Search returns agent profiles with review ratings, sales data, brokerage information, and an encodedZuid identifier. The agent listing endpoints use that identifier to retrieve the properties for sale or rent shown on an agent’s Zillow profile.
These endpoints can support property discovery interfaces, agent research tools, and workflows that connect an agent profile to its visible listings. The examples below show what is available in the supplied listing response; handle missing fields defensively in your application.
Getting started on Zyla API Hub
Open the Real-Time Zillow Data API page on Zyla API Hub, create a free account, and select Subscribe or Start Free Trial when available. Get your API key from your account and use it in the Authorization: Bearer YOUR_API_KEY header.
Zyla uses a subscription and quota model, not pay-per-call billing. The first API offers a 7-day trial or 50 requests; check the API page for current access options and pricing before integrating.
Endpoints for properties and agents
Search properties
GET https://zylalabs.com/api/7341/real-time-zillow-data-api/11667/search
The official example searches for homes for sale in Los Angeles. It sends location=Los+Angeles%2C+CA, page=2, and home_status=FOR_SALE. The response example includes a data array of properties and a parameters object describing the search.
The sample explicitly requests page 2. For an interface that presents multiple pages, preserve the search criteria when changing pages and avoid treating one response as the complete result set.
Search for agents
GET https://zylalabs.com/api/7341/real-time-zillow-data-api/41037/agent-search
Search for real estate agents by location and optionally by name. The required location parameter is a string; the documented example value is new-york-ny. Agent profiles include an encodedZuid that can be used with the agent listing endpoints.
A name can narrow the search, but use the API page for its request details. The supplied location parameter is enough to start an agent discovery workflow.
Get an agent’s properties for sale
GET https://zylalabs.com/api/7341/real-time-zillow-data-api/42098/agent-properties-for-sale
This endpoint returns the for-sale listings shown on an agent’s Zillow profile, five per page. It requires the string parameter encodedZuid; a documented example value is X1-ZUxs6j84n4ak95_3mmvm.
Use an identifier returned by Agent Search when a user selects an agent. Five listings per page is important for display design: a single page should not be presented as the agent’s complete inventory.
Get an agent’s properties for rent
GET https://zylalabs.com/api/7341/real-time-zillow-data-api/42097/agent-properties-for-rent
This endpoint returns the rental listings shown on an agent’s Zillow profile, also five per page. It requires the string parameter encodedZuid; a documented example value is X1-ZU12j0quxoelgjt_uwi3.
Keep sale and rental results distinct in your interface. Both endpoints start with an agent identifier, but they answer different questions about that agent’s profile.
Call property search and read the response
Replace YOUR_API_KEY with your Zyla API key and run the official search example:
curl -s -X GET "https://zylalabs.com/api/7341/real-time-zillow-data-api/11667/search?location=Los+Angeles%2C+CA&page=2&home_status=FOR_SALE" \
-H "Authorization: Bearer YOUR_API_KEY"
The official response excerpt below ends within hdpData; it is not a complete JSON document. The values shown are useful for understanding the listing fields returned by this search.
{
"status": "OK",
"request_id": "dbf09d77-22dd-44c1-8145-2a9c55ace291",
"parameters": {
"page": 2,
"home_status": "FOR_SALE",
"sort": "DEFAULT",
"listing_type": "BY_AGENT",
"location": "Los Angeles, CA"
},
"data": [
{
"zpid": "20031815",
"homeStatus": "FOR_SALE",
"detailUrl": "https://www.zillow.com/homedetails/3280-Fryman-Rd-Studio-City-CA-91604/20031815_zpid/",
"address": "3280 Fryman Rd, Studio City, CA 91604",
"streetAddress": "3280 Fryman Rd",
"city": "Studio City",
"state": "CA",
"country": "USA",
"zipcode": "91604",
"latitude": 34.130352,
"longitude": -118.391685,
"homeType": "SINGLE_FAMILY",
"price": 10250000,
"currency": "USD",
"taxAssessedValue": 5839481,
"lotAreaValue": 1.1106,
"lotAreaUnit": "acres",
"bathrooms": 8,
"bedrooms": 7,
"livingArea": 6456,
"daysOnZillow": 12,
"isFeatured": false,
"isPreforeclosureAuction": false,
"timeOnZillow": 1101058000,
"isNonOwnerOccupied": true,
"isPremierBuilder": false,
"isZillowOwned": false,
"isShowcaseListing": false,
"listingSubType": {
"is_FSBA": true
},
"palsId": "17327010_26106083",
"id": "20031815",
"rawHomeStatusCd": "ForSale",
"marketingStatusSimplifiedCd": "For Sale by Agent",
"imgSrc": "https://photos.zillowstatic.com/fp/06f842493b871cd327201c05953e4ef7-p_e.jpg",
"hasImage": true,
"statusType": "FOR_SALE",
"statusText": "House for sale",
"countryCurrency": "$",
"unformattedPrice": 10250000,
"addressStreet": "3280 Fryman Rd",
"addressCity": "Studio City",
"addressState": "CA",
"addressZipcode": "91604",
"isUndisclosedAddress": false,
"shouldShowRequestOnPrice": false,
"beds": 7,
"baths": 8,
"area": 6456,
"latLong": {
"latitude": 34.130352,
"longitude": -118.391685
},
"flexFieldText": "12 days on Zillow",
"contentType": "daysOnZillow",
"hdpData": {…
For a listing card, start with address, price, currency, bedrooms, bathrooms, and detailUrl. Use zpid to identify the listing and latitude and longitude if you plot it on a map.
The example identifies the price currency as USD and the lot area unit as acres. Display units only when you have them: the excerpt does not establish a unit for livingArea or a timestamp interpretation for timeOnZillow.
This Python example calls the same endpoint with the same parameters and reads the fields needed for a compact listing output. It uses only the standard library.
import json
from urllib.request import Request, urlopen
url = (
"https://zylalabs.com/api/7341/real-time-zillow-data-api/11667/search"
"?location=Los+Angeles%2C+CA&page=2&home_status=FOR_SALE"
)
request = Request(
url,
headers={"Authorization": "Bearer YOUR_API_KEY"},
method="GET",
)
with urlopen(request) as response:
payload = json.load(response)
print("Status:", payload.get("status"))
for listing in payload.get("data", []):
print(
listing.get("zpid"),
listing.get("address"),
listing.get("price"),
listing.get("currency"),
listing.get("bedrooms"),
listing.get("bathrooms"),
listing.get("detailUrl"),
)
Replace the key before running the script. In an application, handle request failures and absent fields before rendering a listing; the example uses get so an absent field does not immediately stop the loop.
Practical workflows and AI agents
Build a property results view
Use property search to populate a results page with addresses, prices, currencies, and links to Zillow details. The returned coordinates can support a map view, while homeStatus and statusText help describe the listing alongside the requested sale filter.
Cache search results only for a period appropriate to your product, and make clear when the data was last fetched. A cached result can become stale, so refresh it before relying on a listing’s current status.
Connect agent discovery to listings
Start with Agent Search for the location a user is researching. Show the returned profile information, then carry the selected agent’s encodedZuid into either the sale or rental endpoint. This keeps the lookup tied to the selected profile rather than matching an agent again by display name.
Because each agent listing endpoint returns five properties per page, design the profile view around paginated results. Consult the API page for navigation details before implementing controls; the identifier and page size alone do not specify how to request another agent-listing page.
Call the API from an AI agent
Zyla APIs can also be called by agents using the MCP endpoint. Configure a compatible client, such as Claude Code, Cursor, or Windsurf, with https://mcp.zylalabs.com/mcp?apikey=YOUR_API_KEY.
An agent can use the available tools to support a workflow such as finding agents in a location and examining a selected agent’s listings. Treat the API key in the MCP URL as a secret, and avoid putting it in shared logs or screenshots.
FAQ
Can I search for Zillow properties for sale by location?
Yes. The official Search example sends a Los Angeles location, a page number, and home_status=FOR_SALE, then returns property records in data.
How do I retrieve listings for a specific agent?
Search for agents by location and use the selected profile’s encodedZuid with Agent Properties For Sale or Agent Properties For Rent. Each endpoint returns five listings per page.
How do I authenticate requests?
Send your Zyla API key in the Authorization: Bearer YOUR_API_KEY header. Keep the key out of source files and shared client-side code.
Is the API billed per call?
No. Access uses a subscription and quota model. Check the listing for current access options and pricing, including the first-API trial terms.
Ready to test the search and agent workflows? Create a free Zyla account, get an API key, and Start 7-day trial on Real-Time Zillow Data API.