> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapebadger.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Zillow Scraper by ScrapeBadger — Overview

> Scrape Zillow (zillow.com) real-estate listings — search, maximal property detail with resoFacts, price/tax/Zestimate history, schools, and agent profiles — with structured JSON responses.

## Scraper API for Zillow

Search for-sale, for-rent, and sold listings, pull **maximal property detail** with the full `resoFacts` home-facts block, price / tax / Zestimate history, schools, and listing-agent attribution, look up agent profiles with reviews and past sales, and autocomplete locations across **zillow\.com** — a dedicated Zillow real-estate API. The API handles authentication, anti-bot bypass, and session/proxy routing automatically.

## Key Features

> [card] Multifamily Buildings
>
> Zillow's for-rent inventory is mostly apartment communities (`home_type: "BUILDING"`), which have no single price or zpid. The [`/v1/zillow/building`](https://docs.scrapebadger.com/api-reference/endpoint/zillow/get-building) endpoint returns their floor plans and **every available unit** with rent, sqft, and move-in date, plus amenities, office hours, pet policy, schools, and walk/transit/bike scores.

> [card] Deep Property Detail
>
> \~99 top-level fields per property plus a nested `home_facts` block distilled from Zillow's `resoFacts` MLS record — beds, baths, sqft, lot size, systems, features, HOA, parcel, and more.

