# Redfin Market Analytics Scraper — Compete Score & Trends (`memo23/redfin-market-analytics-scraper`) Actor

Scrape Redfin housing market analytics: Compete Score (0-100), avg offers, DOM, sale-to-list ratio, 60-month median price & sales volume trends, and sold comps by City or ZIP code. Public data only. JSON/CSV.

- **URL**: https://apify.com/memo23/redfin-market-analytics-scraper.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 market analytics reports

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Redfin Market Analytics Scraper — Compete Score & 60-Month Trends

Extract comprehensive real estate market intelligence from Redfin: **Compete Score (0–100)**, average number of offers, days on market (DOM), sale-to-list price ratios, **60-month historical price and sales volume trends**, nearby market scores, and recently sold comparable properties for any US **City, ZIP Code, County, or Neighborhood**.

> 💰 **Unbeatable Pricing ($0.002 / result):** Competitors charge **$0.012 to $0.025** per market report. This actor delivers full Redfin market intelligence at **$0.002 per result** — **10x cheaper** with zero setup required.

***

### ⚡ What Data Does This Scraper Extract?

Every market report record includes:

1. **Competitive Intelligence (Compete Score):**
   - `competeScore`: 0–100 score rating how competitive the local housing market is.
   - `competeDescription`: Human-readable summary (e.g. *"Scoring 38/100 with avg 1.5 offers and 75 DOM"*).
   - `avgNumOffers`: Average number of competing offers per home.
   - `avgDaysOnMarket`: Average days on market before going under contract.
   - `saleToListRatio`: Percentage of asking price homes actually sell for (e.g. `0.965` = 96.5%).
   - `waivedContingencyPercent`: Percentage of offers waiving inspection/financing contingencies.
   - `pctHomesSoldAboveList`: Percentage of homes selling above list price.

2. **Current Market Trends:**
   - `medianSalePrice`: Median home sale price (e.g. `"$520K"`).
   - `medianListPrice`: Median active listing price (e.g. `"$500K"`).
   - `medianSalePerSqFt` & `medianListPerSqFt`: Price per square foot.
   - `numHomesSold`: Total homes sold in the period.
   - `numHomesOnMarket`: Active inventory count.
   - `yoySalePrice` & `yoySalePerSqft`: Year-over-year percentage price changes (e.g. `"-1.9%"`).
   - `avgDownPayment`: Average buyer down payment percentage.
   - `period`: Reporting window (e.g. *"October 2026"*).

3. **60-Month Historical Trend Time-Series:**
   - Monthly historical series for **Median Sale Price**, **Number of Homes Sold**, and **Median Days on Market**.
   - Monthly historical series for **Sale-to-List Ratio** and **Homes Sold Above List Price**.

4. **Regional & Comparable Context:**
   - `nearbyCompeteScores`: Compete scores and metrics for surrounding cities and neighborhoods.
   - `recentlySoldHomes`: List of recently sold homes with sale price, beds, baths, sqft, and sold date.
   - `offerInsights`: Tips and market commentary from active local agents.
   - `migration`: Inbound, outbound, and metro-to-metro relocation search patterns.

***

### 📋 Sample Output

```json
{
  "url": "https://www.redfin.com/city/30818/TX/Austin/housing-market",
  "marketType": "housing-market",
  "pageTitle": "2026 Austin Housing Market: House Prices & Trends as of October | Redfin",
  "metaDescription": "The Austin, TX housing market is somewhat competitive, scoring 38 out of 100. The average Austin house price was $520K last month, down 1.9% since last year.",
  "regionName": "Austin",
  "regionType": "city",
  "regionId": "30818",
  "period": "October 2026",
  "competeScore": 38,
  "competeDescription": "Scoring 38/100 with avg 1.5 offers and 75 DOM",
  "avgNumOffers": 1.5,
  "avgDaysOnMarket": 75,
  "saleToListRatio": 0.965,
  "waivedContingencyPercent": 0,
  "medianSalePrice": "$520K",
  "medianListPrice": "$500K",
  "medianSalePerList": "96.2%",
  "medianSalePerSqFt": "$284",
  "medianListPerSqFt": "$316",
  "numHomesSold": "672",
  "numHomesOnMarket": "4489",
  "soldDaysOnMarketMedian": "77",
  "pctHomesSoldAboveList": 9.985,
  "avgDownPayment": "55.1%",
  "yoySalePrice": "-1.9%",
  "yoySalePerSqft": "-6.0%",
  "competeScoreDetails": {
    "hhSaleToList": 1,
    "hhDom": 39,
    "numOffers": 1.5,
    "score": 38,
    "saleToList": 0.965,
    "dom": 75,
    "waivedContingency": 0,
    "lookBack": 3
  },
  "marketTrends": {
    "medianListPrice": "$500K",
    "medianSalePerList": "96.2%",
    "medianListPerSqFt": "$316",
    "avgNumOffers": "3",
    "medianSalePrice": "$520K",
    "avgDownPayment": "55.1%",
    "medianSalePerSqFt": "$284",
    "numHomesSold": "672",
    "numHomesOnMarket": "4489",
    "avgDaysOnMarket": "88",
    "yoySalePrice": "-1.9%",
    "yoySalePerSqft": "-6.0%",
    "period": "October 2026",
    "pctHomesSoldAboveList": 9.985,
    "soldDaysOnMarketMedian": "77"
  },
  "nearbyCompeteScores": [
    {
      "regionName": "Round Rock",
      "regionUrl": "/city/30823/TX/Round-Rock/housing-market",
      "scoreAggs": { "score": 43, "dom": 77, "saleToList": 0.973, "numOffers": 1.4 }
    }
  ],
  "historicalPriceMetrics": [
    {
      "label": "Median Sale Price",
      "value": "$528,657",
      "aggregateData": [
        { "date": "2026-10-31", "value": "528657", "yoy": "-0.11%" }
      ]
    }
  ],
  "scrapedAt": "2026-11-21T23:44:44.768Z"
}
```

