NEW AI Studio is now available Try it now
Real Estate

Redfin Scraper

Extract property listings, Redfin Estimates, market data, and agent info from Redfin. Powered by spider-browser .

Get Started Documentation
redfin.com target
99.5% success rate
~4ms latency
Quick Start

Extract data in minutes

redfin-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
  stealth: 2,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://www.redfin.com/city/30749/CA/San-Francisco");
await page.content(12000);

const data = await page.evaluate(`(() => {
  const listings = [];
  document.querySelectorAll(".HomeCardContainer").forEach(el => {
    const price = el.querySelector(".homecardV2Price")?.textContent?.trim();
    const stats = el.querySelector(".HomeStatsV2")?.textContent?.trim();
    const address = el.querySelector(".homeAddressV2")?.textContent?.trim();
    if (address) listings.push({ address, price, stats });
  });
  return JSON.stringify({ total: listings.length, listings: listings.slice(0, 10) });
})()`);

console.log(JSON.parse(data));
await spider.close();
✓ ready to run | spider-browser | TypeScript
Fetch API

Structured data endpoint

Extract structured JSON from redfin.com with a single POST request. AI-configured selectors, cached for fast repeat calls.

POST /fetch/redfin.com/
AddressPriceBedsBathsSq ftRedfin Estimate
curl
curl -X POST https://api.spider.cloud/fetch/redfin.com/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
Python
import requests

resp = requests.post(
    "https://api.spider.cloud/fetch/redfin.com/",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={"return_format": "json"},
)
print(resp.json())
Node.js
const resp = await fetch("https://api.spider.cloud/fetch/redfin.com/", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data);
Extraction

Data you can extract

AddressPriceBedsBathsSq ftRedfin EstimateHOADays on market
Maps

Geo-based extraction

Handle map-based search interfaces with scroll and zoom interaction.

Anti-Bot

Access protection

Bypass rate limiting and bot detection on redfin.com property pages.

Data

Property intelligence

Extract valuations, tax records, lot details, and neighborhood data.

Related

More Real Estate scrapers

Start scraping redfin.com

Get your API key and start extracting data in minutes.