↑ ↓ to move ↵ to open

Zillow Listings by Polygon

zillow.spatial.by_polygon

List for-sale homes inside a polygon, each with its distance in miles from the polygon's centre.

At a glance

Endpoint ID
zillow.spatial.by_polygon
Price
1 credit per call; failed calls are free
Runs for up to
120 seconds
Request
POST /execute
Run an endpoint
MCP tool when pinned
zillow__spatial__by_polygon
Pin tools
OpenAPI
openapi.json
Download

Request

Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.

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      }    ]  }}'

Input

FieldTypeRequiredWhat it doesExample
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

Response

A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.

This is results[0].data from a real run:

results[0].data
{  "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    }  ]}

Fields

FieldTypeExample
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

If a call fails

A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.

Other Zillow Commerce endpoints

Something missing or unclear? Ask the team that builds the Zillow Commerce endpoints.