# Redfin API by APISH (`apish/redfin-api`) Actor

Redfin listings, sold homes, Redfin Estimates, price history, market stats, rentals and agents as JSON, via APISH. Pay per credit; failed calls are free.

- **URL**: https://apify.com/apish/redfin-api.md
- **Developed by:** [APISH](https://apify.com/apish) (community)
- **Categories:** Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.00 / 1,000 credits

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 API by APISH

Get public Redfin data as clean, consistent JSON: redfin agent profile, redfin agents by region, redfin location autocomplete, redfin Estimate and rent estimate, redfin housing market stats, redfin open houses and more. 14 endpoints, one response shape, numbers parsed, absolute URLs.

### How to use

1. Pick an **Endpoint**. Each option shows what it returns and its price in credits.
2. Enter its **Parameters** as JSON, for example `{"location":"Seattle, WA"}`. All parameters are listed below.
3. Run. Each call becomes one row in the dataset. Use **Batch** to run the same endpoint for many inputs and **Pages per input** to follow pagination.

### Pricing

Pay per event: you pay per APISH credit the call used. The price of each endpoint is in the table below. Calls that fail on our side (server errors, timeouts, blocks) are free.

### Endpoints

| Endpoint | Returns | Required parameters | Credits |
|---|---|---|---|
| `/redfin/v1/agent` | Redfin agent profile | — | 1 |
| `/redfin/v1/agents` | Redfin agents by region | — | 1 |
| `/redfin/v1/autocomplete` | Redfin location autocomplete | `q` | 1 |
| `/redfin/v1/estimate` | Redfin Estimate and rent estimate | — | 1 |
| `/redfin/v1/market` | Redfin housing market stats | — | 1 |
| `/redfin/v1/open-houses` | Redfin open houses | — | 1 |
| `/redfin/v1/property/estimate` | Redfin Estimate and history | — | 1 |
| `/redfin/v1/property/price-history` | Redfin home price and tax history | — | 1 |
| `/redfin/v1/property/rent` | Redfin rental property | — | 1 |
| `/redfin/v1/property/sale` | Redfin property for sale | `url` | 2 |
| `/redfin/v1/schools` | Redfin schools near a home | — | 1 |
| `/redfin/v1/search` | Redfin homes in a region | — | 1 |
| `/redfin/v1/similar` | Redfin similar homes | — | 1 |
| `/redfin/v1/sold` | Redfin recently sold homes | — | 1 |

### Output

Each dataset row has `endpoint`, `params`, `status`, `credits_used` and the endpoint's data. Add `"raw": 1` to the parameters to also get the site's original record, or `"fields": "a,b.c"` to return only the fields you need.

### Endpoint details

#### Redfin agent profile

Endpoint `/redfin/v1/agent` · 1 credit per successful call.

A Redfin agent's profile: name, title, bio, license number, phone, email, photos, start year, homes closed, rating and review counts, deal statistics (last year and lifetime volume, average and highest prices), service areas, top markets, latest reviews (text, date, reviewer, the deal reviewed) and recent sales and purchases (address, price, date, beds, baths, square feet).

Parameters:

- `url`: Agent profile URL (https://www.redfin.com/real-estate-agents/<name>).
- `slug`: The agent's slug instead of url (kaye-rich).
- `reviews`: How many latest reviews (1-50, default 10).
- `deals`: How many recent sales and purchases each (1-40, default 8).

Example parameters: `{"url":"https://www.redfin.com/real-estate-agents/kaye-rich"}`

#### Redfin agents by region

Endpoint `/redfin/v1/agents` · 1 credit per successful call.

Redfin and partner agents serving a city, ZIP code or neighborhood: name, profile link, title, email, phone, photo, rating, reviews, deals in the region and overall in the past year, lifetime transactions and volume, premier and partner flags, languages, service areas and brokerage. Filter by name, language and rating, sort, and page. Pass `next_page` back as `page`; null on the last page.

Parameters:

- `location`: A city, ZIP code or neighborhood name.
- `url`: A redfin.com /city/, /zipcode/ or /neighborhood/ page instead of location.
- `region_id`: A Redfin region id (with region_type) instead of location.
- `region_type`: 1 neighborhood, 6 city (default).
- `q`: Only agents whose name contains this.
- `language`: Only agents who speak this language.
- `min_rating`: Lowest star rating (0-5).
- `sort` — one of `deals`, `rating`, `reviews`, `name`: deals (default, deals in the region last year), rating, reviews or name.
- `per_page`: Agents per page (default 25, max 100).
- `page`: Page number (default 1).

Example parameters: `{"location":"Seattle, WA"}`

#### Redfin location autocomplete

Endpoint `/redfin/v1/autocomplete` · 1 credit per successful call.

What Redfin suggests while you type a place or address: cities, neighborhoods, ZIP codes, counties, addresses and apartment buildings, each with its type, region id and region type (ready for the search, sold, market and agents endpoints), property id for addresses, and the Redfin link.

Parameters:

- `q` (required): What was typed: a city, neighborhood, ZIP code, county or street address.

Example parameters: `{"q":"Seattle"}`

#### Redfin Estimate and rent estimate

Endpoint `/redfin/v1/estimate` · 1 credit per successful call.

The Redfin Estimate for a home (value, low and high range, comparables, value history, sale history, neighborhood stats and Redfin's summary) plus the rent estimate with its range.

Parameters:

- `url`: A redfin.com home link (with or without https://).
- `property_id`: The numeric Redfin property id instead of a link.

Example parameters: `{"url":"https://www.redfin.com/WA/Seattle/2829-E-Arthur-Pl-98112/home/147045"}`

#### Redfin housing market stats

Endpoint `/redfin/v1/market` · 1 credit per successful call.

Housing market numbers for a city, ZIP code, neighborhood or county: compete score and its parts, median sale and list price, price per square foot, sale-to-list, homes sold, homes on the market, days on market, offers, down payment, year-over-year changes, monthly series for home prices and demand, offer insights and nearby compete scores.

Parameters:

- `location`: A city, ZIP code, neighborhood or county name.
- `url`: A redfin.com /city/, /zipcode/, /neighborhood/ or /county/ page instead of location.
- `region_id`: A Redfin region id (with region_type) instead of location.
- `region_type`: 1 neighborhood, 5 county, 6 city (default).
- `property_type` — one of `all`, `house`, `condo`, `townhouse`: Which homes the monthly series cover (default all).

Example parameters: `{"location":"Seattle, WA"}`

#### Redfin open houses

Endpoint `/redfin/v1/open-houses` · 1 credit per successful call.

Homes for sale with an upcoming open house in a city, ZIP code, neighborhood or county: open house start and end (ISO), its label and every field of a search result. All the search filters work here too. Pass `next_page` back as `page`; null on the last page.

Parameters:

- `location`: A city, ZIP code, neighborhood or county name.
- `url`: A redfin.com /city/, /zipcode/, /neighborhood/ or /county/ page instead of location.
- `region_id`: A Redfin region id (with region_type) instead of location.
- `region_type`: 1 neighborhood, 5 county, 6 city (default).
- `min_price`: Lowest price.
- `max_price`: Highest price.
- `beds`: At least this many bedrooms.
- `baths`: At least this many bathrooms.
- `property_type`: Comma-separated: house, condo, townhouse, multi_family, land, other, manufactured, coop.
- `sort`: recommended (default), price_asc, price_desc, newest, sqft_desc, price_per_sqft_asc.
- `num_homes`: Homes per page (default 20, max 100).
- `page`: Page number (default 1).

Example parameters: `{"location":"Seattle, WA"}`

#### Redfin Estimate and history

Endpoint `/redfin/v1/property/estimate` · 1 credit per successful call.

The Redfin Estimate for a home (value, range, comparables), its value history, the sale history, neighborhood stats and Redfin's summary paragraph. Four small JSON calls; no page load.

Parameters:

- `url`: Redfin home URL (…/home/<id>). Or give `property_id`.
- `property_id`: Redfin property id (the number after /home/).

Example parameters: `{"url":"https://www.redfin.com/WA/Seattle/1200-Western-Ave-98101/unit-604/home/12285012"}`

#### Redfin home price and tax history

Endpoint `/redfin/v1/property/price-history` · 1 credit per successful call.

A home's listing and sale history (date, event such as Listed, Price Changed, Sold or Delisted, price, price per square foot, source and MLS number) and its property tax history by year (tax, land and improvement values), with the county's public record facts.

Parameters:

- `url`: A redfin.com home link.
- `property_id`: The numeric Redfin property id instead of a link.

Example parameters: `{"url":"https://www.redfin.com/WA/Seattle/2829-E-Arthur-Pl-98112/home/147045"}`

#### Redfin rental property

Endpoint `/redfin/v1/property/rent` · 1 credit per successful call.

One rental from Redfin's own rentals data: rent, bed, bath and size ranges, every floor plan with its units and prices, fees and pet policies, unit and community amenities, contacts and leasing office hours, photos, the rental estimate, views and favorites, schools, and optionally similar rentals nearby. A property with no rental listing returns 404.

Parameters:

- `url`: Rental page URL (an /apartment/ building or a /home/ house for rent). Either this or property_id.
- `property_id`: Redfin property id, instead of url.
- `schools`: false skips the schools section (about 50 KB).
- `nearby`: true adds similar rentals nearby (nearby_rentals).

Example parameters: `{"property_id":"2083497"}`

#### Redfin property for sale

Endpoint `/redfin/v1/property/sale` · 2 credits per successful call.

Parameters:

- `url` (required)

Example parameters: `{"url":"https://www.redfin.com/WA/Seattle/1105-Spring-St-98104/unit-405/home/12305595"}`

#### Redfin schools near a home

Endpoint `/redfin/v1/schools` · 1 credit per successful call.

Schools serving a home and other nearby schools: name, GreatSchools rating, parent rating, distance in miles, grades, public or private, students, student-teacher ratio and link, plus the school districts serving it.

Parameters:

- `url`: A redfin.com home link.
- `property_id`: The numeric Redfin property id instead of a link.

Example parameters: `{"url":"https://www.redfin.com/WA/Seattle/2829-E-Arthur-Pl-98112/home/147045"}`

#### Redfin homes in a region

Endpoint `/redfin/v1/search` · 1 credit per successful call.

Redfin homes for a region, with every filter of the site's search. Give `region_id` + `region_type` (from a Redfin URL: /city/16163/WA/Seattle is region 16163, type 6) or `url` (any Redfin search page: city, ZIP, neighborhood, county; its region is read once from the page). Redfin's own gis parameters (num_beds, min_listing_approx_size, uipt, ord, ...) are also accepted.  Pass `next_page` back as `page`; `next_page` is null on the last page. Also filters by minimum number of stories, garage, pool, waterfront and upcoming open house.

Parameters:

- `region_id`: Redfin region id. Optional when `url` is given.
- `region_type`: 1 neighborhood, 2 ZIP, 4 state, 5 county, 6 city (default).
- `url`: A Redfin search page URL (e.g. https://www.redfin.com/zipcode/98101).
- `status` — one of `for_sale`, `active`, `sold`, `pending`: for_sale (default, includes coming soon), active, sold, pending.
- `sold_within_days`: With status=sold: sold in the last N days (default 90).
- `min_price`: Minimum price, USD.
- `max_price`: Maximum price, USD.
- `beds`: Minimum bedrooms.
- `max_beds`: Maximum bedrooms.
- `baths`: Minimum bathrooms.
- `min_sqft`: Minimum home size, sq ft.
- `max_sqft`: Maximum home size, sq ft.
- `min_lot`: Minimum lot size, sq ft.
- `max_lot`: Maximum lot size, sq ft.
- `min_year_built`: Built from (year).
- `max_year_built`: Built until (year).
- `max_hoa`: Maximum HOA dues per month, USD.
- `property_type`: Comma-separated: house, condo, townhouse, multi_family, land, other, manufactured, coop.
- `sort` — one of `recommended`, `price_asc`, `price_desc`, `newest`, `sqft_desc`, `price_per_sqft_asc`: recommended (default), price_asc, price_desc, newest, sqft_desc, price_per_sqft_asc.
- `num_homes`: Homes per page (default 20, up to 100).
- `page`: Page number. Pass `next_page` from the previous response; `next_page` is null on the last page.
- `min_stories`: Minimum number of stories.
- `has_garage`: Homes with a garage only.
- `pool`: Homes with a pool only.
- `waterfront`: Waterfront homes only.
- `open_house`: Homes with an upcoming open house only.

Example parameters: `{"region_id":16163,"region_type":6}`

#### Redfin similar homes

Endpoint `/redfin/v1/similar` · 1 credit per successful call.

Homes like this one: similar homes for sale now, or similar homes sold recently nearby (sold price and date), each with price, beds, baths, square feet, address, location, days on market, key facts, photos count and link.

Parameters:

- `url`: A redfin.com home link.
- `property_id`: The numeric Redfin property id instead of a link.
- `type` — one of `listings`, `sold`: listings (default) = for sale now, sold = recently sold.

Example parameters: `{"url":"https://www.redfin.com/WA/Seattle/2829-E-Arthur-Pl-98112/home/147045"}`

#### Redfin recently sold homes

Endpoint `/redfin/v1/sold` · 1 credit per successful call.

Recently sold homes in a US city, ZIP code, neighborhood or county: sold date and sold price, address, beds, baths, square feet, lot, year built, price per square foot, coordinates, listing and selling brokers, MLS number and the full home card (`raw`). Sales come from the MLS or from public records (`sale_source`); in non-disclosure states (e.g. Texas) the sold price is not published and is null. Pass a place in `location`, a Redfin region (`region_id` + `region_type`) or a Redfin city/ZIP/neighborhood/county URL. Pages of `num_homes` (default 20, up to 100); pass `next_page` back as `page` (null on the last page).

Parameters:

- `location`: City, ZIP code, neighborhood or county ("Seattle, WA", "98101", "Capitol Hill, Seattle", "King County, WA"). Whole states are refused.
- `region_id`: Redfin region id instead of location (from /redfin/v1/sold or a Redfin URL).
- `region_type` — one of `6`, `2`, `1`, `5`: Region type for region_id: 6 city, 2 ZIP code, 1 neighborhood, 5 county.
- `url`: A Redfin /city/, /zipcode/, /neighborhood/ or /county/ page instead of location.
- `sold_within_days` — one of `7`, `30`, `90`, `180`, `365`, `730`, `1095`, `1825`: Sold in the last N days (default 90).
- `sort` — one of `recommended`, `newest`, `price_desc`, `price_asc`, `sqft_desc`, `price_per_sqft_asc`: Order of the results.
- `property_type`: Comma list: house, condo, townhouse, multi_family, land, other, manufactured, coop.
- `min_price`: Minimum sold price (USD).
- `max_price`: Maximum sold price (USD).
- `beds`: Minimum bedrooms.
- `max_beds`: Maximum bedrooms.
- `baths`: Minimum bathrooms.
- `min_sqft`: Minimum square feet.
- `max_sqft`: Maximum square feet.
- `min_lot`: Minimum lot size (sq ft).
- `max_lot`: Maximum lot size (sq ft).
- `min_year_built`: Built in or after.
- `max_year_built`: Built in or before.
- `max_hoa`: Maximum monthly HOA fee.
- `num_homes`: Homes per page (1-100, default 20).
- `page`: Page (1-30); pass `next_page` back.

Example parameters: `{"location":"Seattle, WA"}`

### Support

Questions, bugs or a missing field? Open an issue in this Actor's Issues tab and we will reply there.

Public data only: nothing behind a login. You are responsible for how you use the data you collect.

# Actor input Schema

## `endpoint` (type: `string`):

Which Redfin endpoint to call. Each option shows what it returns and its price in credits.

## `params` (type: `object`):

Query parameters for the endpoint, as JSON. See the README for every endpoint's parameters. Example: {"location":"Seattle, WA"}

## `batch` (type: `array`):

Run the same endpoint for many inputs: a list of parameter objects. Each item is one call. Leave empty to use Parameters.

## `maxPages` (type: `integer`):

For paginated endpoints: follow next_cursor up to this many pages per input. 1 = first page only.

## Actor input object example

```json
{
  "endpoint": "/redfin/v1/market",
  "params": {
    "location": "Seattle, WA"
  },
  "batch": [],
  "maxPages": 1
}
```

# Actor output Schema

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

One row per call: endpoint, params, status, credits_used and the data.

# 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 = {
    "endpoint": "/redfin/v1/market",
    "params": {
        "location": "Seattle, WA"
    },
    "batch": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("apish/redfin-api").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 = {
    "endpoint": "/redfin/v1/market",
    "params": { "location": "Seattle, WA" },
    "batch": [],
}

# Run the Actor and wait for it to finish
run = client.actor("apish/redfin-api").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 '{
  "endpoint": "/redfin/v1/market",
  "params": {
    "location": "Seattle, WA"
  },
  "batch": []
}' |
apify call apish/redfin-api --silent --output-dataset

```

## MCP server setup

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

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/GJmYNfzAD9do2GI4E/builds/DJdqLJYEDk46fnBLM/openapi.json
