{
  "openapi": "3.0.1",
  "info": {
    "title": "Florida DBPR License Search Scraper",
    "description": "Search official Florida DBPR license records by name, license number, city, county, or license type and export status, expiry, location, and verification links.",
    "version": "0.1",
    "x-build-id": "boqhbsADrvTEwSzCA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation-lab~florida-dbpr-license-records-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation-lab-florida-dbpr-license-records-search",
        "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-records-search/runs": {
      "post": {
        "operationId": "runs-sync-automation-lab-florida-dbpr-license-records-search",
        "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-records-search/run-sync": {
      "post": {
        "operationId": "run-sync-automation-lab-florida-dbpr-license-records-search",
        "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": {
          "searchMode": {
            "title": "Search mode",
            "enum": [
              "name",
              "licenseNumber",
              "city",
              "county",
              "licenseType"
            ],
            "type": "string",
            "description": "How DBPR should interpret the supplied filters. If omitted, the Actor infers the mode."
          },
          "lastName": {
            "title": "Last name",
            "type": "string",
            "description": "Licensee last name for a name search."
          },
          "firstName": {
            "title": "First name",
            "type": "string",
            "description": "Optional licensee first name."
          },
          "middleName": {
            "title": "Middle name",
            "type": "string",
            "description": "Optional licensee middle name."
          },
          "organizationName": {
            "title": "Organization name",
            "type": "string",
            "description": "Business or establishment name for a name search."
          },
          "licenseNumber": {
            "title": "License number",
            "type": "string",
            "description": "Exact DBPR license number, for example BK3330278."
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "City used by DBPR's location search. City mode also requires boardCode and licenseTypeCode."
          },
          "countyCode": {
            "title": "County code",
            "type": "string",
            "description": "DBPR county code, such as 58 for Orange, 39 for Hillsborough, 60 for Palm Beach, or 62 for Pinellas. County mode also requires boardCode and licenseTypeCode."
          },
          "boardCode": {
            "title": "Board or profession code",
            "type": "string",
            "description": "DBPR board code, such as 25 for Real Estate, 06 for Construction, or 05 for Cosmetology."
          },
          "licenseTypeCode": {
            "title": "License type code",
            "type": "string",
            "description": "DBPR license-type code for the selected board. Required in licenseType mode."
          },
          "state": {
            "title": "State code",
            "pattern": "^[A-Za-z]{2}$",
            "type": "string",
            "description": "Two-letter state filter. Defaults to FL.",
            "default": "FL"
          },
          "includeHistoric": {
            "title": "Include historic licenses",
            "type": "boolean",
            "description": "Include inactive and historic licenses when DBPR supports it for the selected mode.",
            "default": false
          },
          "includeDetails": {
            "title": "Fetch official detail pages",
            "type": "boolean",
            "description": "Fetch each DBPR detail page for issue date, county, and normalized address fields.",
            "default": true
          },
          "searches": {
            "title": "Batch searches",
            "type": "array",
            "description": "Optional array of searches. When supplied, these replace the top-level search fields.",
            "items": {
              "type": "object",
              "properties": {
                "searchMode": {
                  "title": "Search mode",
                  "description": "DBPR search mode for this batch entry.",
                  "type": "string",
                  "enum": [
                    "name",
                    "licenseNumber",
                    "city",
                    "county",
                    "licenseType"
                  ]
                },
                "lastName": {
                  "title": "Last name",
                  "description": "Licensee last name.",
                  "type": "string"
                },
                "firstName": {
                  "title": "First name",
                  "description": "Licensee first name.",
                  "type": "string"
                },
                "middleName": {
                  "title": "Middle name",
                  "description": "Licensee middle name.",
                  "type": "string"
                },
                "organizationName": {
                  "title": "Organization",
                  "description": "Business or establishment name.",
                  "type": "string"
                },
                "licenseNumber": {
                  "title": "License number",
                  "description": "Exact DBPR license number.",
                  "type": "string"
                },
                "city": {
                  "title": "City",
                  "description": "Public address city.",
                  "type": "string"
                },
                "countyCode": {
                  "title": "County code",
                  "description": "DBPR numeric county code.",
                  "type": "string"
                },
                "boardCode": {
                  "title": "Board code",
                  "description": "DBPR board or profession code.",
                  "type": "string"
                },
                "licenseTypeCode": {
                  "title": "License type code",
                  "description": "DBPR license type code.",
                  "type": "string"
                },
                "state": {
                  "title": "State",
                  "description": "Two-letter state code.",
                  "type": "string"
                },
                "includeHistoric": {
                  "title": "Include historic",
                  "description": "Include historic records when supported.",
                  "type": "boolean"
                }
              }
            }
          },
          "maxItems": {
            "title": "Maximum license records",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum unique license records saved across all searches.",
            "default": 100
          },
          "resultsPerPage": {
            "title": "Results per DBPR page",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Records requested per source page. DBPR allows up to 50.",
            "default": 50
          },
          "maxRequestRetries": {
            "title": "Session retries",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "Number of fresh cookie-session retries after temporary DBPR failures.",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}