{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Redfin Scraper · 12,500 Free Listings/Month",
    "description": "Redfin Scraper gets you homes for sale, sold comps & rentals ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — price, beds, size, photos, agent & Redfin Estimate. 💰 $0.40 per 1,000 listings, no start fee. Scrape your first 12,500 listings free every month 🚀",
    "version": "0.0",
    "x-build-id": "c1l9LWJDKRRkKV0P8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~redfin-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-redfin-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/omkar-cloud~redfin-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-redfin-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/omkar-cloud~redfin-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-redfin-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": {
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "A city, ZIP code, neighborhood, county or school — as a name (Beverly Hills, CA), a ZIP (90210), a Redfin region ID (city/1669) or a redfin.com region link.",
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "Redfin Search URLs",
            "type": "array",
            "description": "Any redfin.com search page, with or without its /filter/... part — for sale, sold or apartments-for-rent. The URL's own filters are used; the filter fields below do not apply to it.",
            "items": {
              "type": "string"
            }
          },
          "areas": {
            "title": "Map Areas",
            "type": "array",
            "description": "A circle as lat,lng,radius_miles (37.4419,-122.1430,2) or a polygon as lng lat, lng lat, ... (3 to 50 points). Searches homes for sale or sold homes inside it.",
            "items": {
              "type": "string"
            }
          },
          "listingType": {
            "title": "Listing Type",
            "enum": [
              "for_sale",
              "sold",
              "for_rent"
            ],
            "type": "string",
            "description": "Homes for sale, recently sold homes (the comps), or rentals.",
            "default": "for_sale"
          },
          "status": {
            "title": "For-Sale Status",
            "enum": [
              "active_and_coming_soon",
              "active",
              "coming_soon",
              "pending",
              "active_and_pending"
            ],
            "type": "string",
            "description": "For sale only: which listings to include.",
            "default": "active_and_coming_soon"
          },
          "soldWithin": {
            "title": "Sold Within",
            "enum": [
              "7",
              "30",
              "90",
              "180",
              "365",
              "730",
              "1095",
              "1825"
            ],
            "type": "string",
            "description": "Sold only: how far back to look.",
            "default": "90"
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "",
              "recommended",
              "newest",
              "price_low",
              "price_high",
              "sold_date"
            ],
            "type": "string",
            "description": "Order the results. Newest sale first is for sold homes only.",
            "default": ""
          },
          "minPrice": {
            "title": "Min Price ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum list price — or minimum monthly rent for rentals."
          },
          "maxPrice": {
            "title": "Max Price ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum list price — or maximum monthly rent for rentals."
          },
          "minBeds": {
            "title": "Min Bedrooms",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Minimum bedrooms."
          },
          "maxBeds": {
            "title": "Max Bedrooms",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum bedrooms."
          },
          "minBaths": {
            "title": "Min Bathrooms",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Minimum bathrooms."
          },
          "propertyTypes": {
            "title": "Property Types",
            "type": "array",
            "description": "Only these property types. Rentals use apartment, house, condo and townhouse. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "house",
                "condo",
                "townhouse",
                "multi_family",
                "land",
                "other",
                "manufactured",
                "co_op",
                "apartment"
              ],
              "enumTitles": [
                "House",
                "Condo",
                "Townhouse",
                "Multi-family",
                "Land",
                "Other",
                "Manufactured",
                "Co-op",
                "Apartment (rentals)"
              ]
            }
          },
          "minSqft": {
            "title": "Min Square Feet",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum interior size."
          },
          "maxSqft": {
            "title": "Max Square Feet",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum interior size."
          },
          "minLotSqft": {
            "title": "Min Lot Size (sq ft)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum lot size; 1 acre = 43560."
          },
          "maxLotSqft": {
            "title": "Max Lot Size (sq ft)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum lot size."
          },
          "minYearBuilt": {
            "title": "Built After (year)",
            "minimum": 1700,
            "maximum": 2100,
            "type": "integer",
            "description": "Earliest year built."
          },
          "maxYearBuilt": {
            "title": "Built Before (year)",
            "minimum": 1700,
            "maximum": 2100,
            "type": "integer",
            "description": "Latest year built."
          },
          "maxHoa": {
            "title": "Max HOA ($ / month)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum HOA dues per month; 0 keeps homes with no HOA."
          },
          "minStories": {
            "title": "Min Stories",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Minimum number of stories."
          },
          "maxStories": {
            "title": "Max Stories",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of stories."
          },
          "maxResultsPerSearch": {
            "title": "Max Results per Search",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop each Location, URL or Map Area after this many listings. Up to 5,000 — well past the 350 Redfin's own map shows.",
            "default": 100
          },
          "includeDetails": {
            "title": "Scrape Full Home Details",
            "type": "boolean",
            "description": "Adds the full home page to every row: description, all photos, agents, amenities, price & tax history, public records, Redfin Estimate, rent estimate, mortgage rates, walk & location scores, zoning — or floor plans, unit rents, fees and pet policy for rentals. Billed as an add-on per detailed row.",
            "default": false
          },
          "includeMarketSummary": {
            "title": "Add a Housing-Market Row",
            "type": "boolean",
            "description": "Adds one row per Location or URL with the area's median prices, days on market, compete score, 5-year price and demand trends, affordability and climate risk (row_type = market). Billed as one listing row.",
            "default": false
          },
          "onlyNewListings": {
            "title": "Only New or Price-Changed Listings",
            "type": "boolean",
            "description": "Remembers every listing a run pushed (in a key-value store in your account) and next time pushes only listings that are new or whose price changed. Unchanged listings are skipped and not billed.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor Name",
            "type": "string",
            "description": "Optional name for the remembered history — runs with the same name share it. Leave empty to share it with every run that has the same inputs."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}