{
  "openapi": "3.0.1",
  "info": {
    "title": "Propwire Scraper & Property Leads Monitor - US Owners & Equity",
    "description": "US property records from Propwire for many ZIP codes, cities or counties in one run: owner name and mailing address, estimated value and equity, last sale, MLS status and lead types like pre-foreclosure, vacant or out-of-state owner. Monitoring mode returns only new, changed and removed properties.",
    "version": "0.1",
    "x-build-id": "DoTPKNLIbn7hN8IdR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neverempty~propwire-property-leads-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neverempty-propwire-property-leads-monitor",
        "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/neverempty~propwire-property-leads-monitor/runs": {
      "post": {
        "operationId": "runs-sync-neverempty-propwire-property-leads-monitor",
        "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/neverempty~propwire-property-leads-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-neverempty-propwire-property-leads-monitor",
        "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": "US places to search: a 5-digit ZIP code (78704), a city with its state (\"Austin, TX\") or a county with its state (\"Travis County, TX\"). Add up to 200 locations in one run; each property comes back as its own row with the location you gave. A location Propwire does not know, or one in another format, gets one free row saying so, and the other locations are still read.",
            "items": {
              "type": "string"
            }
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Only these property types. Empty = every type.",
            "items": {
              "type": "string",
              "enum": [
                "SFR",
                "CONDO",
                "LAND",
                "MOBILE",
                "COMMERCIAL",
                "OTHER"
              ],
              "enumTitles": [
                "Single-family home",
                "Condo / townhouse",
                "Land",
                "Mobile home",
                "Commercial",
                "Other"
              ]
            }
          },
          "leadTypes": {
            "title": "Lead types",
            "type": "array",
            "description": "Only properties with every lead type chosen here (choosing two returns properties that have both). Empty = no lead filter.",
            "items": {
              "type": "string",
              "enum": [
                "preforeclosure",
                "vacant_home",
                "cash_buyer",
                "out_of_state_owner",
                "private_lender"
              ],
              "enumTitles": [
                "Pre-foreclosure",
                "Vacant",
                "Cash buyer",
                "Out-of-state owner",
                "Private lender"
              ]
            }
          },
          "nonOwnerOccupiedOnly": {
            "title": "Absentee owners only",
            "type": "boolean",
            "description": "Only properties whose owner does not live there (rentals, second homes, investor-owned)."
          },
          "minEstimatedValue": {
            "title": "Min estimated value ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Only properties whose estimated value is at least this many US dollars."
          },
          "maxEstimatedValue": {
            "title": "Max estimated value ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Only properties whose estimated value is at most this many US dollars."
          },
          "maxPropertiesPerLocation": {
            "title": "Max properties per location",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "How many properties to return for each location. Empty = every matching property (Propwire shows up to 10,000 per search; use filters or ZIP codes for larger places). In monitoring mode every matching property is still compared, and this caps only how many changes come back per run; changes not returned are returned by the next run."
          },
          "monitoringMode": {
            "title": "Monitoring mode",
            "type": "boolean",
            "description": "Return only what changed since the last run of this watch: new properties that match your filters, properties whose owner, mailing address, sale, MLS status, list or sold price, lead types, auction date or foreclosure details changed, and properties that no longer match. The first run remembers the current properties and returns one watch-started row per location; later runs return only the changes. Each location keeps its own memory for each set of filters."
          },
          "includeValueChanges": {
            "title": "Also report value and equity changes",
            "type": "boolean",
            "description": "In monitoring mode, also report properties whose estimated value or equity changed, and changes in the lead flags Propwire computes from those estimates (high equity, low equity, negative equity, tired landlord, cash flow rentals and similar). Off by default because estimates are refreshed for many properties at once. Changes in owner, mailing address, sale, MLS status, foreclosure, auction, vacancy and absentee or out-of-state owner flags are always reported."
          },
          "resetMonitoringState": {
            "title": "Reset monitoring state",
            "type": "boolean",
            "description": "Forget what the watch remembered for these locations and filters at the start of this run, so this run starts over like a first run. Turn it off again for scheduled runs, or every run starts over."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}