{
  "openapi": "3.0.1",
  "info": {
    "title": "Florida New Business Leads (Miami-Dade, Broward, Miami)",
    "description": "Newly licensed and opening-soon businesses in Miami-Dade, Broward and the City of Miami from official business tax receipt feeds, with optional 0-100 lead scores for banks, insurers, POS, signage and suppliers.",
    "version": "0.0",
    "x-build-id": "xtJWr6acjprTjh6zf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/open-records-data~florida-new-business-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-open-records-data-florida-new-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/open-records-data~florida-new-business-leads/runs": {
      "post": {
        "operationId": "runs-sync-open-records-data-florida-new-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/open-records-data~florida-new-business-leads/run-sync": {
      "post": {
        "operationId": "run-sync-open-records-data-florida-new-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",
        "properties": {
          "sources": {
            "title": "Where (jurisdictions)",
            "type": "array",
            "description": "Miami-Dade County local business tax receipts (all municipalities), Broward County local business tax records, and City of Miami business tax receipts. The same business listed by more than one jurisdiction is returned once.",
            "items": {
              "type": "string",
              "enum": [
                "miami-dade",
                "broward",
                "miami-city"
              ],
              "enumTitles": [
                "Miami-Dade County",
                "Broward County",
                "City of Miami"
              ]
            },
            "default": [
              "miami-dade",
              "broward",
              "miami-city"
            ]
          },
          "daysBack": {
            "title": "Days back",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Businesses whose receipt start date falls in the last N days. Receipts dated in the next few weeks (businesses opening soon) are included as well.",
            "default": 30
          },
          "industries": {
            "title": "Industries (any match)",
            "type": "array",
            "description": "Keep only these kinds of business. Leave empty for all. Industry is derived from the county's category, class and activity text and the business name.",
            "items": {
              "type": "string",
              "enum": [
                "restaurant",
                "retail",
                "medical",
                "beauty-wellness",
                "fitness",
                "construction",
                "home-services",
                "real-estate",
                "legal",
                "finance-insurance",
                "professional-services",
                "technology",
                "automotive",
                "lodging-hospitality",
                "education-childcare",
                "transportation-logistics",
                "wholesale-import-export",
                "manufacturing",
                "nonprofit"
              ],
              "enumTitles": [
                "Restaurants, cafes, food",
                "Retail & shops",
                "Medical, dental, health",
                "Beauty, salons, spas",
                "Fitness & studios",
                "Construction & trades",
                "Cleaning, landscaping, home services",
                "Real estate & rentals",
                "Legal",
                "Finance, insurance, accounting",
                "Consulting & professional services",
                "Technology & e-commerce",
                "Automotive & marine",
                "Lodging, events, nightlife",
                "Education & childcare",
                "Transportation & logistics",
                "Wholesale, import / export",
                "Manufacturing & printing",
                "Non-profit & religious"
              ]
            }
          },
          "cities": {
            "title": "Cities (any match)",
            "type": "array",
            "description": "Keep only businesses in these cities or municipalities, e.g. Miami, Doral, Hialeah, Fort Lauderdale, Coral Springs. Partial names match.",
            "items": {
              "type": "string"
            }
          },
          "zipCodes": {
            "title": "ZIP codes (any match)",
            "type": "array",
            "description": "Keep only businesses in these 5-digit ZIP codes, e.g. 33131, 33301.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords (any match)",
            "type": "array",
            "description": "Keep only businesses whose name, category, activity or address mentions any of these words, e.g. roofing, restaurant, dental, boutique, logistics.",
            "items": {
              "type": "string"
            }
          },
          "activeOnly": {
            "title": "Active receipts only",
            "type": "boolean",
            "description": "Skip canceled, closed and inactive receipts.",
            "default": true
          },
          "requireAddress": {
            "title": "Require a street address",
            "type": "boolean",
            "description": "Skip records with no street address. About half of Broward's very newest records are still missing one; turn this off to include them.",
            "default": true
          },
          "dedupe": {
            "title": "Remove duplicates across jurisdictions",
            "type": "boolean",
            "description": "A business inside the City of Miami can appear in both the county and city feeds. Keep only the first copy.",
            "default": true
          },
          "enrich": {
            "title": "Add lead scores",
            "type": "boolean",
            "description": "Adds a 0-100 lead score with plain-English reasons (how new, opening soon, customer-facing, registered company, footprint) and sorts the best leads first. Billed at the higher scored-lead rate.",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Upper bound on records returned and billed. Your run's maximum-charge setting is honoured too, so you can never be billed more than you set.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}