{
  "openapi": "3.0.1",
  "info": {
    "title": "Michigan LARA License Lookup Scraper",
    "description": "Look up Michigan professional and occupational licenses from LARA (Licensing and Regulatory Affairs) - the state's own public license search. Filter by license type, license number, name, organization, DBA, county, or status.",
    "version": "1.0",
    "x-build-id": "aRzsSCRdRl5hgZb2K"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~michigan-lara-license-lookup-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-michigan-lara-license-lookup-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/crawlerbros~michigan-lara-license-lookup-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-michigan-lara-license-lookup-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/crawlerbros~michigan-lara-license-lookup-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-michigan-lara-license-lookup-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": {
          "licenseType": {
            "title": "License type",
            "enum": [
              "",
              "Accountancy Firm",
              "Accountant - Licensed",
              "Accountant - Registered",
              "Accountant - Temporary Practice Permit",
              "Acupuncturist - Licensed",
              "Acupuncturist - Licensed Limited",
              "Acupuncturist - Registered",
              "Appraisal Management Company",
              "Architect",
              "Assistant Behavior Analyst",
              "Athletic Trainer",
              "Audiologist",
              "Audiologist Limited",
              "Bachelors Social Worker",
              "Bachelors Social Worker Limited",
              "Barber",
              "Barber College",
              "Barber College Temporary",
              "Barber Instructor",
              "Barber Student",
              "Barber Student Instructor",
              "Barbershop",
              "Barbershop Apprentice",
              "Barbershop Temporary",
              "Behavior Analyst",
              "Chiropractor",
              "Chiropractor Educational Limited",
              "Chiropractor Temporary",
              "Collection Agency Non-Owner Managed",
              "Collection Agency Non-Owner Manager",
              "Collection Agency Owner Managed",
              "Controlled Substance",
              "Controlled Substance Animal Euthanasia",
              "Controlled Substance Animal Sedation",
              "Controlled Substance Automated Device",
              "Controlled Substance Lab",
              "Controlled Substance License - Compact",
              "Cosmetologist",
              "Cosmetology Establishment",
              "Cosmetology Establishment Apprentice",
              "Cosmetology Establishment Limited",
              "Cosmetology Instructor",
              "Cosmetology Limited Instructor",
              "Cosmetology Limited School",
              "Cosmetology School",
              "Cosmetology School Branch",
              "Dental Assistant",
              "Dental Assistant Clinical Academic Limited",
              "Dental Assistant Nonclinical Academic Limited",
              "Dental Hygienist",
              "Dental Hygienist Clinical Academic Limited",
              "Dental Hygienist Nonclinical Academic Limited",
              "Dental Therapist",
              "Dentist",
              "Dentist Clinical Academic Limited",
              "Dentist Educational Limited",
              "Dentist Nonclinical Academic Limited",
              "Drug Control",
              "Drug Treatment Program Prescriber",
              "Electrologist",
              "Electrology Instructor",
              "Electrology Limited Instructor",
              "Esthetician",
              "Esthetician Limited Instructor",
              "Expedited Medical Compact",
              "Genetic Counselor",
              "Hearing Aid Dealer",
              "Hearing Aid Salesperson",
              "Hearing Aid Trainee",
              "Licensed Landscape Architect",
              "Licensed Practical Nurse",
              "Licensed Professional Counselor",
              "Limited Licensed Counselor",
              "Manicuring Limited Instructor",
              "Manicurist",
              "Manufacturer",
              "Marriage and Family Therapist",
              "Marriage and Family Therapist Educational Limited",
              "Massage Therapist",
              "Masters Limited Psychologist",
              "Masters Limited Psychologist - Temporary Educational Limited",
              "Masters Social Worker",
              "Masters Social Worker Limited",
              "Medical Doctor",
              "Medical Doctor Clinical Academic Limited",
              "Medical Doctor Educational Limited",
              "Medical Doctor Limited",
              "Medical Doctor Nonclinical Academic Limited",
              "Mfr Wholesaler",
              "Midwife",
              "Natural Hair Cultivation Limited Instructor",
              "Natural Hair Culturist",
              "Nursing Home Administrator",
              "Occupational Therapist",
              "Occupational Therapist Limited",
              "Occupational Therapy Assistant",
              "Occupational Therapy Assistant Limited",
              "Optometrist",
              "Optometrist Clinical Academic Limited",
              "Optometrist Educational Limited",
              "Optometrist Limited",
              "Optometrist Nonclinical Academic Limited",
              "Osteopathic Physician",
              "Osteopathic Physician Clinical Academic Limited",
              "Osteopathic Physician Educational Limited",
              "Personnel Agency A",
              "Personnel Agency Agent",
              "Personnel Agency B",
              "Pharmacist",
              "Pharmacist Intern",
              "Pharmacist Temporary",
              "Pharmacy",
              "Pharmacy Technician",
              "Pharmacy Technician Limited",
              "Pharmacy Technician Temporary",
              "Physical Therapist",
              "Physical Therapist Assistant",
              "Physical Therapist Assistant Limited",
              "Physical Therapist Temporary",
              "Physicians Assistant",
              "Physicians Assistant Temporary",
              "Podiatrist",
              "Podiatrist Educational Limited",
              "Professional Engineer",
              "Professional Surveyor",
              "Provider",
              "Psychologist",
              "Psychologist - Doctoral Educational Limited",
              "Psychologist - Doctoral Temporary Educational Limited",
              "Real Estate Appraiser - Certified General",
              "Real Estate Appraiser - Certified Residential",
              "Real Estate Appraiser - Limited",
              "Real Estate Appraiser - State Licensed",
              "Real Estate Appraiser - Temporary Practice Permit",
              "Real Estate Branch Office",
              "Real Estate Broker Company",
              "Real Estate Broker Individual",
              "Real Estate Non Principal Associate Broker",
              "Real Estate Principal Associate Broker",
              "Real Estate Salesperson",
              "Registered Landscape Architect",
              "Registered Nurse",
              "Registered Nurse Temporary",
              "Remote Pharmacy",
              "Respiratory Therapist",
              "Respiratory Therapist Temporary",
              "Sanitarian",
              "Social Service Technician",
              "Social Service Technician Limited",
              "Special Volunteer",
              "Speech - Language Pathologist",
              "Speech - Language Pathologist Educational Limited",
              "Speech - Language Pathologist Educational Limited Temporary",
              "Speech - Language Pathologist Limited",
              "Temporary Cosmetology Establishment",
              "Temporary Cosmetology Establishment Limited",
              "Temporary Licensed Genetic Counselor",
              "Temporary Midwife",
              "Temporary Military Dependent Health",
              "Temporary Military Dependent Occupation",
              "Veterinarian",
              "Veterinarian Clinical Academic Limited",
              "Veterinarian Educational Limited",
              "Veterinarian Limited",
              "Veterinarian Nonapproved Program Limited",
              "Veterinarian Senior Student Limited",
              "Veterinary Technician",
              "Wholesale Distributor",
              "Wholesale Distributor-Broker"
            ],
            "type": "string",
            "description": "Filter to one of LARA's 169 license/credential types (e.g. `Cosmetologist`, `Registered Nurse`, `Real Estate Salesperson`). Leave unset to search across all license types.",
            "default": ""
          },
          "licenseNumber": {
            "title": "License number",
            "type": "string",
            "description": "Exact LARA license number, e.g. `4704006499`. Unique across all license types, so `licenseType` isn't required when using this.",
            "default": ""
          },
          "formerLicenseNumber": {
            "title": "Former / business license number",
            "type": "string",
            "description": "Older/legacy license number on file (LARA's own \"Former License Number\" search field), where different from the current number.",
            "default": ""
          },
          "firstName": {
            "title": "First name",
            "type": "string",
            "description": "Licensee's first name (individuals only).",
            "default": ""
          },
          "middleInitial": {
            "title": "Middle initial",
            "type": "string",
            "description": "Licensee's middle initial (individuals only).",
            "default": ""
          },
          "lastName": {
            "title": "Last name",
            "type": "string",
            "description": "Licensee's last name (individuals only).",
            "default": ""
          },
          "organizationName": {
            "title": "Organization name",
            "type": "string",
            "description": "Business/company/corporation name on file (e.g. for real estate brokerages, cosmetology establishments, pharmacies).",
            "default": ""
          },
          "dbaTradeName": {
            "title": "DBA / trade name",
            "type": "string",
            "description": "\"Doing business as\" or trade name on file (e.g. a salon's storefront name).",
            "default": ""
          },
          "county": {
            "title": "County",
            "enum": [
              "",
              "Alcona",
              "Alger",
              "Allegan",
              "Alpena",
              "Antrim",
              "Arenac",
              "Baraga",
              "Barry",
              "Bay",
              "Benzie",
              "Berrien",
              "Branch",
              "Calhoun",
              "Cass",
              "Charlevoix",
              "Cheboygan",
              "Chippewa",
              "Clare",
              "Clinton",
              "Crawford",
              "Delta",
              "Dickinson",
              "Eaton",
              "Emmet",
              "Genesee",
              "Gladwin",
              "Gogebic",
              "Grand Traverse",
              "Gratiot",
              "Hillsdale",
              "Houghton",
              "Huron",
              "Ingham",
              "Ionia",
              "Iosco",
              "Iron",
              "Isabella",
              "Jackson",
              "Kalamazoo",
              "Kalkaska",
              "Kent",
              "Keweenaw",
              "Lake",
              "Lapeer",
              "Leelanau",
              "Lenawee",
              "Livingston",
              "Luce",
              "Mackinac",
              "Macomb",
              "Manistee",
              "Marquette",
              "Mason",
              "Mecosta",
              "Menominee",
              "Midland",
              "Missaukee",
              "Monroe",
              "Montcalm",
              "Montmorency",
              "Muskegon",
              "Newaygo",
              "Oakland",
              "Oceana",
              "Ogemaw",
              "Ontonagon",
              "Osceola",
              "Oscoda",
              "Otsego",
              "Ottawa",
              "Presque Isle",
              "Roscommon",
              "Saginaw",
              "St. Clair",
              "St. Joseph",
              "Sanilac",
              "Schoolcraft",
              "Shiawassee",
              "Tuscola",
              "Van Buren",
              "Washtenaw",
              "Wayne",
              "Wexford"
            ],
            "type": "string",
            "description": "Narrow results to licensees whose county on file matches one of Michigan's 83 counties. Not every license type has a county on record.",
            "default": ""
          },
          "licenseStatus": {
            "title": "Filter by license status",
            "enum": [
              "",
              "Active",
              "Active - In Late Renewal",
              "Application Withdrawn",
              "Bad Check",
              "Closed",
              "Completed",
              "Deceased",
              "Expired",
              "Inactive",
              "Inactive - No Longer Principal",
              "Lapsed",
              "Lapsed - Disciplinary Limited",
              "Lapsed - Escrow or Registered",
              "Lapsed - In Late Renewal",
              "Lapsed - In Review or Hold",
              "Lapsed - Suspended",
              "Lapsed - Unknown",
              "Lapsed - Voluntary Termination",
              "Null & Void",
              "Null and Void",
              "Permit Issued",
              "Revoked",
              "Superseded",
              "Suspended",
              "Tech Exam Provider",
              "Void",
              "Void - Issued in Error",
              "Voluntary Termination"
            ],
            "type": "string",
            "description": "Only emit licenses currently in this LARA status (matched case-insensitively against the record's own `licenseStatus`). Leave unset for all statuses.",
            "default": ""
          },
          "hasDisciplinaryAction": {
            "title": "Only licenses with disciplinary action(s)",
            "type": "boolean",
            "description": "If enabled, only emit licenses that have 1+ recorded disciplinary condition on file (suspensions, probation, fines, revocations, etc. — from LARA's own \"Disciplinary Action(s)\" grid on the license detail page). Most licenses have none.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Hard cap on emitted license records. MILARA paginates 50 results per page; higher values fetch additional pages automatically.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}