{
  "openapi": "3.0.1",
  "info": {
    "title": "Realtor Property Scraper",
    "description": "A powerful Apify Actor for scraping property listings from Realtor.com with advanced filtering options and comprehensive property data extraction.",
    "version": "1.2",
    "x-build-id": "B24dmdO6Ept351Ama"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/logical_vivacity~realtor-property-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-logical_vivacity-realtor-property-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/logical_vivacity~realtor-property-scraper/runs": {
      "post": {
        "operationId": "runs-sync-logical_vivacity-realtor-property-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/logical_vivacity~realtor-property-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-logical_vivacity-realtor-property-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",
        "required": [
          "searchLocation"
        ],
        "properties": {
          "searchLocation": {
            "title": "Search Location",
            "type": "string",
            "description": "Location to search for properties (e.g., 'Florida, MA', 'New York, NY', '85281', '2530 Al Lipscomb Way')",
            "default": "Florida, MA"
          },
          "listingType": {
            "title": "Listing Type",
            "type": "array",
            "description": "Types of listings to search for",
            "items": {
              "type": "string",
              "enum": [
                "for_sale",
                "for_rent",
                "sold",
                "pending",
                "off_market",
                "new_community",
                "other",
                "ready_to_build"
              ]
            },
            "default": [
              "for_sale"
            ]
          },
          "propertyType": {
            "title": "Property Type",
            "type": "array",
            "description": "Types of properties to search for",
            "items": {
              "type": "string",
              "enum": [
                "single_family",
                "multi_family",
                "condos",
                "condo_townhome_rowhome_coop",
                "condo_townhome",
                "townhomes",
                "duplex_triplex",
                "farm",
                "land",
                "mobile"
              ]
            }
          },
          "radius": {
            "title": "Search Radius (miles)",
            "minimum": 0.1,
            "maximum": 50,
            "type": "number",
            "description": "Search radius in miles (only for individual addresses)"
          },
          "mlsOnly": {
            "title": "MLS Only",
            "type": "boolean",
            "description": "If set, fetches only listings with MLS IDs",
            "default": false
          },
          "pastDays": {
            "title": "Past Days Filter",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Get properties sold or listed in the last X days"
          },
          "dateFrom": {
            "title": "Date From",
            "type": "string",
            "description": "Start date for filtering (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS format)"
          },
          "dateTo": {
            "title": "Date To",
            "type": "string",
            "description": "End date for filtering (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS format)"
          },
          "foreclosure": {
            "title": "Foreclosure Only",
            "type": "boolean",
            "description": "If set, fetches only foreclosure listings",
            "default": false
          },
          "extraPropertyData": {
            "title": "Extra Property Data",
            "type": "boolean",
            "description": "Fetch additional property data (agent, broker, evaluations, etc.)",
            "default": true
          },
          "excludePending": {
            "title": "Exclude Pending",
            "type": "boolean",
            "description": "Exclude pending or contingent properties from results",
            "default": false
          },
          "limit": {
            "title": "Result Limit",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of results (0-10000)",
            "default": 50
          },
          "offset": {
            "title": "Result Offset",
            "minimum": 0,
            "maximum": 9800,
            "type": "integer",
            "description": "Starting position for pagination (must be multiple of 200)",
            "default": 0
          },
          "pastHours": {
            "title": "Past Hours Filter",
            "minimum": 1,
            "maximum": 8760,
            "type": "integer",
            "description": "Get properties listed/sold in the last X hours"
          },
          "updatedSince": {
            "title": "Updated Since",
            "type": "string",
            "description": "Filter by properties updated since this date/time (ISO 8601 format)"
          },
          "updatedInPastHours": {
            "title": "Updated in Past Hours",
            "minimum": 1,
            "maximum": 8760,
            "type": "integer",
            "description": "Filter properties updated in the last X hours"
          },
          "bedsMin": {
            "title": "Minimum Bedrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Minimum number of bedrooms"
          },
          "bedsMax": {
            "title": "Maximum Bedrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of bedrooms"
          },
          "bathsMin": {
            "title": "Minimum Bathrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "number",
            "description": "Minimum number of bathrooms"
          },
          "bathsMax": {
            "title": "Maximum Bathrooms",
            "minimum": 0,
            "maximum": 20,
            "type": "number",
            "description": "Maximum number of bathrooms"
          },
          "sqftMin": {
            "title": "Minimum Square Feet",
            "minimum": 1,
            "type": "integer",
            "description": "Minimum property square footage"
          },
          "sqftMax": {
            "title": "Maximum Square Feet",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum property square footage"
          },
          "priceMin": {
            "title": "Minimum Price",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum listing price"
          },
          "priceMax": {
            "title": "Maximum Price",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum listing price"
          },
          "lotSqftMin": {
            "title": "Minimum Lot Size (sqft)",
            "minimum": 1,
            "type": "integer",
            "description": "Minimum lot size in square feet"
          },
          "lotSqftMax": {
            "title": "Maximum Lot Size (sqft)",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum lot size in square feet"
          },
          "yearBuiltMin": {
            "title": "Minimum Year Built",
            "minimum": 1800,
            "maximum": 2030,
            "type": "integer",
            "description": "Minimum year the property was built"
          },
          "yearBuiltMax": {
            "title": "Maximum Year Built",
            "minimum": 1800,
            "maximum": 2030,
            "type": "integer",
            "description": "Maximum year the property was built"
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "list_date",
              "sold_date",
              "list_price",
              "sqft",
              "beds",
              "baths",
              "last_update_date",
              "pending_date"
            ],
            "type": "string",
            "description": "Sort results by field",
            "default": "list_date"
          },
          "sortDirection": {
            "title": "Sort Direction",
            "enum": [
              "asc",
              "desc"
            ],
            "type": "string",
            "description": "Sort direction",
            "default": "desc"
          },
          "parallel": {
            "title": "Parallel Pagination",
            "type": "boolean",
            "description": "Fetch all pages in parallel for maximum speed (vs sequential with early termination)",
            "default": true
          },
          "includeContactInfo": {
            "title": "Include Contact Information",
            "type": "boolean",
            "description": "Whether to scrape realtor contact information for each property",
            "default": true
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum number of concurrent browser tabs",
            "default": 1
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}