{
  "openapi": "3.0.1",
  "info": {
    "title": "Realtor.com Property Listings Scraper",
    "description": "Realtor.com Property Listings Scraper SD - Realtor.com Property Listings Scraper is a real estate data tool that extracts for-sale, for-rent and sold US listings by location or search URL: price, beds, baths, sqft, address, GPS, photos, history, taxes, schools, estimates.",
    "version": "1.0",
    "x-build-id": "T3D4gKSshKf0NJwga"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~realtor-com-property-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-realtor-com-property-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/neuro-scraper~realtor-com-property-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-realtor-com-property-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/neuro-scraper~realtor-com-property-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-realtor-com-property-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": {
          "searchLocations": {
            "title": "Locations",
            "type": "array",
            "description": "What you would type in realtor.com's search box, one per line: a city (Austin, TX), ZIP code (78737), county (Travis County, TX), neighborhood (Downtown, Austin, TX) or a state code (TX). Each line is one search with the filters below.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs or property IDs",
            "type": "array",
            "description": "realtor.com search pages (https://www.realtor.com/realestateandhomes-search/Austin_TX/beds-3/price-300000-500000, /apartments/Austin_TX, .../show-recently-sold), property pages (https://www.realtor.com/realestateandhomes-detail/..._M99819-46398) or bare property IDs (9981946398). Filters in the URL path are kept; the filters below fill in what the URL does not set.",
            "items": {
              "type": "string"
            }
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Only listings whose description matches these words - realtor.com's own keyword filter (e.g. pool, roof, basement). Several keywords: separate them with commas."
          },
          "listingStatus": {
            "title": "Listing status",
            "type": "array",
            "description": "Which listings each location search returns (several can be combined). Search URLs keep their own status (/apartments = for rent, show-recently-sold = sold).",
            "items": {
              "type": "string",
              "enum": [
                "for_sale",
                "ready_to_build",
                "for_rent",
                "sold",
                "off_market"
              ],
              "enumTitles": [
                "For sale",
                "New construction plans (ready to build)",
                "For rent",
                "Recently sold",
                "Off market"
              ]
            },
            "default": [
              "for_sale"
            ]
          },
          "propertyType": {
            "title": "Property type",
            "type": "array",
            "description": "Only these property types (empty = all types).",
            "items": {
              "type": "string",
              "enum": [
                "single_family",
                "condos",
                "condo_townhome_rowhome_coop",
                "townhomes",
                "multi_family",
                "mobile",
                "farm",
                "land"
              ],
              "enumTitles": [
                "Single family",
                "Condos",
                "Condo / townhome / row home / co-op",
                "Townhomes",
                "Multi-family",
                "Mobile / manufactured",
                "Farms and ranches",
                "Land"
              ]
            },
            "default": []
          },
          "bedsMin": {
            "title": "Min beds",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Minimum number of bedrooms (realtor.com filter)."
          },
          "bedsMax": {
            "title": "Max beds",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of bedrooms."
          },
          "bathsMin": {
            "title": "Min baths",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Minimum number of bathrooms."
          },
          "bathsMax": {
            "title": "Max baths",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of bathrooms."
          },
          "priceMin": {
            "title": "Min price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest list price (monthly rent for rentals)."
          },
          "priceMax": {
            "title": "Max price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest list price (monthly rent for rentals)."
          },
          "sqftMin": {
            "title": "Min living area (sqft)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest home size in square feet."
          },
          "sqftMax": {
            "title": "Max living area (sqft)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest home size in square feet."
          },
          "lotSqftMin": {
            "title": "Min lot size (sqft)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest lot in square feet (1 acre = 43,560 sqft)."
          },
          "lotSqftMax": {
            "title": "Max lot size (sqft)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest lot in square feet."
          },
          "yearBuiltMin": {
            "title": "Built in or after (year)",
            "minimum": 1700,
            "maximum": 2100,
            "type": "integer",
            "description": "Earliest year built, e.g. 2015."
          },
          "yearBuiltMax": {
            "title": "Built in or before (year)",
            "minimum": 1700,
            "maximum": 2100,
            "type": "integer",
            "description": "Latest year built."
          },
          "hoaFeeMax": {
            "title": "Max HOA fee (USD / month)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest monthly HOA fee."
          },
          "noHoaFee": {
            "title": "No HOA fee only",
            "type": "boolean",
            "description": "Only homes without an HOA fee.",
            "default": false
          },
          "daysOnMarket": {
            "title": "Listed within (days)",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Only listings first listed within this many days (e.g. 7 = new this week). Empty = any age."
          },
          "soldWithin": {
            "title": "Sold within (sold listings)",
            "enum": [
              "",
              "1",
              "3",
              "6",
              "12",
              "24",
              "36"
            ],
            "type": "string",
            "description": "For status Recently sold: only homes sold within this many months.",
            "default": ""
          },
          "soldDateMin": {
            "title": "Sold from (YYYY-MM-DD)",
            "type": "string",
            "description": "For status Recently sold: earliest sale date, e.g. 2026-01-01."
          },
          "soldDateMax": {
            "title": "Sold until (YYYY-MM-DD)",
            "type": "string",
            "description": "For status Recently sold: latest sale date."
          },
          "radius": {
            "title": "Include nearby areas (miles)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Widen each location search by this many miles (realtor.com's search buffer; 0 = the location only).",
            "default": 0
          },
          "pending": {
            "title": "Pending only",
            "type": "boolean",
            "description": "Only listings marked pending.",
            "default": false
          },
          "contingent": {
            "title": "Contingent only",
            "type": "boolean",
            "description": "Only contingent listings.",
            "default": false
          },
          "foreclosure": {
            "title": "Foreclosures only",
            "type": "boolean",
            "description": "Only foreclosure listings.",
            "default": false
          },
          "newConstruction": {
            "title": "New construction only",
            "type": "boolean",
            "description": "Only new construction.",
            "default": false
          },
          "hasTour": {
            "title": "Has virtual tour",
            "type": "boolean",
            "description": "Only listings with a virtual tour.",
            "default": false
          },
          "matterport": {
            "title": "Has 3D tour (Matterport)",
            "type": "boolean",
            "description": "Only listings with a Matterport 3D tour.",
            "default": false
          },
          "cats": {
            "title": "Cats allowed (rentals)",
            "type": "boolean",
            "description": "For rent: only places that allow cats.",
            "default": false
          },
          "dogs": {
            "title": "Dogs allowed (rentals)",
            "type": "boolean",
            "description": "For rent: only places that allow dogs.",
            "default": false
          },
          "tags": {
            "title": "Amenity tags",
            "type": "array",
            "description": "realtor.com listing tags the home must have, as they appear in the 'tags' output column, e.g. swimming_pool, garage_2_or_more, central_air, view.",
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "list_date",
              "list_price",
              "sold_date",
              "sqft",
              "lot_sqft",
              "photo_count",
              "last_update_date",
              "relevance"
            ],
            "type": "string",
            "description": "Order in which the results are collected.",
            "default": "list_date"
          },
          "sortDirection": {
            "title": "Sort direction",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Direction for Sort by.",
            "default": "desc"
          },
          "includeDetails": {
            "title": "Include full property details",
            "type": "boolean",
            "description": "Also fetch each home's detail block: feature lists, price / sale history, tax history, schools, value estimates (current, history, forecast), flood / wildfire scores and the mortgage estimate. 10 homes per extra request.",
            "default": true
          },
          "maxItems": {
            "title": "Max listings per search",
            "minimum": 1,
            "maximum": 300000,
            "type": "integer",
            "description": "Listings per location / search URL. realtor.com pages 200 listings at a time; past its 10,000-results-per-search limit the Actor splits the search into price bands automatically.",
            "default": 50
          },
          "timeoutSecs": {
            "title": "Overall time limit (seconds)",
            "minimum": 0,
            "type": "integer",
            "description": "Stop collecting after this many seconds and keep what was scraped (0 = no limit besides the run timeout).",
            "default": 0
          },
          "requestTimeoutSecs": {
            "title": "Per-request timeout (seconds)",
            "minimum": 5,
            "maximum": 180,
            "type": "integer",
            "description": "How long one request to realtor.com may take before it is retried on a new connection.",
            "default": 40
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "realtor.com is a US site: RESIDENTIAL US is the default. A failed request is retried on a new IP.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}