{
  "openapi": "3.0.1",
  "info": {
    "title": "Redfin Scraper - Homes for Sale, Sold & Rentals",
    "description": "Scrape Redfin homes for sale, sold and for rent by city, ZIP, address or search URL: price, beds, baths, sqft, year built, HOA, days on market, photo. Optional: price history, Redfin Estimate, schools, agent contacts. Export to JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "Z9Qr9xcKlOfi4PTih"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nice_dev~redfin-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nice_dev-redfin-listings-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/nice_dev~redfin-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nice_dev-redfin-listings-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/nice_dev~redfin-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nice_dev-redfin-listings-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "startUrls": {
            "title": "Start URLs",
            "maxItems": 1000,
            "type": "array",
            "description": "Redfin search URLs (`https://www.redfin.com/city/16163/WA/Seattle`, `/zipcode/98103`, `/county/118/WA/King-County`, `/neighborhood/…`, a school `https://www.redfin.com/school/104122/WA/Seattle/Garfield-High-School`, a school district `https://www.redfin.com/school-district/4179/WA/Seattle-Public-Schools`, a state `https://www.redfin.com/state/Washington`, with `/filter/…` and `/rentals` kept) or a building page (`https://www.redfin.com/WA/Seattle/…/building/139714`: all its units for sale, whatever the filters and the sort below; the homes still go through the checks the Actor makes on each home) or single property URLs (`https://www.redfin.com/WA/Seattle/…/home/15492`). When this list is not empty, Location and More locations are ignored; the filters below, caps and monitoring still apply. Max 1 000 URLs.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "location": {
            "title": "Location",
            "maxLength": 200,
            "type": "string",
            "description": "City, ZIP code, neighborhood, county, school, school district or state, as typed in Redfin's search box (e.g. `Seattle, WA`, `98103`, `Capitol Hill, Seattle, WA`, `King County, WA`, `Garfield High School Seattle`, `Seattle Public Schools`, `Washington State`). A state is typed with the word State (`Washington` alone is the city of Washington, DC). A full street address reads that one home. The whole area is read, up to every home Redfin lists there: a state or a school district holds thousands of homes, so set Max listings. Empty = only the locations listed below."
          },
          "locations": {
            "title": "More locations",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "More locations searched in the same run (same format as Location). They add to the field above; homes found by several searches are saved once.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "query": {
            "title": "Keyword",
            "maxLength": 200,
            "type": "string",
            "description": "Keep only the homes whose description or key facts contain this keyword, as whole words (case ignored), e.g. `pool`, `ADU`, `view`. Each keyword is searched in every location."
          },
          "searchQueries": {
            "title": "More keywords",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Several keywords in one run: one search per keyword (times each location; 3 keywords × 4 locations = 12 searches, max 500). Added to Keyword.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "propertyIds": {
            "title": "Redfin property IDs",
            "maxItems": 1000,
            "uniqueItems": true,
            "type": "array",
            "description": "Read these homes directly by Redfin property ID (`15492`, the number at the end of `…/home/15492`). Each one gives one result. Can be combined with a search.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "addresses": {
            "title": "Addresses",
            "maxItems": 1000,
            "uniqueItems": true,
            "type": "array",
            "description": "Read these homes directly by full street address (`520 2nd Ave W #201, Seattle, WA 98119`). Each address found on Redfin gives one result. Can be combined with a search.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchResultsDatasetId": {
            "title": "Dataset of Redfin listings",
            "maxLength": 100,
            "type": "string",
            "description": "ID of an Apify dataset that holds Redfin listings (with `url` or `propertyId`), e.g. from a previous run of this Actor: each home is read again, with the options ticked below."
          },
          "listingStatus": {
            "title": "Listing status",
            "enum": [
              "for_sale",
              "sold",
              "for_rent"
            ],
            "type": "string",
            "description": "Which homes to search: for sale, recently sold, or for rent.",
            "default": "for_sale"
          },
          "includeComingSoon": {
            "title": "Include coming soon",
            "type": "boolean",
            "description": "For sale searches: also return the homes announced as coming soon (Redfin's default).",
            "default": true
          },
          "includePending": {
            "title": "Include pending and under contract",
            "type": "boolean",
            "description": "For sale searches: also return the homes under contract or pending (an offer was accepted).",
            "default": false
          },
          "soldWithinDays": {
            "title": "Sold in the last (days)",
            "minimum": 1,
            "maximum": 36500,
            "type": "integer",
            "description": "Recently sold searches: homes sold in the last N days (`7`, `30`, `90`, `365`, `1825` = 5 years; `36500` = every sale on record). Ignored for other statuses.",
            "default": 90
          },
          "maxItems": {
            "title": "Max listings",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of homes to save for the whole run (after deduplication and filters). 0 = no limit.",
            "default": 100
          },
          "maxItemsPerQuery": {
            "title": "Max listings per search",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap for EACH search (location × keyword, or search URL), so that the first search cannot use up the whole Max listings budget. 0 = no per-search cap.",
            "default": 0
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "recommended",
              "price_low",
              "price_high",
              "sqft_high",
              "price_per_sqft_low",
              "lot_size_high",
              "oldest",
              "beds_high",
              "beds_low",
              "baths_high",
              "baths_low",
              "sqft_low",
              "price_per_sqft_high",
              "lot_size_low",
              "address",
              "neighborhood",
              "sold_date_oldest"
            ],
            "type": "string",
            "description": "Order Redfin returns the homes in. With a cap, it decides which homes you get. Newest first is the one to use for monitoring (for sold searches: most recently sold first). Oldest first means the longest on Redfin for sale, and the oldest sale for sold homes. \"Sale date: oldest first\" is for sold homes only. Rentals can be sorted by price, square feet or bedrooms (high to low); any other sort is ignored for rentals, with a warning in the log.",
            "default": "newest"
          },
          "extractDetails": {
            "title": "Add property details",
            "type": "boolean",
            "description": "Add the full property record: price and sale history (with days on market, listing date, original and last list price), public records (parcel number, county, stories, year renovated), taxes and tax history, amenities and features (parking, garage, heating, HOA…), virtual tour link, zoning, parcel outline, building permits, favorites and views, the area's market figures (hot market, Compete Score), tours, the status line of the page and the mortgage rates Redfin uses for the home. Up to twelve light requests per home (one for a rental), charged as a separate event (`result-with-details` instead of `result`). Off = the search card only, which already carries price, beds, baths, area, lot, year built, HOA, GPS, MLS number, description and all photos.",
            "default": false
          },
          "includeEstimate": {
            "title": "Add Redfin Estimate and rent estimate",
            "type": "boolean",
            "description": "Add the Redfin Estimate (the value shown on the home's page, and its monthly history), the gap between price and estimate in %, the rent estimate (low / high), the monthly value trend of the home's ZIP code, city and county, Opendoor's estimated value with its range, and up to 20 rentals near the home at its rent estimate. Five small requests per home, charged per home with an estimate (`estimate`).",
            "default": false
          },
          "includeSchools": {
            "title": "Add nearby schools",
            "type": "boolean",
            "description": "Add the assigned and nearby schools (name, level, type, grades, GreatSchools rating, distance) and the school district. One small request per home, charged per home with schools (`schools`).",
            "default": false
          },
          "includeClimateRisk": {
            "title": "Add climate risk",
            "type": "boolean",
            "description": "Add flood, fire, heat, wind and air quality risk scores (First Street, shown on Redfin), with the FEMA flood zone, plus the hours of sun the home gets (June, December, year, by month) and the average weather of the area month by month (`sunExposure`, `weatherAverages`). Three small requests per home, charged per home with risk scores (`climate-risk`): the sun and the weather come with it at no extra price.",
            "default": false
          },
          "includeWalkScore": {
            "title": "Add Walk Score and neighborhood scores",
            "type": "boolean",
            "description": "Add Walk Score, Transit Score and Bike Score, plus Redfin's neighborhood scores out of 10 (parks, groceries, restaurants, nightlife, schools, quiet, greenery…), the 50 places nearest to the home, the public transit stops around it and the daycares nearby (`nearbyPlaces`, `transitStops`, `daycares`). Four small requests per home, charged per home with scores (`walk-score`): the places, stops and daycares come with it at no extra price.",
            "default": false
          },
          "includeComparables": {
            "title": "Add comparable sales",
            "type": "boolean",
            "description": "Add the recently sold homes nearby that Redfin compares this home to (address, sold price, sold date, beds, baths, area, link), plus the other homes Redfin shows near it with the same fields (`similarListings`). Two small requests per home, charged per home that has comparables (`comparables`): the homes shown nearby come with it at no extra price.",
            "default": false
          },
          "includeHomeInsights": {
            "title": "Add home highlights",
            "type": "boolean",
            "description": "Add Redfin's summary of the home's features, grouped by room and topic (e.g. `Gas fireplace`, `Walk-in pantry`, `Fenced yard`), the caption and tags of each photo (Kitchen, Bathroom, Exterior…), the short tags of the listing, a text about the neighborhood, a summary of the listing and the tips of local agents. Six small requests per home, charged per home with highlights (`home-insights`).",
            "default": false
          },
          "includeAgentContact": {
            "title": "Add agent and broker contact",
            "type": "boolean",
            "description": "Add the listing agents and their brokerage, the co-listing agent's phone, the buyer's agent and brokerage for sold homes, the brokerage website; for rentals, the leasing office phone. Read from the property page. Charged per home where an agent, brokerage or phone is delivered (`agent-contact`); homes without one are not charged for it.",
            "default": false
          },
          "includeAgentEmail": {
            "title": "Add agent e-mails",
            "type": "boolean",
            "description": "Add the agent e-mail addresses shown on the property page. Turns on Add agent and broker contact. Charged per home where an e-mail is delivered (`agent-email`).",
            "default": false
          },
          "includeMarketStats": {
            "title": "Add market summary per search",
            "type": "boolean",
            "description": "At the end of the run, add one summary row per search (`recordType: market-stats`): number of homes, median price, price per sq. ft., area, beds and baths (Redfin's own medians), share of new construction, open houses and price ranges, computed on the homes found. No extra request. Charged per summary row (`market-stats`).",
            "default": false
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Minimum price in US dollars (monthly rent for rentals)."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Maximum price in US dollars (monthly rent for rentals)."
          },
          "minBedrooms": {
            "title": "Min bedrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Minimum number of bedrooms."
          },
          "maxBedrooms": {
            "title": "Max bedrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of bedrooms."
          },
          "minBathrooms": {
            "title": "Min bathrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "number",
            "description": "Minimum number of bathrooms (`1.5` allowed)."
          },
          "maxBathrooms": {
            "title": "Max bathrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "number",
            "description": "Maximum number of bathrooms."
          },
          "minSqft": {
            "title": "Min area (sq. ft.)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Minimum living area in square feet. On rentals, a rental with no floor area is dropped."
          },
          "maxSqft": {
            "title": "Max area (sq. ft.)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum living area in square feet. On rentals, a rental with no floor area is dropped."
          },
          "minLotSize": {
            "title": "Min lot size (sq. ft.)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Minimum lot size in square feet (1 acre = 43 560 sq. ft.). For sale and sold searches only."
          },
          "maxLotSize": {
            "title": "Max lot size (sq. ft.)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Maximum lot size in square feet. Homes without a lot size are dropped. For sale and sold searches only."
          },
          "minYearBuilt": {
            "title": "Min year built",
            "minimum": 1700,
            "maximum": 2100,
            "type": "integer",
            "description": "Built in this year or later. For sale and sold searches only."
          },
          "maxYearBuilt": {
            "title": "Max year built",
            "minimum": 1700,
            "maximum": 2100,
            "type": "integer",
            "description": "Built in this year or earlier. For sale and sold searches only."
          },
          "minPricePerSqft": {
            "title": "Min price per sq. ft.",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Minimum price per square foot, in US dollars. For sale and sold searches only."
          },
          "maxPricePerSqft": {
            "title": "Max price per sq. ft.",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum price per square foot, in US dollars. Homes without a price per square foot are dropped. For sale and sold searches only."
          },
          "maxHoaFee": {
            "title": "Max HOA fee",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum monthly homeowners association fee, in US dollars. `0` = only homes without HOA fee. A home that shows no fee counts as having none. For sale and sold searches only."
          },
          "maxPropertyTax": {
            "title": "Max property tax",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Maximum yearly property tax, in US dollars. For sale and sold searches only."
          },
          "minMonthlyPayment": {
            "title": "Min monthly payment",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Minimum monthly payment in US dollars, as Redfin works it out from the asking price. For sale searches only (not sold homes, not rentals)."
          },
          "maxMonthlyPayment": {
            "title": "Max monthly payment",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum monthly payment in US dollars, as Redfin works it out from the asking price. For sale searches only (not sold homes, not rentals)."
          },
          "minStories": {
            "title": "Min stories",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Minimum number of stories (floors). For sale and sold searches only."
          },
          "maxStories": {
            "title": "Max stories",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of stories (`1` = single-story homes). For sale and sold searches only."
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Keep only these property types. Empty = all types.",
            "items": {
              "type": "string",
              "enum": [
                "house",
                "condo",
                "townhouse",
                "multi_family",
                "land",
                "mobile",
                "co_op",
                "other"
              ],
              "enumTitles": [
                "Houses",
                "Condos",
                "Townhouses",
                "Multi-family",
                "Land",
                "Mobile / manufactured",
                "Co-ops",
                "Other"
              ]
            },
            "default": []
          },
          "listingTypes": {
            "title": "Listing types",
            "type": "array",
            "description": "Keep only these kinds of listings. Empty = Redfin's default (all but bank-owned). For sale and sold searches only. Redfin listings together with another type is finished by the Actor on each home: one whose kind is not shown is dropped.",
            "items": {
              "type": "string",
              "enum": [
                "agent",
                "fsbo",
                "new_construction",
                "foreclosure",
                "bank_owned",
                "redfin"
              ],
              "enumTitles": [
                "Listed by an agent (MLS)",
                "For sale by owner",
                "New construction",
                "Foreclosures",
                "Bank-owned",
                "Listed by Redfin"
              ]
            },
            "default": []
          },
          "maxDaysOnMarket": {
            "title": "Listed in the last (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Only homes listed on Redfin in the last N days (`1` = new today, `7` = new this week). For sale and sold searches only, and judged on homes still for sale (a sold home has no days on the market)."
          },
          "priceReducedWithinDays": {
            "title": "Price reduced in the last (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Only homes whose price was cut in the last N days (read in the price history of the listing page, so each home is checked with its page; dropped homes are charged the detail filter fee). Homes without a price history are dropped. For sale and sold searches only, and judged on homes still for sale."
          },
          "minDaysOnMarket": {
            "title": "On the market for at least (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Only homes listed on Redfin for at least N days (stale listings, room to negotiate). Combined with Max days on market or Listed after, the Actor judges the count itself and homes without a day count are dropped. For sale and sold searches only, and judged on homes still for sale (a sold home has no days on the market)."
          },
          "openHousesOnly": {
            "title": "Open houses only",
            "type": "boolean",
            "description": "Only homes with an open house scheduled. For sale and sold searches only.",
            "default": false
          },
          "virtualTourOnly": {
            "title": "3D or video tour only",
            "type": "boolean",
            "description": "Only homes with a 3D walkthrough, virtual tour or video tour. For sale, sold and for rent searches (on rentals, Redfin does the filtering).",
            "default": false
          },
          "redfinListingsOnly": {
            "title": "Redfin listings only",
            "type": "boolean",
            "description": "Only homes listed by a Redfin agent. For sale and sold searches only.",
            "default": false
          },
          "excludeShortSales": {
            "title": "Exclude short sales",
            "type": "boolean",
            "description": "Drop short sales (sales below the amount owed, slow bank approval). For sale and sold searches only.",
            "default": false
          },
          "acceptedFinancing": {
            "title": "Accepted financing",
            "enum": [
              "any",
              "fha",
              "va"
            ],
            "type": "string",
            "description": "Only homes whose seller accepts this loan type (Redfin's own filter). For sale and sold searches only.",
            "default": "any"
          },
          "excludeAgeRestricted": {
            "title": "Exclude 55+ communities",
            "type": "boolean",
            "description": "Drop homes in age-restricted (55+) communities. For sale and sold searches only.",
            "default": false
          },
          "fixerUpper": {
            "title": "Fixer-uppers only",
            "type": "boolean",
            "description": "Only homes marked as needing work. For sale and sold searches only.",
            "default": false
          },
          "hasGarage": {
            "title": "Garage",
            "type": "boolean",
            "description": "Only homes with a garage. For sale and sold searches only.",
            "default": false
          },
          "minParkingSpaces": {
            "title": "Min parking spaces",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Only homes with at least this many parking spaces (read on the listing page, so each home is checked with its page; dropped homes are charged the detail filter fee). Homes whose listing page gives no parking count are dropped. For sale and sold searches only."
          },
          "minYearRenovated": {
            "title": "Renovated in or after (year)",
            "minimum": 1700,
            "maximum": 2100,
            "type": "integer",
            "description": "Only homes renovated in this year or later (read on the listing page, so each home is checked with its page; dropped homes are charged the detail filter fee). Homes whose listing page gives no renovation year are dropped. For sale and sold searches only."
          },
          "minPermits": {
            "title": "Min building permits",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Only homes with at least this many building permits on record (with \"Permits since\": at least this many since that date). Read on the listing page: one more light request per home, and each home is checked with its page; dropped homes are charged the detail filter fee. Homes whose permits could not be read are dropped. For sale and sold searches only."
          },
          "permitsSince": {
            "title": "Permits since",
            "type": "string",
            "description": "Only homes with a building permit dated on or after this date: `2024-01-01`, or a period before now such as `2 years` or `6 months`. With \"Min building permits\" the home needs that many permits since the date, otherwise one. Read on the listing page: one more light request per home, and each home is checked with its page; dropped homes are charged the detail filter fee. Homes whose permits could not be read are dropped. For sale and sold searches only."
          },
          "minFavorites": {
            "title": "Min favorites",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Only homes that at least this many Redfin users saved as a favorite (read on the listing page: one more light request per home, and each home is checked with its page; dropped homes are charged the detail filter fee). Homes whose count could not be read are dropped. For sale and sold searches only."
          },
          "minViews": {
            "title": "Min page views",
            "minimum": 1,
            "maximum": 100000000,
            "type": "integer",
            "description": "Only homes whose Redfin page was viewed at least this many times (read on the listing page: one more light request per home, and each home is checked with its page; dropped homes are charged the detail filter fee). Homes whose count could not be read are dropped. For sale and sold searches only."
          },
          "hasPool": {
            "title": "Pool",
            "type": "boolean",
            "description": "Only homes with a private or community pool. For sale, sold and for rent searches (Redfin does the filtering).",
            "default": false
          },
          "isWaterfront": {
            "title": "Waterfront",
            "type": "boolean",
            "description": "Only waterfront homes. For sale and sold searches only.",
            "default": false
          },
          "hasView": {
            "title": "View",
            "type": "boolean",
            "description": "Only homes with a view (water, mountain, city…). For sale and sold searches only.",
            "default": false
          },
          "hasBasement": {
            "title": "Basement",
            "type": "boolean",
            "description": "Only homes with a basement. For sale and sold searches only.",
            "default": false
          },
          "hasAirConditioning": {
            "title": "Air conditioning",
            "type": "boolean",
            "description": "Only homes with air conditioning. For sale, sold and for rent searches (Redfin does the filtering).",
            "default": false
          },
          "hasFireplace": {
            "title": "Fireplace",
            "type": "boolean",
            "description": "Only homes with a fireplace. For sale and sold searches only.",
            "default": false
          },
          "elevator": {
            "title": "Elevator",
            "type": "boolean",
            "description": "Only homes or buildings with an elevator. For sale and sold searches only.",
            "default": false
          },
          "disabledAccess": {
            "title": "Accessible home",
            "type": "boolean",
            "description": "Only homes marked as accessible (wheelchair access). For sale and sold searches only.",
            "default": false
          },
          "greenHome": {
            "title": "Green home",
            "type": "boolean",
            "description": "Only homes with green / energy-efficient features. For sale and sold searches only.",
            "default": false
          },
          "primaryBedroomOnMain": {
            "title": "Primary bedroom on main floor",
            "type": "boolean",
            "description": "Only homes with the primary bedroom on the main floor. For sale and sold searches only.",
            "default": false
          },
          "guestHouse": {
            "title": "Guest house",
            "type": "boolean",
            "description": "Only homes with a guest house. For sale and sold searches only.",
            "default": false
          },
          "rvParking": {
            "title": "RV parking",
            "type": "boolean",
            "description": "Only homes with RV parking. For sale and sold searches only.",
            "default": false
          },
          "washerDryerHookup": {
            "title": "Washer / dryer hookup",
            "type": "boolean",
            "description": "Only homes with a washer / dryer hookup. For sale and sold searches, a home whose listing page lists no washer / dryer hookup is dropped. For rent searches, Redfin does the filtering.",
            "default": false
          },
          "petsAllowed": {
            "title": "Pets allowed (rentals)",
            "enum": [
              "any",
              "dogs",
              "cats",
              "dogs_and_cats"
            ],
            "type": "string",
            "description": "For rent searches: only rentals that accept these pets.",
            "default": "any"
          },
          "inUnitLaundryOnly": {
            "title": "In-unit laundry (rentals)",
            "type": "boolean",
            "description": "For rent searches: only rentals with a washer and dryer in the unit.",
            "default": false
          },
          "furnishedOnly": {
            "title": "Furnished only (rentals)",
            "type": "boolean",
            "description": "For rent searches: only furnished rentals.",
            "default": false
          },
          "availableBefore": {
            "title": "Available by (rentals)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "For rent searches: only rentals with a unit available on or before this date (`2026-12-01`), read in the unit list of each rental; a unit marked available now always passes. A rental that gives no availability date is dropped."
          },
          "hasDishwasher": {
            "title": "Dishwasher (rentals)",
            "type": "boolean",
            "description": "For rent searches: only rentals with a dishwasher.",
            "default": false
          },
          "hasLaundryFacility": {
            "title": "Laundry facility (rentals)",
            "type": "boolean",
            "description": "For rent searches: only rentals in a building with a shared laundry room.",
            "default": false
          },
          "hasParking": {
            "title": "Parking (rentals)",
            "type": "boolean",
            "description": "For rent searches: only rentals with parking.",
            "default": false
          },
          "utilitiesIncluded": {
            "title": "Utilities included (rentals)",
            "type": "boolean",
            "description": "For rent searches: only rentals whose rent includes utilities.",
            "default": false
          },
          "shortTermLease": {
            "title": "Short-term lease (rentals)",
            "type": "boolean",
            "description": "For rent searches: only rentals that offer a short-term lease.",
            "default": false
          },
          "rentSpecialsOnly": {
            "title": "Rent specials only (rentals)",
            "type": "boolean",
            "description": "For rent searches: only rentals with a rent special or deal.",
            "default": false
          },
          "incomeRestricted": {
            "title": "Income-restricted (rentals)",
            "type": "boolean",
            "description": "For rent searches: only income-restricted (affordable housing) rentals.",
            "default": false
          },
          "seniorLiving": {
            "title": "Senior living (rentals)",
            "type": "boolean",
            "description": "For rent searches: only senior living rentals.",
            "default": false
          },
          "studentHousing": {
            "title": "Student housing (rentals)",
            "type": "boolean",
            "description": "For rent searches: only student housing rentals.",
            "default": false
          },
          "militaryHousing": {
            "title": "Military housing (rentals)",
            "type": "boolean",
            "description": "For rent searches: only military housing rentals.",
            "default": false
          },
          "latitude": {
            "title": "Center latitude",
            "maxLength": 20,
            "type": "string",
            "description": "Search around a point instead of a named area: latitude in decimal degrees (e.g. `47.6062`). Used with longitude and radius; overrides Location."
          },
          "longitude": {
            "title": "Center longitude",
            "maxLength": 20,
            "type": "string",
            "description": "Longitude in decimal degrees (e.g. `-122.3321`)."
          },
          "radiusMiles": {
            "title": "Radius",
            "minimum": 0.1,
            "maximum": 100,
            "type": "number",
            "description": "Distance around the point, in miles (e.g. `2.5`). Homes farther than this are dropped. A home without a position is dropped."
          },
          "polygon": {
            "title": "Map area (polygon)",
            "maxLength": 5000,
            "type": "string",
            "description": "Search inside a shape drawn on the map instead of a named area: at least 3 points `latitude longitude`, separated by commas (e.g. `47.62 -122.36, 47.62 -122.30, 47.58 -122.30, 47.58 -122.36`). Overrides Location. A home outside the shape, or without a position, is dropped."
          },
          "postedAfter": {
            "title": "Listed after",
            "type": "string",
            "description": "Only homes listed on or after this date: `2026-09-01`, or a period before now such as `7 days`, `2 weeks`, `1 month` (API: `24 hours` and full ISO date-times work too). Date read: listing date on Redfin (for sale), sold date (recently sold), last update (rentals). For sale homes, this is also sent to Redfin as a time-on-market filter. A home without a date is dropped."
          },
          "postedBefore": {
            "title": "Listed before",
            "type": "string",
            "description": "Only homes listed on or before this date (the whole day is included), or older than a period such as `30 days`. Same date as Listed after. A home without a date is dropped."
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Drop the homes whose description or key facts contain one of these WHOLE words (case ignored): `auction` drops \"Auction on site\" but keeps \"Auctioneer\". Several words in one entry (`as is`) must appear together, in that order.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "requirePhone": {
            "title": "Only homes with an agent phone",
            "type": "boolean",
            "description": "Drop homes without an agent or leasing office phone number. Turns on Add agent and broker contact.",
            "default": false
          },
          "privateSellersOnly": {
            "title": "Sale by owner only",
            "type": "boolean",
            "description": "Only homes listed by their owner (FSBO). For sale and sold searches only.",
            "default": false
          },
          "minPhotoCount": {
            "title": "Min photos",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Only homes with at least this many photos on Redfin (1-500). Judged on the search result, with no extra request. Homes without a photo count are dropped. For sale and sold searches only."
          },
          "has3DTourOnly": {
            "title": "3D tour only",
            "type": "boolean",
            "description": "Only homes with a Redfin 3D tour. Judged on the search result, with no extra request. For sale and sold searches only.",
            "default": false
          },
          "minWalkScore": {
            "title": "Min Walk Score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only homes with at least this Walk Score (0-100). For sale and sold searches, the score is read to judge each home; it is added to the row, and charged (`walk-score`), only with Add Walk Score ticked, and homes without a Walk Score are dropped. For rent searches, Redfin does the filtering."
          },
          "minTransitScore": {
            "title": "Min Transit Score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only homes with at least this Transit Score (0-100). For sale and sold searches, the score is read to judge each home; it is added to the row, and charged (`walk-score`), only with Add Walk Score ticked, and homes without a Transit Score are dropped. For rent searches, Redfin does the filtering."
          },
          "minBikeScore": {
            "title": "Min Bike Score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only homes with at least this Bike Score (0-100). For sale and sold searches, the score is read to judge each home; it is added to the row, and charged (`walk-score`), only with Add Walk Score ticked, and homes without a Bike Score are dropped. For rent searches, Redfin does the filtering."
          },
          "onlyNew": {
            "title": "Only new listings",
            "type": "boolean",
            "description": "Skip the homes that a previous run (same Memory key) already delivered: they are not saved and not charged, and in a search their extra requests are not made (a home given by ID, address or dataset is read again to be recognised, and is not charged). First run = everything is new.",
            "default": false
          },
          "stateKey": {
            "title": "Memory key",
            "pattern": "^[a-zA-Z0-9_-]{1,64}$",
            "maxLength": 64,
            "type": "string",
            "description": "Name of the memory used by Only new listings. Give each schedule / task its own key (e.g. `seattle-condos`) so that they do not share their memory. Letters, digits, `-` and `_`.",
            "default": "default"
          },
          "resetState": {
            "title": "Reset the memory",
            "type": "boolean",
            "description": "Forget everything remembered under this Memory key before the run: this run returns (and charges) every home again. Untick it afterwards.",
            "default": false
          },
          "trackChanges": {
            "title": "Also return price and status changes",
            "type": "boolean",
            "description": "With Only new listings: also return homes already delivered whose price or status changed since (with `changeType`, `previousPrice`, `previousStatus`, `priceChangePct`). A search sorted by newest stops at the block of homes already delivered: to check every home of the search for price drops, sort by price.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy or your own proxies. Keep the default: it is included in the price. The residential Apify proxy is not available in this Actor.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of requests processed in parallel.",
            "default": 8
          },
          "maxRequestsPerMinute": {
            "title": "Max requests per minute",
            "minimum": 10,
            "maximum": 2000,
            "type": "integer",
            "description": "Most requests to Redfin in any 60 seconds, all of them counted: search pages, property records and option requests. A budget, not an even pace: up to this many can leave at once when the minute starts (spread them with the minimum delay below). Lower it if Redfin answers HTTP 429 / 403 in the log.",
            "default": 540
          },
          "minRequestIntervalMs": {
            "title": "Min delay between requests",
            "minimum": 0,
            "maximum": 60000,
            "type": "integer",
            "description": "Smallest gap between two requests, in milliseconds. Unlike the per-minute rate, this spreads the requests evenly instead of letting them go out in a burst. 0 = no gap.",
            "default": 0
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Retries per request before it is marked as failed. Behind a proxy, a request Redfin turns away is also retried on a new proxy session up to 10 times without using up these retries.",
            "default": 5
          },
          "requestTimeoutSecs": {
            "title": "Request timeout",
            "minimum": 5,
            "maximum": 300,
            "type": "integer",
            "description": "Seconds before a request to Redfin is given up and retried.",
            "default": 30
          },
          "debugLog": {
            "title": "Debug log",
            "type": "boolean",
            "description": "Include debug messages in the run log.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}