{
  "openapi": "3.0.1",
  "info": {
    "title": "Florida Business Leads by Industry (NAICS, Tax Roll)",
    "description": "Florida business leads by industry: businesses by NAICS code, county and ZIP with business name, mailing and physical address and declared equipment value.",
    "version": "0.1",
    "x-build-id": "vEAKiLYKYiViwgUFz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/finaldynamics~florida-business-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-finaldynamics-florida-business-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-business-leads/runs": {
      "post": {
        "operationId": "runs-sync-finaldynamics-florida-business-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-business-leads/run-sync": {
      "post": {
        "operationId": "run-sync-finaldynamics-florida-business-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",
        "required": [
          "counties"
        ],
        "properties": {
          "counties": {
            "title": "Florida counties",
            "type": "array",
            "description": "County names, not case sensitive. St. Johns, Saint Lucie, Dade and De Soto spellings work. Use \"all\" for all 67 counties; otherwise counties run in the order listed.",
            "items": {
              "type": "string"
            },
            "default": [
              "Liberty"
            ]
          },
          "roll": {
            "title": "Tax roll",
            "enum": [
              "latest",
              "preliminary",
              "final"
            ],
            "type": "string",
            "description": "Latest selects the newest listed year, final if non-empty, otherwise preliminary; ignores rollYear. Preliminary/final uses rollYear, or the newest listed year when blank.",
            "default": "latest"
          },
          "rollYear": {
            "title": "Roll year",
            "minimum": 1000,
            "maximum": 9999,
            "type": "integer",
            "description": "Optional four-digit assessment year for preliminary or final; blank defaults to the newest listed year. An empty or missing folder is a source error."
          },
          "naicsCodes": {
            "title": "NAICS industry prefixes",
            "type": "array",
            "description": "Any of these 2–6 digit NAICS prefixes, such as 722 or 238220. Sector ranges 31-33, 44-45 and 48-49 expand to their two-digit prefixes. Empty means any industry.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "businessNameContains": {
            "title": "Business name contains",
            "type": "array",
            "description": "Keep businesses whose account name contains any of these words, not case sensitive. Leave empty for any name.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "businessNameExcludes": {
            "title": "Business name excludes",
            "type": "array",
            "description": "Drop names containing any of these case-insensitive substrings.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "physicalCities": {
            "title": "Physical cities",
            "type": "array",
            "description": "Keep businesses located in these cities, spelled as on the roll, not case sensitive. Uses the business location, not the mailing address.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "zipCodes": {
            "title": "Physical ZIP prefixes",
            "type": "array",
            "description": "Any of these 3–5 digit prefixes on the physical ZIP. Empty means any ZIP. Mailing ZIP is not used.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "requirePhysicalAddress": {
            "title": "Require physical address",
            "type": "boolean",
            "description": "Keep only accounts with a location address on the roll (sometimes a road name without a number). Turn off to include accounts reported county-wide, such as utilities.",
            "default": true
          },
          "minEquipmentValue": {
            "title": "Minimum total equipment value",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest total declared value in US dollars of furniture, fixtures, equipment and leasehold improvements at the location. Leave empty for no minimum."
          },
          "maxEquipmentValue": {
            "title": "Maximum total equipment value",
            "minimum": 0,
            "type": "integer",
            "description": "Largest total declared value in US dollars of furniture, fixtures, equipment and leasehold improvements at the location. Leave empty for no maximum."
          },
          "excludeGovernment": {
            "title": "Exclude government accounts",
            "type": "boolean",
            "description": "Leave out accounts with a federal, state or local government exemption. Other exemptions stay in.",
            "default": true
          },
          "ownerLocation": {
            "title": "Owner mailing location",
            "enum": [
              "any",
              "out-of-state",
              "in-state"
            ],
            "type": "string",
            "description": "Where the business's mailing address is: any, out of state (another state or a foreign country), or in state (Florida). Accounts with no mailing state on the roll match neither out of state nor in state.",
            "default": "any"
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "Maximum business account rows across all counties. The active download is cancelled at this result limit or the run charge limit.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}