{
  "openapi": "3.0.1",
  "info": {
    "title": "Property Owner, Tax & Deed Records Intel",
    "description": "Unifies US county assessor / property-tax / recorder records into one parcel + owner schema: owner, assessed value, sale history, deed, tax status. Value layer: owner-to-parcel linking, portfolio rollups, equity/distress scoring. Public records, no skip-tracing. For investors, lenders, PropTech.",
    "version": "0.1",
    "x-build-id": "98MgulI2Ly2fJUWqc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/seibs.co~property-records-intel/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-seibs.co-property-records-intel",
        "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/seibs.co~property-records-intel/runs": {
      "post": {
        "operationId": "runs-sync-seibs.co-property-records-intel",
        "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/seibs.co~property-records-intel/run-sync": {
      "post": {
        "operationId": "run-sync-seibs.co-property-records-intel",
        "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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "property_search",
              "parcel_profile",
              "owner_portfolio",
              "distress_scan"
            ],
            "type": "string",
            "description": "property_search = search each county by owner name / address / APN and resolve owner portfolios. parcel_profile = deep profile (assessed value, sale history, deed, tax status) for specific parcels. owner_portfolio = group parcels by owner and surface multi-parcel owners (find every property an owner controls). distress_scan = score the resolved parcel set for equity/distress signals (tax delinquency, absentee, estimated equity, estate/trust, long tenure).",
            "default": "property_search"
          },
          "owner_names": {
            "title": "Owner name queries",
            "maxItems": 50,
            "type": "array",
            "description": "Owner names (or name fragments) to search each selected county for, e.g. ['SMITH JOHN', 'ACME PROPERTIES LLC']. Owner names are public record on the tax roll; no skip-tracing is performed. Hard cap of 50.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "addresses": {
            "title": "Property address queries",
            "maxItems": 50,
            "type": "array",
            "description": "Property (situs) addresses or address fragments to search, e.g. ['350 5 Avenue', '100 Main St']. Hard cap of 50.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "apns": {
            "title": "APN / parcel-number queries",
            "maxItems": 50,
            "type": "array",
            "description": "Assessor parcel numbers (APN / BBL / SSL / PIN) to search across the selected counties, e.g. ['1008350001']. Hard cap of 50.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "parcels": {
            "title": "Direct parcel references (county + APN)",
            "maxItems": 50,
            "type": "array",
            "description": "Profile specific parcels directly without searching. Each item: {\"county\": \"NYC\", \"apn\": \"1008350001\"}. Use for parcel_profile when you already have the parcel id. Hard cap of 50.",
            "default": []
          },
          "counties": {
            "title": "Counties to query",
            "maxItems": 60,
            "type": "array",
            "description": "County codes. Verified-live connectors that return real data now: NYC (PLUTO), DC (OTR), LA_CA (LA is address/APN only - California redacts owner names on the public parcel layer). A national catalog of ~30 more major counties (incl. Mecklenburg + Maricopa, whose ArcGIS parsers are fixture-validated but whose live service URL needs a recapture) is registered with the correct portal + access method; those return a documented county_pending or fetch note. Pass ['ALL'] to enumerate every catalogued county. Leave empty for the default set (NYC, DC, LA_CA).",
            "default": [
              "NYC",
              "DC",
              "LA_CA"
            ],
            "items": {
              "type": "string"
            }
          },
          "all_counties": {
            "title": "Query the full county catalog",
            "type": "boolean",
            "description": "Shortcut to query every catalogued county (overrides the counties list). Fully-parsed counties return parcels; catalog counties return a documented county_pending note.",
            "default": false
          },
          "include_owner_enrichment": {
            "title": "Owner enrichment (owner-to-parcel linkage + detail)",
            "type": "boolean",
            "description": "Resolve each parcel's owner, classify individual vs entity vs trust/estate, derive owner-occupancy/absentee from the tax-roll mailing address, and link the owner to their other parcels. Charges owner_enrichment per parcel that yields an owner. Defaults on for parcel_profile / owner_portfolio, off for a fast name-only property_search.",
            "default": false
          },
          "include_distress": {
            "title": "Equity / distress scoring",
            "type": "boolean",
            "description": "Score each parcel for equity + motivation signals (tax delinquency, absentee / out-of-state owner, estimated equity from assessed value vs last sale, estate/trust ownership, long tenure, portfolio owner). Charges equity_distress_signal per flagged parcel. Defaults on for distress_scan mode. These are leads, not a verified title/lien determination.",
            "default": false
          },
          "max_results_per_county": {
            "title": "Max parcels per county per query",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Hard cap on parcels returned per county per query. Default 25.",
            "default": 25
          },
          "contact_email": {
            "title": "Contact email (optional)",
            "type": "string",
            "description": "Optional operator contact added to request headers. Good-citizen practice; not required.",
            "default": ""
          },
          "monitor_webhook_url": {
            "title": "Monitor webhook URL (Slack / email, optional)",
            "type": "string",
            "description": "When this actor runs under an Apify Schedule (monitor mode), post the change digest (new parcels, ownership changes, new tax delinquencies) to this Slack-compatible webhook URL.",
            "default": ""
          },
          "use_apify_proxy": {
            "title": "Use Apify Proxy",
            "type": "boolean",
            "description": "Route county requests through Apify Proxy. The DATACENTER tier handles the first (httpx) pass; a RESIDENTIAL tier is provisioned for the anti-bot escalation legs.",
            "default": true
          },
          "use_browser_fallback": {
            "title": "Anti-bot escalation (curl_cffi + browser)",
            "type": "boolean",
            "description": "When a county portal serves a Cloudflare/CAPTCHA/403 challenge, automatically escalate: switch to the RESIDENTIAL proxy and retry with curl_cffi Chrome TLS impersonation, then (if available) a headless browser. Turn off to use plain httpx only.",
            "default": true
          },
          "browser_cdp_url": {
            "title": "Warm browser CDP endpoint (for browser-required counties)",
            "type": "string",
            "description": "Optional. CDP/WebSocket endpoint of an already-running, anti-detect (UC-mode / real Chrome) browser. When set, the browser tier connects to it (inheriting its session + fingerprint) so it passes the Cloudflare/Imperva county portals. Without it a plain headless Chromium is launched. Can also be set as the BROWSER_CDP_URL env var. The per-search CAPTCHA portals additionally need an opt-in solver: set CAPTCHA_SOLVER_PROVIDER (2captcha|capsolver) + CAPTCHA_SOLVER_KEY as actor env secrets - off by default.",
            "default": ""
          },
          "apify_proxy_groups": {
            "title": "Proxy groups (optional override)",
            "type": "array",
            "description": "Override the auto-selected proxy group. Leave empty to let the actor pick DATACENTER (with RESIDENTIAL provisioned for escalation legs).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "concurrency": {
            "title": "Max concurrent requests",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Parallel county fetches. County portals are rate-sensitive; default 4.",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}