Zillow Listings by Polygon API
List for-sale homes inside a polygon, each with its distance in miles from the polygon's centre.
- 1 credit per call
- Failed calls are free
- Updated
- zillow.spatial.by_polygon
{ "listings": [ { "distance_miles": 1.13, "listing": { "title": "905 Avondale Rd, Austin, TX 78704", "price": 2700000, "address": "905 Avondale Rd, Austin, TX 78704", "area_sqft": 3034, "beds": 3, "collected_at": "", "currency": "USD", "latitude": 30.247948, "longitude": -97.74033, "page": 0, "position": 1, "property_id": "29459072", "status": "Active", "url": "https://www.zillow.com/homedetails/905-Avondale-Rd-Austin-TX-78704/29459072_zpid/" } }, { "distance_miles": 2.44, "listing": { "title": "2521 Winsted Ln, Austin, TX 78703", "price": 2250000, "address": "2521 Winsted Ln, Austin, TX 78703", "area_sqft": 3615, "beds": 4, "collected_at": "", "currency": "USD", "latitude": 30.296814, "longitude": -97.759224, "page": 0, "position": 2, "property_id": "29335560", "status": "Active", "url": "https://www.zillow.com/homedetails/2521-Winsted-Ln-Austin-TX-78703/29335560_zpid/" } } ], "polygon": [ { "latitude": 30.24, "longitude": -97.76 }, { "latitude": 30.24, "longitude": -97.72 } ]}
| # | Distance miles |
|---|---|
| 1 | 1.13 |
| 2 | 2.44 |
| 3 | 0.98 |
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| polygon | array<object> | yes | Three or more distinct latitude/longitude vertices | […] |
| max_results | integer | no | Maximum number of results to return. From 1 to 100. | 10 |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | Example |
|---|---|---|
| listings[].listing.title | string | 905 Avondale Rd, Austin, TX 78704 |
| listings[].listing.price | integer | 2,700,000 |
| listings[].listing.address | string | 905 Avondale Rd, Austin, TX 78704 |
| listings[].distance_miles | number | 1.13 |
| listings[].listing | object | 14 fields |
| listings[].listing.area_sqft | integer | 3034 |
| listings[].listing.beds | integer | 3 |
| listings[].listing.collected_at | string | |
| listings[].listing.currency | string | USD |
| listings[].listing.latitude | number | 30.25 |
| listings[].listing.longitude | number | -97.74 |
| listings[].listing.page | integer | 0 |
| listings[].listing.position | integer | 1 |
| listings[].listing.property_id | string | 29459072 |
| listings[].listing.status | string | Active |
| listings[].listing.url | string | https://www.zillow.com/homedetails/905-Avondale-Rd-Austin-TX-78… |
| listings | array | 3 records |
| polygon | array | 3 records |
| polygon[].latitude | number | 30.24 |
| polygon[].longitude | number | -97.76 |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "zillow.spatial.by_polygon", "input": { "max_results": 10, "polygon": [ { "latitude": 30.24, "longitude": -97.76 }, { "latitude": 30.24, "longitude": -97.72 }, { "latitude": 30.3, "longitude": -97.72 }, { "latitude": 30.3, "longitude": -97.76 } ] }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "zillow.spatial.by_polygon", "input": { "max_results": 10, "polygon": [ { "latitude": 30.24, "longitude": -97.76 }, { "latitude": 30.24, "longitude": -97.72 }, { "latitude": 30.3, "longitude": -97.72 }, { "latitude": 30.3, "longitude": -97.76 } ] }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "zillow.spatial.by_polygon", "input": { "max_results": 10, "polygon": [ { "latitude": 30.24, "longitude": -97.76 }, { "latitude": 30.24, "longitude": -97.72 }, { "latitude": 30.3, "longitude": -97.72 }, { "latitude": 30.3, "longitude": -97.76 } ] }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
With Upscrape, get the Zillow Commerce listings by polygon for max results "10". Tell me what it costs before you run it, then show the results as a table.
More from the Zillow Commerce API
Zillow Listings by Polygon API FAQ
The short answers. The docs have the long ones.
How much does the Zillow Listings by Polygon API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send polygon. The input fields below list every option with its type and limits.
Do I need a Zillow Commerce login?
No. It reads public Zillow Commerce data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds zillow.spatial.by_polygon, checks its price and runs it with the same credits as the REST API.
Your first Zillow Commerce call is free.
Up to 100 free credits to start, no card needed.