{
  "openapi": "3.0.1",
  "info": {
    "title": "Florida Lis Pendens, Pre-Foreclosure & Deed Leads",
    "description": "Florida pre-foreclosure leads: lis pendens, deed transfers and liens from the Hillsborough, Collier, Seminole, Duval, Pasco and Manatee County clerks, by recording date.",
    "version": "0.1",
    "x-build-id": "hpuafHQDJtbaoVazX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/finaldynamics~florida-pre-foreclosure-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-finaldynamics-florida-pre-foreclosure-leads",
        "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/finaldynamics~florida-pre-foreclosure-leads/runs": {
      "post": {
        "operationId": "runs-sync-finaldynamics-florida-pre-foreclosure-leads",
        "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/finaldynamics~florida-pre-foreclosure-leads/run-sync": {
      "post": {
        "operationId": "run-sync-finaldynamics-florida-pre-foreclosure-leads",
        "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": {
          "county": {
            "title": "County",
            "enum": [
              "hillsborough",
              "collier",
              "seminole",
              "duval",
              "pasco",
              "manatee"
            ],
            "type": "string",
            "description": "Florida county Clerk to search: Hillsborough, Collier, Seminole, Duval, Pasco or Manatee. Pasco takes a few minutes per week of dates for each document type. Manatee pauses 4 seconds between pages of 500 results.",
            "default": "hillsborough"
          },
          "documentTypes": {
            "title": "Document types",
            "type": "array",
            "description": "Document type codes, labels or names, not case sensitive. Common codes such as LP and D work in every county. See the document type lists in the README (Hillsborough, Collier, Seminole, Duval, Pasco and Manatee). Pasco uses category names and accepts ALL; Manatee uses its 37 category names.",
            "items": {
              "type": "string"
            },
            "default": [
              "(LP) LIS PENDENS"
            ]
          },
          "dateFrom": {
            "title": "Recording date from",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Inclusive Eastern recording date in YYYY-MM-DD format. Maximum window is 366 days. Required when lastDays is 0."
          },
          "dateTo": {
            "title": "Recording date to",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Inclusive Eastern recording date in YYYY-MM-DD format; must be on or after dateFrom. Required when lastDays is 0."
          },
          "lastDays": {
            "title": "Last days",
            "minimum": 0,
            "maximum": 366,
            "type": "integer",
            "description": "When positive, overrides dates with this many calendar days ending today in America/New_York, inclusive. Zero requires both dates above.",
            "default": 7
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum rows delivered after filters. A run that stops at this limit does not update the newOnly list of delivered documents.",
            "default": 500
          },
          "minSalesPrice": {
            "title": "Minimum sales price (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Keep deeds whose published sale price is at least this amount, in Hillsborough, Duval and Manatee. Documents without a price are dropped. Must be 0 for Collier, Seminole and Pasco, whose search results have no price (Seminole shows deed amounts with includeDetails). 0 turns the filter off.",
            "default": 0
          },
          "newOnly": {
            "title": "New instruments only",
            "type": "boolean",
            "description": "Deliver only documents that no earlier run has delivered, tracked per county in the store below. The first run delivers every match. Only a run that finishes successfully updates the list.",
            "default": false
          },
          "stateStoreId": {
            "title": "New-documents store ID",
            "type": "string",
            "description": "Needed for \"only new documents\" on Apify: create a key-value store in Apify Console and select it here. The actor remembers which documents it has delivered in that store.",
            "default": ""
          },
          "waitForLegalDescription": {
            "title": "Wait for legal description",
            "type": "boolean",
            "description": "Hold back documents the Clerk has not finished indexing (no legal description yet) so they arrive complete on a later run. Recommended with newOnly on a schedule.",
            "default": false
          },
          "includeDetails": {
            "title": "Include document details",
            "type": "boolean",
            "description": "Open each document's page on the Clerk's site for full parties and extra fields in Collier, Seminole, Duval, Pasco and Manatee, at $0.003 per page read. Seminole details take about 30 seconds per record; Pasco waits at least 3 seconds between pages. Pasco details identify party sides, recording time and legal description, with no case number or sale price. Duval has no recording time. Manatee details add the recording time and confirm the parties. Hillsborough ignores this option. Pages that cannot be read are flagged and not charged. If 25 pages, or more than 20%, fail, the run stops before delivering.",
            "default": false
          },
          "cacheStoreId": {
            "title": "Manatee saved-results store ID",
            "type": "string",
            "description": "Manatee only, with includeDetails off; other inputs stop with an error. A key-value store you own that keeps a copy of your last complete search. Each run searches Manatee's site first. If the site blocks access or is down, the run delivers the saved copy instead, marked isStale and charged normally. With lastDays, only saved rows still inside the window are delivered, and filings recorded after the copy was saved are missing. Leave empty to turn this off.",
            "default": ""
          },
          "cacheMaxAgeHours": {
            "title": "Maximum age of saved results (hours)",
            "minimum": 1,
            "maximum": 168,
            "type": "integer",
            "description": "Use the saved copy only if it is no older than this. A copy is saved only by a complete, successful live search.",
            "default": 48
          },
          "manateeAccess": {
            "title": "Manatee connection method",
            "enum": [
              "residential-browser",
              "unblocker",
              "http"
            ],
            "type": "string",
            "description": "Manatee only; other counties ignore it. Keep the default. The other methods are for troubleshooting, and http is currently blocked by Manatee's site.",
            "default": "residential-browser"
          },
          "manateeMaxProxyMegabytes": {
            "title": "Manatee download limit (MB)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Manatee only. The run stops if it downloads more than about this many megabytes from Manatee's site. Raise it only if a large search stops at this limit.",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}