Listings (search presets)
These endpoints are thin shortcuts over POST /v1/search. They run the same search and cost the same, but save you from setting the listing status yourself. Use them when you already know which kind of listing you want.
Cost for every endpoint on this page: 1 credit per listing returned, with a minimum of 1 for a successful call. A search that matches nothing still costs 1 credit. Rejected and failed requests are free.
Status presets
| Endpoint | Listings returned |
|---|---|
POST /v1/listings/for-sale |
Homes currently for sale |
POST /v1/listings/for-rent |
Rentals |
POST /v1/listings/sold |
Recently sold homes |
The request body matches POST /v1/search, except that filters.status is filled in for you. Anything you put in filters.status is overwritten. The full list of filters is on the Search page.
A bounding box (filters.bbox) is required. filters.location is optional and only adds a label to the search; on its own it fails with 400 invalid_filters.
curl https://api.zillodata.com/v1/listings/for-sale \ -H "Authorization: Bearer $ZILLODATA_KEY" \ -H "content-type: application/json" \ -d '{ "filters": { "bbox": { "west": -78.78, "south": 35.74, "east": -78.58, "north": 35.88 }, "price": { "min": 300000, "max": 650000 }, "beds": { "min": 3 }, "homeTypes": ["house"] }, "maxItems": 20 }'With maxItems of 50 or less, the results come back in the response. Above 50, or with "async": true, you get a job_id instead. See Search for how that works.
GET /v1/listings
The same search as a single GET request with query parameters. Handy for a quick curl, a spreadsheet import, or a tool that can only make GET calls. It always runs synchronously.
| Parameter | Type | Description |
|---|---|---|
bbox |
string | Required. Four comma-separated numbers: west,south,east,north. |
status |
enum | for_sale (default), for_rent, or sold. |
location |
string | Optional label for the search area. Doesn’t narrow results. |
price_min, price_max |
integer | Price in US dollars (monthly rent for rentals). |
beds_min, beds_max |
integer | Bedrooms. |
baths_min, baths_max |
integer | Bathrooms. |
sqft_min, sqft_max |
integer | Interior square feet. |
year_built_min, year_built_max |
integer | Year built. |
home_types |
string | Comma-separated. Any of house, condo, townhouse, multi_family, manufactured, lot, apartment. |
days_on_zillow |
enum | 1, 7, 14, 30, 90, 6m, 12m, 24m, or 36m. |
max_items |
integer | Defaults to 50, which is also the maximum. |
format |
enum | json (default), csv, or ndjson. See Output formats. |
curl 'https://api.zillodata.com/v1/listings?status=for_rent&bbox=-70.33,43.62,-70.20,43.71&beds_min=2&price_max=3500&max_items=25' \ -H "Authorization: Bearer $ZILLODATA_KEY"{ "data": [ { "zpid": "2091458803", "address": "48 Danforth St APT 2, Portland, ME 04101", "unformattedPrice": 2800, "beds": 2, "baths": 1, "...": "..." } ], "meta": { "count": 25 }, "request_id": "0e7b3c95a4d21f68"}When nothing matches, data is empty and meta.hint suggests which filter to loosen.
Errors specific to the GET form
| Status | Code | Meaning |
|---|---|---|
| 400 | missing_input |
No bbox parameter. |
| 400 | invalid_bbox |
bbox isn’t four numbers. |
| 400 | invalid_status |
status isn’t for_sale, for_rent, or sold. |
| 400 | invalid_filters |
The coordinates are out of order, for example west is not less than east. |
Need more than 50 results? Use POST /v1/listings/for-sale (or another preset) with a larger maxItems, or POST /v1/search with "async": true.