***

### 🚀 How to Use

#### 1. By City Name (`searchKeywords`)

Type any US city and state:

```json
{
  "searchKeywords": ["Austin, TX", "Miami, FL", "Denver, CO"]
}
```

#### 2. By ZIP Code (`zipCodes`)

Pass 5-digit US ZIP codes:

```json
{
  "zipCodes": ["78701", "33139", "80202"]
}
```

#### 3. By Direct Housing Market URLs (`startUrls`)

Paste any Redfin `/housing-market` link:

```json
{
  "startUrls": [
    "https://www.redfin.com/city/30818/TX/Austin/housing-market",
    "https://www.redfin.com/zipcode/78701/housing-market"
  ]
}
```

***

### 🔒 Built-in WAF Solver & ISP Proxies

Redfin protects its housing market and insights endpoints behind AWS WAF challenges (HTTP 202/403). This actor includes an inline **native AWS WAF challenge solver** that clears proof-of-work challenges in under ~350ms, paired with high-reputation static ISP proxy routing. You don't need to configure captcha solvers or expensive residential proxies.

***

### ⚖️ Pricing Comparison

| Feature | Sian Agency (`redfin-market-analytics-scraper`) | This Scraper (`memo23/redfin-market-analytics-scraper`) |
|---|---|---|
| **Price per result** | **$0.012 – $0.025** | **$0.002** (10x cheaper) |
| **Compete Score (0-100)** | ✅ Included | ✅ Included |
| **Current Market Trends** | ✅ Included | ✅ Included |
| **60-Month Historical Trends** | ✅ Included | ✅ Included |
| **Recently Sold Comps** | ✅ Included | ✅ Included |
| **Nearby Scores & Migration** | ✅ Included | ✅ Included |
| **Built-in WAF Solver** | Basic | Native Inline Solver (~350ms) |

***

### ⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Redfin Corporation or any of its subsidiaries. All trademarks mentioned are the property of their respective owners. Scrapes publicly available data only.

# Actor input Schema

## `startUrls` (type: `array`):

Redfin Housing Market URLs to scrape (e.g. `https://www.redfin.com/city/30818/TX/Austin/housing-market` or `https://www.redfin.com/zipcode/78701/housing-market`). Optional if using searchKeywords or zipCodes below.

## `searchKeywords` (type: `array`):

List of cities or regions to look up (e.g. `Austin, TX`, `Dallas, TX`, `Miami, FL`). The scraper automatically resolves the canonical Redfin housing market URL.

## `zipCodes` (type: `array`):

List of 5-digit US ZIP codes to scrape housing market metrics for (e.g. `78701`, `90210`).

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

Maximum number of market reports to push to the dataset.

## `fields` (type: `array`):

Optional list of fields to include in the output (e.g. `regionName,competeScore,medianSalePrice`). Leave empty for all fields.

## `excludeFields` (type: `array`):

Optional list of fields to omit from the output.

## `proxy` (type: `object`):

Proxies to use for scraping. By default, high-speed static ISP proxies are used at no extra cost.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.redfin.com/city/30818/TX/Austin/housing-market"
  ],
  "maxItems": 100
}
```

# Actor output Schema

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

Dataset of Redfin housing market metrics: Compete Score (0-100), avg offers, days on market, sale-to-list ratio, price trends, 60-month historical metrics, and comps.

# 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 = {
    "startUrls": [
        "https://www.redfin.com/city/30818/TX/Austin/housing-market"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/redfin-market-analytics-scraper").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 = { "startUrls": ["https://www.redfin.com/city/30818/TX/Austin/housing-market"] }

# Run the Actor and wait for it to finish
run = client.actor("memo23/redfin-market-analytics-scraper").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 '{
  "startUrls": [
    "https://www.redfin.com/city/30818/TX/Austin/housing-market"
  ]
}' |
apify call memo23/redfin-market-analytics-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/redfin-market-analytics-scraper"
        }
    }
}
```

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/0ccxIxQj413MgCHwq/builds/pZUpDfdoJgj0qiu5e/openapi.json
