{
  "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": "HWKecAnnv8cJDxu8m"
  },
  "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"
            ],
            "type": "string",
            "description": "Florida county clerk to search: Hillsborough, Collier, Seminole, Duval and Pasco. Pasco needs about 36 searches per document type per date window and takes a few minutes per week.",
            "default": "hillsborough"
          },
          "documentTypes": {
            "title": "Document types",
            "type": "array",
            "description": "County document labels, names or codes, case-insensitive, including cross-county code aliases. See the document type lists in the README (Hillsborough, Collier, Seminole, Duval and Pasco). Pasco uses category labels and supports ALL.",
            "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 truncated run does not advance newOnly state.",
            "default": 500
          },
          "minSalesPrice": {
            "title": "Minimum sales price (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Keep published search-row deed prices at least this value in Hillsborough and Duval. Unknown prices are dropped. Collier, Seminole and Pasco require zero; Seminole deed amounts need includeDetails. Zero disables filtering.",
            "default": 0
          },
          "newOnly": {
            "title": "New instruments only",
            "type": "boolean",
            "description": "Deliver instruments absent from the persistent county scope. Only complete successful runs advance state. The first run delivers all matching instruments.",
            "default": false
          },
          "stateStoreId": {
            "title": "State key-value 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": "Fetch full parties and available detail fields in Collier, Seminole, Duval and Pasco. Each successful detail costs $0.003. Seminole details take about 15 seconds per record; Pasco waits at least 3 seconds between requests. Pasco details identify party sides, recording time and legal description, with no case number or sale price. Duval has no recording time. Hillsborough ignores this option. Failed details are flagged and uncharged. More than 20% failures or 25 failures stops delivery.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}