{
  "openapi": "3.0.1",
  "info": {
    "title": "Property Owner Lookup & Absentee Owner List (PA, SF, CT, DC)",
    "description": "Property owner lookup and absentee owner lists for Allegheny County (Pittsburgh) and San Francisco, plus CT and DC: beds, baths, sqft, year built, assessed value by address, and motivated seller leads. Official open assessor data. $0.008/lookup, misses free.",
    "version": "0.1",
    "x-build-id": "DU4tdSzq9IffXUGiz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hanielazevedo~property-details-by-address/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hanielazevedo-property-details-by-address",
        "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/hanielazevedo~property-details-by-address/runs": {
      "post": {
        "operationId": "runs-sync-hanielazevedo-property-details-by-address",
        "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/hanielazevedo~property-details-by-address/run-sync": {
      "post": {
        "operationId": "run-sync-hanielazevedo-property-details-by-address",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "lookup",
              "leads"
            ],
            "type": "string",
            "description": "<b>lookup</b>: property facts for your list of addresses ($0.008 per matched address; unmatched, ambiguous and unsupported addresses are free). <b>leads</b>: a list of properties with absentee owners and/or recent sales from the public assessor record ($0.02 per row).",
            "default": "lookup"
          },
          "addresses": {
            "title": "Addresses",
            "type": "array",
            "description": "One US street address per line, with city and state (ZIP helps). Units: <code>Apt 4</code>, <code>Unit 4</code> or <code>#4</code>. Covered: Connecticut (all 169 towns), Allegheny County PA (Pittsburgh), Washington DC, San Francisco CA. Other addresses come back as <code>UNSUPPORTED_COUNTY</code> and are free. Up to 10,000 per run.",
            "items": {
              "type": "string"
            }
          },
          "minConfidence": {
            "title": "Minimum match confidence",
            "minimum": 0.5,
            "maximum": 1,
            "type": "number",
            "description": "Address-to-parcel match score (0.5-1) needed to return a record. Below it the address is <code>NOT_FOUND</code> (free). 0.75 accepts suffix/abbreviation differences; 0.95 needs near-exact addresses.",
            "default": 0.75
          },
          "includeCandidates": {
            "title": "Include candidate parcels",
            "type": "boolean",
            "description": "Add the closest parcels (ID, county address, score) to NOT_FOUND rows, to help fix addresses. AMBIGUOUS rows always list them.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Parallel lookups",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Addresses looked up at once (1-10). Kept low out of courtesy to the public open-data services.",
            "default": 4
          },
          "jurisdiction": {
            "title": "Jurisdiction",
            "enum": [
              "CT",
              "ALLEGHENY_PA",
              "DC"
            ],
            "type": "string",
            "description": "Where to build the list. San Francisco is not offered: its open data has no owner mailing address."
          },
          "towns": {
            "title": "Towns / municipalities / wards",
            "type": "array",
            "description": "Connecticut: 1-25 town names (required), e.g. <code>Hartford</code>. Allegheny: municipality names, e.g. <code>Pittsburgh</code>, <code>Mt. Lebanon</code> (empty = whole county). DC: wards, e.g. <code>Ward 3</code> (empty = whole city).",
            "items": {
              "type": "string"
            }
          },
          "absenteeOnly": {
            "title": "Absentee owners only",
            "type": "boolean",
            "description": "Keep only properties whose owner mailing address differs from the property address (as recorded by the assessor).",
            "default": true
          },
          "outOfStateOnly": {
            "title": "Out-of-state owners only",
            "type": "boolean",
            "description": "Keep only owners whose mailing address is in another state.",
            "default": false
          },
          "saleDateFrom": {
            "title": "Sold on or after",
            "type": "string",
            "description": "Last recorded sale on or after this date (YYYY-MM-DD)."
          },
          "saleDateTo": {
            "title": "Sold on or before",
            "type": "string",
            "description": "Last recorded sale on or before this date (YYYY-MM-DD)."
          },
          "minSalePrice": {
            "title": "Minimum sale price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip nominal transfers (e.g. $1 deeds) by setting e.g. 1000."
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Case-insensitive words matched against the assessor's use / class text, e.g. <code>Residential</code>, <code>Condo</code>, <code>Single Family</code>, <code>Vacant</code>.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max rows",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Leads mode: maximum list rows (default 100, max 50,000). Lookup mode: maximum addresses processed. The run also stops at your maximum charge per run."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}