{
  "openapi": "3.0.1",
  "info": {
    "title": "Florida DBPR License Verification Scraper",
    "description": "Verify Florida DBPR licenses and export public license records for compliance, recruiting, lead generation, and vendor screening.",
    "version": "0.1",
    "x-build-id": "WzZUEzHqnPJBo7xVm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation-lab~florida-dbpr-license-verification-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation-lab-florida-dbpr-license-verification-scraper",
        "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/automation-lab~florida-dbpr-license-verification-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation-lab-florida-dbpr-license-verification-scraper",
        "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/automation-lab~florida-dbpr-license-verification-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation-lab-florida-dbpr-license-verification-scraper",
        "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": {
          "lastName": {
            "title": "Last name",
            "type": "string",
            "description": "Last name for DBPR name searches. Use searches[] for multiple names."
          },
          "firstName": {
            "title": "First name",
            "type": "string",
            "description": "Optional first name filter."
          },
          "organizationName": {
            "title": "Business / organization name",
            "type": "string",
            "description": "Optional DBPR organization or establishment name filter."
          },
          "licenseNumber": {
            "title": "License number",
            "type": "string",
            "description": "Search for an exact DBPR license number. If set, searchMode defaults to licenseNumber."
          },
          "searchMode": {
            "title": "Search mode",
            "enum": [
              "name",
              "licenseNumber",
              "city",
              "licenseType"
            ],
            "type": "string",
            "description": "DBPR search tab to use. Auto-detected from your fields when omitted.",
            "default": "name"
          },
          "boardCode": {
            "title": "License category code",
            "type": "string",
            "description": "Optional DBPR board/category code, e.g. 25 = Real Estate, 06 = Construction, 05 = Cosmetology, 200 = Hotels and Restaurants."
          },
          "licenseTypeCode": {
            "title": "License type code",
            "type": "string",
            "description": "Optional DBPR license type code. Leave blank unless you know the DBPR code for the selected category."
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "Optional Florida city filter."
          },
          "countyCode": {
            "title": "County code",
            "type": "string",
            "description": "Optional DBPR county code, e.g. 58 = Orange, 60 = Palm Beach, 62 = Pinellas, 39 = Hillsborough."
          },
          "state": {
            "title": "State",
            "type": "string",
            "description": "State filter used by DBPR. Defaults to FL.",
            "default": "FL"
          },
          "includeHistoric": {
            "title": "Include historic licenses",
            "type": "boolean",
            "description": "Include historic/inactive licenses when DBPR supports it for the selected search.",
            "default": false
          },
          "searches": {
            "title": "Multiple searches",
            "type": "array",
            "description": "Optional list of DBPR searches. When provided, these are run instead of the top-level criteria.",
            "items": {
              "type": "object",
              "properties": {
                "searchMode": {
                  "title": "Search mode",
                  "description": "DBPR search mode.",
                  "type": "string",
                  "enum": [
                    "name",
                    "licenseNumber",
                    "city",
                    "licenseType"
                  ]
                },
                "lastName": {
                  "title": "Last name",
                  "description": "Last name filter.",
                  "type": "string"
                },
                "firstName": {
                  "title": "First name",
                  "description": "First name filter.",
                  "type": "string"
                },
                "organizationName": {
                  "title": "Organization name",
                  "description": "Business or establishment name filter.",
                  "type": "string"
                },
                "licenseNumber": {
                  "title": "License number",
                  "description": "Exact DBPR license number.",
                  "type": "string"
                },
                "boardCode": {
                  "title": "Board code",
                  "description": "DBPR category or board code.",
                  "type": "string"
                },
                "licenseTypeCode": {
                  "title": "License type code",
                  "description": "DBPR license type code.",
                  "type": "string"
                },
                "city": {
                  "title": "City",
                  "description": "City filter.",
                  "type": "string"
                },
                "countyCode": {
                  "title": "County code",
                  "description": "DBPR county code.",
                  "type": "string"
                },
                "state": {
                  "title": "State",
                  "description": "State filter.",
                  "type": "string"
                },
                "includeHistoric": {
                  "title": "Include historic",
                  "description": "Include historic licenses.",
                  "type": "boolean"
                }
              }
            }
          },
          "maxResults": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum license records to save across all searches.",
            "default": 20
          },
          "resultsPerPage": {
            "title": "DBPR results per page",
            "minimum": 10,
            "maximum": 50,
            "type": "integer",
            "description": "DBPR supports up to 50 records per search page.",
            "default": 50
          },
          "includeDetails": {
            "title": "Fetch detail pages",
            "type": "boolean",
            "description": "Open each DBPR detail page for issue dates and county. Slower but richer.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}