{
  "openapi": "3.0.1",
  "info": {
    "title": "Realtor.com Scraper: Homes for Sale, Rentals & Sold Listings",
    "description": "Realtor.com scraper and property data API: homes for sale, rentals and sold listings by search link with your filters, city, ZIP, address or listing link. Price, beds, baths, sqft, agent, photos, price and tax history, estimates, schools, risk, permits, floor plans. No login. Misses free.",
    "version": "0.1",
    "x-build-id": "t6k98pNA73ewJmEBg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hyperbach~realtor-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hyperbach-realtor-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/hyperbach~realtor-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hyperbach-realtor-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/hyperbach~realtor-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hyperbach-realtor-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": "Realtor.com links or property ids",
            "maxItems": 5000,
            "type": "array",
            "description": "Realtor.com links, one per line: a search link with its filters as the site builds it (realestateandhomes-search, apartments, sold), a listing link (realestateandhomes-detail, rentals/details) or a property id. A search link's own filters and mode win over the filters below. Read in parallel, each listing delivered once a run.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "search": {
            "title": "Places or addresses",
            "type": "string",
            "description": "One per line: a US city (Austin, TX), ZIP code, county, neighborhood or state, searched in the mode below with the filters below; or a street address, read as that property. Realtor.com resolves each one; the place it resolved is named on every row.",
            "default": ""
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "BUY",
              "RENT",
              "SOLD"
            ],
            "type": "string",
            "description": "Which listings a place search reads. A search link carries its own mode.",
            "default": "BUY"
          },
          "includeDetails": {
            "title": "Full property record",
            "type": "boolean",
            "description": "Merge each listing's full record into its row: description, all photos, features, price and tax history, estimates, mortgage, schools, flood and fire risk, views and saves, building permits, floor plans, open houses, tours, rental units and specials. Off: the search card's fields only, charged as the cheaper event; a listing link, a property id or a street address is still read whole and charged as a property.",
            "default": true
          },
          "type": {
            "title": "Property types",
            "type": "array",
            "description": "Only these property types. Empty = every type.",
            "items": {
              "type": "string",
              "enum": [
                "single-family-home",
                "multi-family-home",
                "condo",
                "condop",
                "coop",
                "townhome",
                "apartments",
                "mfd-mobile-home",
                "farms-ranches",
                "land"
              ],
              "enumTitles": [
                "Single family home",
                "Multi family home",
                "Condo",
                "Condop",
                "Co-op",
                "Townhome",
                "Apartments (rent)",
                "Manufactured / mobile home",
                "Farms and ranches",
                "Land"
              ]
            },
            "default": []
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "maximum": 2000000000,
            "type": "integer",
            "description": "Only listings with at least this price in USD: the list price, the sold price on a sold search, the rent on a rental. 0 = no minimum.",
            "default": 0
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "maximum": 2000000000,
            "type": "integer",
            "description": "Only listings with at most this price in USD: the list price, the sold price on a sold search, the rent on a rental. 0 = no maximum.",
            "default": 0
          },
          "minBed": {
            "title": "Min beds",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only listings with at least this number of bedrooms. 0 = no minimum.",
            "default": 0
          },
          "maxBed": {
            "title": "Max beds",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only listings with at most this number of bedrooms. 0 = no maximum.",
            "default": 0
          },
          "minBath": {
            "title": "Min baths",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only listings with at least this number of bathrooms. 0 = no minimum.",
            "default": 0
          },
          "maxBath": {
            "title": "Max baths",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only listings with at most this number of bathrooms. 0 = no maximum.",
            "default": 0
          },
          "minSqft": {
            "title": "Min sqft",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Only listings with at least this living area in square feet. 0 = no minimum.",
            "default": 0
          },
          "maxSqft": {
            "title": "Max sqft",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Only listings with at most this living area in square feet. 0 = no maximum.",
            "default": 0
          },
          "minLotSqft": {
            "title": "Min lot sqft",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Only listings with at least this lot size in square feet. 0 = no minimum.",
            "default": 0
          },
          "maxLotSqft": {
            "title": "Max lot sqft",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Only listings with at most this lot size in square feet. 0 = no maximum.",
            "default": 0
          },
          "minYearBuilt": {
            "title": "Min year built",
            "minimum": 0,
            "maximum": 2100,
            "type": "integer",
            "description": "Only listings with at least this year built. 0 = no minimum.",
            "default": 0
          },
          "maxYearBuilt": {
            "title": "Max year built",
            "minimum": 0,
            "maximum": 2100,
            "type": "integer",
            "description": "Only listings with at most this year built. 0 = no maximum.",
            "default": 0
          },
          "tags": {
            "title": "Must have",
            "type": "array",
            "description": "Only listings that carry every one of these.",
            "items": {
              "type": "string",
              "enum": [
                "garage-1-or-more",
                "garage-2-or-more",
                "garage-3-or-more",
                "swimming-pool",
                "spa-or-hot-tub",
                "horse-facilities"
              ],
              "enumTitles": [
                "Garage, 1+ car",
                "Garage, 2+ cars",
                "Garage, 3+ cars",
                "Swimming pool",
                "Spa or hot tub",
                "Horse facilities"
              ]
            },
            "default": []
          },
          "keyword": {
            "title": "Keyword",
            "maxLength": 200,
            "type": "string",
            "description": "Only listings whose text carries this keyword (Realtor.com's own keyword filter).",
            "default": ""
          },
          "radius": {
            "title": "Radius (miles)",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Widen a place search by this many miles around the place. 0 = the place itself; Realtor.com allows 50.",
            "default": 0
          },
          "daysOnMarket": {
            "title": "Listed within (days)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Only listings that went live within this many days. 0 = any.",
            "default": 0
          },
          "includePending": {
            "title": "Include pending and contingent",
            "type": "boolean",
            "description": "Off: pending and contingent listings are left out, as the site's own Hide pending filter does.",
            "default": true
          },
          "listingType": {
            "title": "Only these listings",
            "enum": [
              "contingent",
              "pending",
              "new_construction",
              "foreclosure"
            ],
            "type": "string",
            "description": "For-sale searches (BUY mode or a for-sale link): only contingent, only pending, only new construction or only foreclosure listings, as the site's own filters give them. Empty: every listing. A search link's own status or listing-type filter wins."
          },
          "soldWithin": {
            "title": "Sold within (months)",
            "enum": [
              "1",
              "3",
              "6",
              "12",
              "24",
              "36"
            ],
            "type": "string",
            "description": "Sold searches (SOLD mode or a sold-homes link): only homes sold within this many months. Empty: every sold home, newest first. The site's placeholder sold date (2099-01-01) is left out of every sold search."
          },
          "moveInBy": {
            "title": "Move in by (rentals)",
            "pattern": "^((0[1-9]|1[012])/(0[1-9]|[12][0-9]|3[01])/\\d{2}|\\d{4}-\\d{2}-\\d{2})$",
            "type": "string",
            "description": "Rental searches (RENT mode or a rentals link): only rentals available by this date, as MM/DD/YY (or YYYY-MM-DD)."
          },
          "catsAllowed": {
            "title": "Cats allowed (rentals)",
            "type": "boolean",
            "description": "Rental searches (RENT mode or a rentals link): only rentals whose pet policy allows cats (read on each listing: the site takes no pet filter).",
            "default": false
          },
          "dogsAllowed": {
            "title": "Dogs allowed (rentals)",
            "type": "boolean",
            "description": "Rental searches (RENT mode or a rentals link): only rentals whose pet policy allows dogs (read on each listing).",
            "default": false
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "relevant",
              "best-match",
              "newest",
              "recently-added",
              "sold-date",
              "newest-built",
              "luxury",
              "affordable",
              "highest-price",
              "lowest-price",
              "open-house-date",
              "recently-reduced",
              "largest-sqft",
              "lot-size",
              "photo-count"
            ],
            "type": "string",
            "description": "The order of a place search (a search link carries its own). Empty: the site's own default (relevance; sold date in SOLD mode). A list over 10,000 is read by price ranges, each range in this order."
          },
          "maxItems": {
            "title": "Max listings (whole run)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most charged listing rows of the whole run; 0 = every listing of every search (a list over 10,000 is read in price ranges). Several searches share it first come, each search's rows in its own order. The free summary rows do not count.",
            "default": 0
          },
          "maxItemsPerSearch": {
            "title": "Max listings per search",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most listing rows of each search link or place; 0 = no cap per search.",
            "default": 0
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "maxLength": 2000,
            "type": "string",
            "description": "A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}