{
  "openapi": "3.0.1",
  "info": {
    "title": "Realtor.com Property Listings Scraper",
    "description": "Export public Realtor.com sale, rental and sold listings with prices, property facts, photos, available history, schools and optional rental floorplans.",
    "version": "0.1",
    "x-build-id": "wd4iAldCqfUS5PArF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fetch_cat~realtor-com-property-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fetch_cat-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/fetch_cat~realtor-com-property-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fetch_cat-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/fetch_cat~realtor-com-property-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fetch_cat-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": {
          "locations": {
            "title": "Locations",
            "maxItems": 50,
            "type": "array",
            "description": "City/state, ZIP code, county or neighborhood, e.g. Austin, TX; 78704; Travis County, TX; Hyde Park, Austin, TX. Required unless startUrls is supplied. At most 50 combined locations and URLs.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          "startUrls": {
            "title": "Search or property URLs",
            "maxItems": 50,
            "type": "array",
            "description": "Public Realtor.com search, property or community URLs, including apps.realtor.com shortlinks that redirect to a supported public URL. Supports type, price, beds, baths, sqft, lot-sqft and pg path filters. Unsupported filters reject before extraction; use explicit inputs instead. URLs carry their own mode. Shortlink mode is validated after bounded resolution. Remote URL lists, query parameters, login URLs and third-party redirects are not supported.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2048,
              "pattern": "^https://(?:(?:www|apps)\\.)?realtor\\.com/"
            }
          },
          "listingType": {
            "title": "Location search mode",
            "enum": [
              "for_sale",
              "for_rent",
              "sold"
            ],
            "type": "string",
            "description": "Applies to locations, not URLs. Sold mode searches recently sold inventory supported by Realtor.com, not every historical property.",
            "default": "for_sale"
          },
          "maxItems": {
            "title": "Maximum listings",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Global limit of unique listing rows across all inputs. Charged event capacity may stop earlier. Source search offsets are limited to 10,000; narrow filters for larger markets rather than assuming complete nationwide coverage.",
            "default": 100
          },
          "maxPages": {
            "title": "Maximum API pages per search",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Each API page contains up to 100 listings, unlike the website's 42-item pages. A pg URL starts at the matching website offset. Run summary distinguishes limits from source exhaustion.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include property details",
            "type": "boolean",
            "description": "Adds description, property/tax history, schools, fees and available environmental data using bounded five-home batches. Direct property URLs always retrieve details. Missing optional data remains null or absent; this does not guarantee every field exists.",
            "default": false
          },
          "includeFloorplans": {
            "title": "Include available floorplans",
            "type": "boolean",
            "description": "Also retrieves details and available 2D/3D and community rental floorplans, prices and unit availability. Same exported-listing event; no extra per-floorplan fee. Many individual properties have no floorplans.",
            "default": false
          },
          "propertyTypes": {
            "title": "Property types",
            "maxItems": 8,
            "uniqueItems": true,
            "type": "array",
            "description": "Allowed values: single_family, condos, townhomes, multi_family, mobile, farm, land, apartment. An empty list searches all source-supported types. A type URL filter overrides this setting.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 32
            }
          },
          "sort": {
            "title": "Source sort",
            "enum": [
              "newest",
              "price_asc",
              "price_desc",
              "sold_date"
            ],
            "type": "string",
            "description": "Price sorting uses sold price in sold mode and asking price otherwise. Sold-date sort requires every target to be sold. Source placeholder dates may affect sold-date ordering.",
            "default": "newest"
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "maximum": 10000000000,
            "type": "integer",
            "description": "Asking price, or sold price in sold mode. URL price bounds take precedence. Sold prices must not exceed 2,147,483,647."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "maximum": 10000000000,
            "type": "integer",
            "description": "Asking price, or sold price in sold mode. Must be at least minPrice."
          },
          "minBeds": {
            "title": "Minimum bedrooms",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Zero includes studios."
          },
          "maxBeds": {
            "title": "Maximum bedrooms",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Must be at least minBeds."
          },
          "minBaths": {
            "title": "Minimum bathrooms",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Supports fractional bathrooms."
          },
          "maxBaths": {
            "title": "Maximum bathrooms",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Must be at least minBaths."
          },
          "minSqft": {
            "title": "Minimum living area",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Square feet of interior living area."
          },
          "maxSqft": {
            "title": "Maximum living area",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Square feet; must be at least minSqft."
          },
          "minLotSqft": {
            "title": "Minimum lot area",
            "minimum": 0,
            "maximum": 10000000000,
            "type": "integer",
            "description": "Lot area in square feet."
          },
          "maxLotSqft": {
            "title": "Maximum lot area",
            "minimum": 0,
            "maximum": 10000000000,
            "type": "integer",
            "description": "Square feet; must be at least minLotSqft."
          },
          "minYearBuilt": {
            "title": "Earliest construction year",
            "minimum": 0,
            "maximum": 2200,
            "type": "integer",
            "description": "Source year-built lower bound."
          },
          "maxYearBuilt": {
            "title": "Latest construction year",
            "minimum": 0,
            "maximum": 2200,
            "type": "integer",
            "description": "Must be at least minYearBuilt."
          },
          "radius": {
            "title": "Location buffer in miles",
            "minimum": 0,
            "maximum": 50,
            "type": "number",
            "description": "Expands the source location boundary by up to 50 miles."
          },
          "daysOnMarket": {
            "title": "Listed within the last N days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Filters source list_date using UTC; not a guarantee of original market-entry date or days since last sale."
          },
          "soldWithin": {
            "title": "Sold within the last N months",
            "minimum": 1,
            "maximum": 120,
            "type": "integer",
            "description": "Sold targets only. Filters the source's sold_date, not list_date."
          },
          "includePending": {
            "title": "Include pending/contingent sale listings",
            "type": "boolean",
            "description": "False excludes source-flagged pending or contingent sale listings. Does not alter rental/sold modes.",
            "default": true
          },
          "keyword": {
            "title": "Listing keyword",
            "minLength": 1,
            "maxLength": 200,
            "type": "string",
            "description": "Source keyword filter, such as pool or garage; not an arbitrary code expression."
          },
          "tags": {
            "title": "Source amenity tags",
            "maxItems": 50,
            "type": "array",
            "description": "Exact Realtor.com public amenity tag values, if known. Source matching determines availability; unknown tags may legitimately return no matches.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          "moveInBy": {
            "title": "Move-in by date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "maxLength": 10,
            "type": "string",
            "description": "Rental targets only; source availability-date upper bound in YYYY-MM-DD UTC date format."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}