Real estate web scraping
Real estate web scraping collects listing data from property portals, brokerages and public records: price, address, beds, size, status and price history. Zenrows fetches those protected pages, returns HTML, Markdown or structured JSON, and runs thousands of listing URLs as one job to keep your property dataset current.
Updated
{
"url": "https://www.example-portal.com/homes/1482-oak-st",
"address": "1482 Oak St, Austin, TX 78704",
"price": 615000,
"currency": "USD",
"status": "for_sale",
"beds": 3,
"baths": 2,
"living_area_sqft": 1640,
"lot_sqft": 6098,
"year_built": 1998,
"days_on_market": 12,
"price_history": [
{ "date": "2026-09-29", "event": "listed", "price": 639000 },
{ "date": "2026-10-11", "event": "price_change", "price": 615000 }
],
"agent": { "name": "Listing agent", "brokerage": "Example Realty" },
"photos": 28
}
What real estate teams collect
Three page types (search results, listings, agent profiles); jobs differ in fields kept and refresh rate.
| Job | Data you collect | Typical sources |
|---|---|---|
| Listing aggregation | Address, price, beds, baths, size, photos, status | |
| Price and status tracking | Price changes, days on market, sold and pending | Listing pages, daily or weekly |
| Rental market analysis | Asking rent, availability, amenities, deposit | Apartments.com, Zumper, regional rental portals |
| Agent and brokerage leads | Agent, brokerage, active listings, office | Agent profiles, brokerage directories |
| Valuation and comps | Sold prices, lot size, year built, neighbourhood | Portal sold listings, county assessor sites |
| Investment sourcing | New and stale listings, price drops, owner-listed homes | Saved searches across portals |
Why scraping property portals breaks
Portals protect hard: their data is their product.
What works this week returns empty pages after the next update.
403s, CAPTCHAs, or an empty 200
Zenrows' stealth gets through Cloudflare, DataDome, Akamai and similar
No price or photos in the raw HTML
Adaptive Stealth Mode renders the page when needed
Different stock, currency or language by country
Geotargeting picks the country
Selectors go empty after a redesign
Extract returns fields, no selectors
100,000 listings a day swamp a homegrown queue
Batch runs one job, webhook when done
How to scrape real estate listings with Zenrows
- Collect the listing URLs: Crawl a search page for a pattern like
/homedetails/. - Fetch each listing with Adaptive Stealth Mode, from your chosen country.
- Get structured fields with Extract, or name them with CSS selectors.
- Refresh on a schedule in Batch daily; diff for price changes, new listings and delistings.
# pip install requests
import requests
params = {
"apikey": "YOUR_ZENROWS_API_KEY",
"url": "LISTING_URL", # a listing detail page
"mode": "auto", # Adaptive Stealth Mode
"proxy_country": "us",
"extract": "auto",
}
response = requests.get("https://api.zenrows.com/v1/", params=params)
listing = response.json()
print(listing)curl -X POST "https://async.api.zenrows.com/v1/jobs" \
-H "X-API-Key: YOUR_ZENROWS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "regular",
"status": "closed",
"zenrows_params": { "mode": "auto", "extract": "auto" },
"tasks": [
{ "url": "LISTING_URL_1", "external_id": "listing-1" },
{ "url": "LISTING_URL_2", "external_id": "listing-2" }
]
}'npx -y @zenrows/cli init
zenrows extract LISTING_URL --autoparse
zenrows batch create listings.jsonl --wait # one {"url": "..."} per line
zenrows batch results JOB_ID --out listings-results.jsonl# Connect once
claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp
# Then ask:
Use Zenrows to extract address, price, beds, baths, square footage and days on market from these three Zillow listing pages and return them as one table.Which Zenrows product fits
- Pull one listing or search page FetchThe rendered page, even from protected portals
- Get listing JSON without selectors ExtractStructured data that adapts to layout changes
- Find every listing URL in a market or brokerage CrawlFollows pagination and links, keeps matching URLs
- Refresh a large portfolio every day BatchThousands of URLs, one job, webhook or download
- Ask an agent to research a neighbourhood MCP ServerClaude, Cursor and other clients call Zenrows
What success looks like
| Measure | What good looks like | How to check it |
|---|---|---|
| Coverage | Every listing in your markets, current | Your count against the portal's |
| Freshness | Price and status changes land within one cycle | Diff runs; track each record's age |
| Field completeness | Price, address, beds, baths, size on nearly every record | Empty fields per portal per run |
| Run time | The daily refresh done before analysts start | Start and end time of each Batch job |
| Upkeep | Little engineer time on selectors or blocks | Monthly hours on scraper fixes |
Real estate web scraping FAQ
-
Collecting public listings is common in research, valuation and lead generation. Use matters: respect site terms, skip personal data you cannot justify, never republish copyrighted photos or descriptions. When in doubt, ask your legal team.
-
Yes. Zenrows is built for protected, JavaScript-heavy portals: Adaptive Stealth Mode escalates only when needed, and Extract returns the listing as JSON.
-
Anything a visitor sees: price, address, beds, baths, living area, lot size, year built, status, days on market, price history, photos, amenities, agent, brokerage. Search pages give URLs; detail pages the full record.
-
Resubmit stored listing URLs to Batch, daily for active markets, and diff runs for price drops, status changes, new listings and delistings.
-
Crawl a rentals search on Apartments.com or Zumper for listing URLs; Extract returns rent, beds, baths, size, availability and amenities as JSON. Rentals turn over fast: refresh daily in Batch, drop removed listings.
-
Yes. Geotargeting (Spain for Idealista, the UK for Rightmove) returns local listings, prices and currency.