Skip to content
Scrappa Get API key
Redfin API 1 credit/request

Redfin Market Trends

GET https://scrappa.co/api/redfin/market-trends

Get Redfin housing market data for a region: median sale price, median list price, price per square foot, sale-to-list ratio, average days on market, homes sold, homes on market, offers per home and year-over-year change. US regions also return a 73-month series (list and sold price per square foot, sale-to-list ratio, listings and sales) and a month-over-month / year-over-year table. Use region_id and region_type from Redfin Location Search.

Each value has a parsed number and the label Redfin shows. Canada (country=ca, region_type 33) returns the snapshot only; Redfin has no time series for Canada.

Cost: 1 credit per successful request. Failed requests are not charged.

Redfin Market Trends 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/redfin/market-trends
Auth header
x-api-key
Cost
1 credit/request
region_id = 1234567890 region_type = example
Response preview
200 OK
{
    "series": [
        {
            "date": "2020-09-30",
            "homes_sold": 1244,
            "homes_for_sale": 3604,
            "sale_to_list_ratio": 101.56,
            "list_price_per_sqft": 523,
            "sold_price_per_sqft": 498
        }
    ],
    "changes": {
        "homes_sold": [
            {
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

2 required parameters needed before sending a request.

1 optional filter available.

region_id string Required

Region identifier from /api/redfin/locations (for example 16163 for Seattle).

Example value 1234567890
region_type string Required

Region type: 1=neighborhood, 2=ZIP, 5=county, 6=city.

Example value example
country string Optional

us (default) or ca. For ca use region_type 33 with a region_id from /api/redfin/locations?country=ca.

Example value US

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

series changes country snapshot region_id region_type

Common series fields

date homes_sold homes_for_sale sale_to_list_ratio
JSON Response
200 OK
{
    "series": [
        {
            "date": "2020-09-30",
            "homes_sold": 1244,
            "homes_for_sale": 3604,
            "sale_to_list_ratio": 101.56,
            "list_price_per_sqft": 523,
            "sold_price_per_sqft": 498
        }
    ],
    "changes": {
        "homes_sold": [
            {
                "label": "Median Sold Price",
                "value": 830000,
                "year_over_year_pct": 2.78,
                "month_over_month_pct": 1.48
            }
        ]
    },
    "country": "us",
    "snapshot": {
        "homes_sold": {
            "label": "591",
            "value": 591
        },
        "homes_on_market": {
            "label": "2539",
            "value": 2539
        },
        "median_sale_price": {
            "label": "$830K",
            "value": 830000
        },
        "avg_days_on_market": {
            "label": "55",
            "value": 55
        },
        "sale_to_list_ratio": {
            "label": "98.9%",
            "value": 98.9
        }
    },
    "region_id": 16163,
    "region_type": 6
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

400

HTTP 400

The request contains null bytes or unsupported control characters.

422

HTTP 422

One or more Redfin request parameters failed validation.

404

HTTP 404

Region not found

500

HTTP 500

The upstream service is temporarily unavailable. Please retry shortly.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.