> [card] History & Estimates
>
> Full **price history**, **tax history**, and **Zestimate value history** on the [`/v1/zillow/property/{zpid}`](https://docs.scrapebadger.com/api-reference/endpoint/zillow/get-property) detail endpoint, plus current Zestimate and Rent Zestimate.

> [card] Schools & Agents
>
> Nearby schools with ratings, listing-agent attribution, and full [agent profiles](https://docs.scrapebadger.com/api-reference/endpoint/zillow/get-agent.md) with reviews, past sales, and licenses.

> [card] Map-Bounds Tiling
>
> Beat Zillow's \~820-result (20-page) cap by re-issuing a search over subdivided `north`/`south`/`east`/`west` map-bound boxes returned in `map_bounds`.

> [card] Anti-Bot Bypass
>
> Automatic session management, Chrome TLS impersonation, and fingerprint rotation to avoid blocks.

> [card] US Proxies
>
> Requests are pinned to US residential IPs — Zillow serves all inventory (including Canadian MLS feeds) from zillow\.com behind a US IP.

> [!NOTE]
>
> Zillow caps a single search at **20 pages (\~820 results)**. For dense metros, split the area into smaller `north`/`south`/`east`/`west` map-bound tiles using the `map_bounds` box returned on each search.

## Coverage

Zillow is a **single-domain, single-locale** target: every market is served from `zillow.com` in USD / en-US behind a US residential IP. `zillow.ca` redirects to zillow\.com and Canadian inventory is an MLS data feed surfaced inside zillow\.com — there is no separate Canadian portal or currency/locale switcher.

| Market | Portal | Country | Currency | Locale |
| - | - | - | - | - |
| :us: `US` | zillow\.com | US | USD | en-US |
| :canada: `CA` | zillow\.com | CA | USD | en-US |

> [!TIP]
>
> Use the [`/v1/zillow/markets`](https://docs.scrapebadger.com/api-reference/endpoint/zillow/list-markets) endpoint to get the advertised coverage (with domain, currency, and locale) programmatically. Markets are informational only — there is no `market` routing parameter.

## Quick Start

```javascript Node.js theme={null}
import ScrapeBadger from "scrapebadger";

const client = new ScrapeBadger({ apiKey: "YOUR_API_KEY" });

const results = await client.zillow.search({
  location: "Austin, TX",
  status: "for_sale",
});

console.log(results.results);
```

```python Python theme={null}
from scrapebadger import ScrapeBadger

client = ScrapeBadger(api_key="YOUR_API_KEY")

results = client.zillow.search(
    location="Austin, TX",
    status="for_sale",
)

print(results.results)
```

```bash cURL theme={null}
curl "https://scrapebadger.com/v1/zillow/search?location=Austin,+TX&status=for_sale" \
  -H "x-api-key: YOUR_API_KEY"
```

## Endpoints

| Endpoint | Method | Description |
| - | - | - |
| [`/v1/zillow/search`](https://docs.scrapebadger.com/api-reference/endpoint/zillow/search) | GET | Search Zillow for listings |
| [`/v1/zillow/property/{zpid}`](https://docs.scrapebadger.com/api-reference/endpoint/zillow/get-property) | GET | Full detail for a single property |
| [`/v1/zillow/building`](https://docs.scrapebadger.com/api-reference/endpoint/zillow/get-building) | GET | Multifamily building — floor plans and per-unit rents |
| [`/v1/zillow/agent`](https://docs.scrapebadger.com/api-reference/endpoint/zillow/get-agent) | GET | Agent profile, reviews, past sales, listings |
| [`/v1/zillow/autocomplete`](https://docs.scrapebadger.com/api-reference/endpoint/zillow/autocomplete) | GET | Location autocomplete suggestions |
| [`/v1/zillow/markets`](https://docs.scrapebadger.com/api-reference/endpoint/zillow/list-markets) | GET | List advertised coverage markets |

## Credit Costs

| Endpoint | Cost |
| - | - |
| Search | 8 credits |
| Get property detail | 8 credits |
| Get multifamily building | 8 credits |
| Get agent profile | 8 credits |
| Autocomplete | 3 credits |
| List markets | 0 credits |
| Failed requests | 0 credits |

## Authentication

All requests require your API key in the `X-API-Key` header:

```bash theme={null}
curl "https://scrapebadger.com/v1/zillow/search?location=Miami,+FL" \
  -H "X-API-Key: YOUR_API_KEY"
```

## Anti-Bot Handling

Zillow protects its listings with PerimeterX/HUMAN fingerprinting, IP-reputation scoring, and TLS/HTTP-2 fingerprinting, and renders most data as embedded page JSON (`__NEXT_DATA__` search state and `gdpClientCache` property detail). ScrapeBadger clears these automatically using Chrome TLS impersonation on US-pinned sessions. You never need to manage proxies, sessions, or CAPTCHAs.

> [!NOTE]
>
> A few Zillow datapoints (comparable sales, Walk/Transit/Bike scores, climate risk) are lazy-loaded client-side and are **not** in the server-rendered JSON, so they are intentionally absent from responses.

## Rich Datapoints

Every property carries a deep set of structured fields:

| Group | Fields |
| - | - |
| **Pricing** | `price`, `zestimate`, `rent_zestimate`, `tax_assessed_value`, `monthly_hoa_fee`, `property_tax_rate`, `last_sold_price`, `price_change` |
| **Size** | `bedrooms`, `bathrooms`, `living_area`, `lot_size`, `lot_area_value`, `year_built`, plus `home_facts` bath/story/area breakdowns |
| **Location** | `street_address`, `city`, `state`, `zipcode`, `county`, `neighborhood`, `latitude`, `longitude`, `time_zone` |
| **Media** | `photos[]`, `photo_count`, `virtual_tour_url`, `has_3d_model`, `street_view_image_url`, `static_map_url` |
| **History** | `price_history[]`, `tax_history[]`, `zestimate_history[]`, `days_on_zillow` |
| **Facts** | `home_facts` (heating, cooling, appliances, flooring, parking, pool, HOA, green, features, parcel — \~125 fields) |
| **Context** | `schools[]`, `home_insights[]`, `open_house_schedule[]`, `nearby_cities/neighborhoods/zipcodes`, `agent` attribution, `mortgage_rates` |

Search returns each result as a `Listing` (\~50 fields); the [property detail](https://docs.scrapebadger.com/api-reference/endpoint/zillow/get-property.md) endpoint returns a full `Property` with the nested `home_facts`, history, schools, and agent blocks.

## Next Steps

> [card] [Search Listings](https://docs.scrapebadger.com/api-reference/endpoint/zillow/search.md)
>
> Full API reference for searching the Zillow catalog

> [card] [Property Detail](https://docs.scrapebadger.com/api-reference/endpoint/zillow/get-property.md)
>
> Retrieve full detail, home facts, price/tax/Zestimate history, schools, and agent for a property

> [card] [Multifamily Building](https://docs.scrapebadger.com/api-reference/endpoint/zillow/get-building.md)
>
> Apartment communities — floor plans, per-unit rents, availability, amenities, and schools

***

*ScrapeBadger is an independent tool and is not affiliated with, endorsed by, or sponsored by Zillow. "Zillow" is a trademark of Zillow, Inc., used here only to describe the platform this scraper is designed to work with.*


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.