# Zillow Rentals API: Listings as JSON (`benthepythondev/zillow-rentals-api`) Actor

Zillow Rentals API returning US apartment and home rental listings as clean JSON by city or ZIP: monthly rent, beds, baths, area, address, coordinates, agent and photos. Track only new and price-changed rentals between runs. Uses your Listingrail key (250 listings free) or try free demo cities.

- **URL**: https://apify.com/benthepythondev/zillow-rentals-api.md
- **Developed by:** [Ben](https://apify.com/benthepythondev) (community)
- **Categories:** Real estate, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 🏠 Zillow Rentals API: Listings as JSON

**Zillow Rentals API** returns live US apartment and home rental listings from Zillow as clean JSON by **city, state or 5-digit ZIP code**—no Zillow URLs, no proxies, and no login required. Get monthly rent, bedrooms, bathrooms, area, street address, coordinates, agent details, and photo URLs in one consistent schema. Enable **Only new and price-changed listings** on scheduled runs to receive only fresh listings and rent drops with `previous_price`. Export to JSON/CSV/Excel, run on a schedule, call via API, or connect to Make, Zapier or n8n.

Powered by the [Listingrail](https://listingrail.com/sources/zillow/) real-estate API: bring your Listingrail key (**250 listings free**, no card) or run the default input keyless on 4 free US sample cities (`Chicago`, `Houston`, `Los Angeles`, `New York`).

**What a run costs:** **$0.30 per 1,000 listings** on Apify Free (down to **$0.23** on Gold/Platinum/Diamond) plus a `$0.00005` start fee. Live searches also use 1 Listingrail credit per returned listing (250 free, then from $9 for 2,500). Empty searches, invalid locations, failed upstream calls, and unchanged listings filtered out by `onlyChanges` cost **$0** on both Apify and Listingrail.

### 🔎 What is the Zillow Rentals API?

Zillow does not offer a public self-serve API for searching rental listings. This Actor wraps Listingrail's `zillow-rentals` endpoint so developers, analysts, and AI agents can pull structured US rental inventory for any city or ZIP code in seconds, without managing residential proxies or brittle URL patterns.

#### How it improves on top Zillow scrapers

| What users report on top Zillow scrapers | What Zillow Rentals API does |
|---|---|
| Complex setup & strict `homedetails/..._zpid/` URL patterns (`maxcopell/zillow-detail-scraper`) | Type any US city/state (`Austin, TX`) or ZIP (`78704`)—no URL construction needed |
| Hard to tie out records across bulk runs | Stable `id` on every row plus built-in `change_status` (`new`, `price_changed`, `unchanged`) and `previous_price` |
| Missing price/bed fields or capped to first page (`maxcopell/zillow-scraper`) | Normalized schema (`price`, `currency`, `price_period`, `beds`, `baths`, `address`, `lat`, `lng`, `photos`) up to 500 rows/run |
| Over-charging past max cost (`maxcopell/zillow-zip-search`) | Strictly enforces `maxItems` before saving; empty, invalid, and unchanged rows charge $0 |

#### What data does it extract?

- **Core pricing & specs:** `id`, `url`, `source` (`zillow-rentals`), `title`, `price`, `currency` (`USD`), `price_period` (`month`), `beds`, `property_type`
- **Location & geo:** `address`, `city`, `region`, `postal_code`, `country` (`US`), `lat`, `lng`
- **Media:** `photos` (array of image URLs)
- **Change tracking:** `change_status` (`new`, `price_changed`, `unchanged`) plus the prior rent amount when a price changes between runs
- **Optional raw payload:** set `includeRaw: true` to include the upstream portal record under `raw` (bathrooms, square footage, and agent contact info are also populated whenever Zillow publishes them on a listing)

### ⬇️ Input

| Field | Type | Description |
|---|---|---|
| `location` | string | US city and state (`Austin, TX`, `Miami, FL`) or 5-digit ZIP (`78704`). Default: `Chicago`. |
| `apiKey` | string (secret) | Your Listingrail API key (`re_...`). [Get 250 free listings](https://listingrail.com/#key). Leave empty for free sample snapshots (`Chicago`, `Houston`, `Los Angeles`, `New York`). |
| `maxItems` | integer | Max rental listings to return (`1`–`500`, default `20`). Strictly enforced. |
| `minPrice` | integer | Optional minimum monthly rent in USD. |
| `maxPrice` | integer | Optional maximum monthly rent in USD. |
| `minBeds` | integer | Optional minimum number of bedrooms. |
| `onlyChanges` | boolean | When `true`, only save listings that are `new` or `price_changed` since the last run of the same search. |
| `includeRaw` | boolean | When `true`, include the raw upstream Zillow object under `raw`. |

#### Example input

```json
{
  "location": "Austin, TX",
  "maxItems": 50,
  "minPrice": 1000,
  "maxPrice": 2500,
  "minBeds": 1,
  "onlyChanges": true,
  "apiKey": "re_your_listingrail_key"
}
```

### ⬆️ Output

```json
{
  "id": "2777987218",
  "url": "https://www.zillow.com/apartments/austin-tx/spectra-parks/CqtVZh/",
  "source": "zillow-rentals",
  "title": "Spectra Parks",
  "address": "5301 Decker Ln, Austin, TX",
  "city": "Austin",
  "region": "TX",
  "postal_code": "78724",
  "country": "US",
  "lat": 30.276876,
  "lng": -97.63493,
  "price": 1240,
  "currency": "USD",
  "price_period": "month",
  "beds": 1,
  "property_type": "BUILDING",
  "photos": [
    "https://photos.zillowstatic.com/fp/example.jpg"
  ],
  "change_status": "new"
}
```

When a listing changes price between scheduled runs, `previous_price` holds the prior monthly rent. Optional fields not published on apartment building cards are returned as `null`.

### 🤖 For AI agents

Connect this Actor through Apify's MCP server or pass a single JSON payload:

```json
{
  "location": "Chicago",
  "maxItems": 20,
  "maxPrice": 2500,
  "minBeds": 1
}
```

Every row uses the same flat JSON keys (`price`, `beds`, `address`, `lat`, `lng`, `url`). The same Listingrail key also works directly on the Listingrail REST API (`POST https://listingrail.com/v1/listings/search`) and MCP endpoint.

### 💡 Use cases

- 📉 **Rent-drop alerts:** Schedule daily runs with `onlyChanges: true` to push new listings and price cuts to Slack, Google Sheets, or a CRM.
- 📊 **Rental market comps:** Benchmark monthly rents by ZIP code, bedroom count, and neighborhood across US metros.
- 🏢 **Property management & PropTech:** Feed normalized Zillow rental inventory into underwriting models, dashboards, or AI leasing assistants.
- 🤖 **Agentic apartment search:** Let an AI assistant filter live rentals by budget and bedrooms without managing browsers or proxies.

### ❓ FAQ

**Is there an official public Zillow Rentals API?**
No. Zillow's partner APIs are invite-only and do not provide self-serve rental listing search. Zillow Rentals API returns live US Zillow rental listings as JSON via Listingrail with 250 free listings/month.

**How much does Zillow Rentals API cost?**
On Apify, $0.30 per 1,000 listings on the Free plan ($0.27 Bronze, $0.25 Silver, $0.23 Gold/Platinum/Diamond) plus a $0.00005 start fee. Live searches also use 1 Listingrail credit per listing (250 free, then from $9 for 2,500). Empty searches, invalid locations, and skipped unchanged rows cost $0.

**Can I try it without a Listingrail API key?**
Yes. Leave `apiKey` empty and set `location` to `Chicago`, `Houston`, `Los Angeles`, or `New York` to receive a free stored sample snapshot (`demo: true`) with the exact output schema.

**How does `onlyChanges` work?**
Each unique search (`location` + filters) stores seen listing IDs and rents in an Apify Key-Value Store (`zillow-rentals-api-state`). Subsequent runs mark each listing `new`, `price_changed` (with `previous_price`), or `unchanged`, and when `onlyChanges` is enabled, unchanged listings are neither saved nor charged.

**Can I search by ZIP code as well as city?**
Yes. Pass either `"Austin, TX"` or `"78704"` in `location`.

**What happens if I run out of Listingrail credits?**
The run stops cleanly with a clear status message and a direct top-up link (`buy_url`). Nothing is charged for unreturned listings.

**Is scraping public Zillow rental listings legal?**
This Actor returns only publicly visible rental listing data (prices, property specs, addresses, and published business/agent contact details) and does not access private or logged-in accounts. Ensure your downstream use complies with applicable laws (including GDPR and CAN-SPAM where relevant).

### ⚠️ Limits

- Up to **500 listings per run**; for larger metros, split by ZIP code or monthly rent bands (`minPrice`/`maxPrice`).
- Search-level rental data only (no private tenant data or login-gated content).
- Keyless demo mode covers 4 US cities (`Chicago`, `Houston`, `Los Angeles`, `New York`); live searches for any US city or ZIP require a free Listingrail key.

### 🔗 You might also like

- [Property Portals API (21 Global Portals)](https://apify.com/benthepythondev/property-portals-api)
- [Zumper Rental Scraper](https://apify.com/benthepythondev/zumper-rental-scraper)
- [PadMapper Rental Scraper](https://apify.com/benthepythondev/padmapper-rental-scraper)
- [Zillow Detail Scraper](https://apify.com/benthepythondev/zillow-detail-scraper)

**Keywords:** zillow rentals api, zillow rental listings scraper, zillow apartments for rent json, us rental data api, zillow rent tracker, zillow zip code rentals, real estate listings api, listingrail zillow, apartment rent comps, rental price drop monitor, proptech data api, zillow mcp server

# Actor input Schema

## `location` (type: `string`):

US city and state (e.g. 'Austin, TX', 'Miami, FL') or 5-digit ZIP code (e.g. '78704'). No Zillow URL required. Without a Listingrail key, use a free sample city: Chicago, Houston, Los Angeles or New York.

## `apiKey` (type: `string`):

Your Listingrail key (starts with re\_). Get 250 free listings at https://listingrail.com/#key. Leave empty to run the free sample snapshot for Chicago, Houston, Los Angeles or New York.

## `maxItems` (type: `integer`):

Maximum rental listings to return (1 to 500). Strictly enforced so runs never over-charge. Each live listing uses 1 Listingrail credit.

## `minPrice` (type: `integer`):

Minimum monthly rent in USD (e.g. 1200).

## `maxPrice` (type: `integer`):

Maximum monthly rent in USD (e.g. 3000).

## `minBeds` (type: `integer`):

Minimum number of bedrooms (e.g. 1, 2, 3).

## `onlyChanges` (type: `boolean`):

Compare with the previous run of this search and save only new listings or rent changes (with previous_price). Unchanged listings are not saved or charged.

## `includeRaw` (type: `boolean`):

Attach the unnormalized upstream Zillow record under the 'raw' field.

## Actor input object example

```json
{
  "location": "Chicago",
  "maxItems": 20,
  "onlyChanges": false,
  "includeRaw": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "location": "Chicago",
    "maxItems": 20,
    "onlyChanges": false,
    "includeRaw": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("benthepythondev/zillow-rentals-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "location": "Chicago",
    "maxItems": 20,
    "onlyChanges": False,
    "includeRaw": False,
}

# Run the Actor and wait for it to finish
run = client.actor("benthepythondev/zillow-rentals-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "location": "Chicago",
  "maxItems": 20,
  "onlyChanges": false,
  "includeRaw": false
}' |
apify call benthepythondev/zillow-rentals-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,benthepythondev/zillow-rentals-api"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/W8TNW10tSBdqTKTap/builds/r7Q6ewRvCMxh9dFie/openapi.json
