{
  "openapi": "3.0.1",
  "info": {
    "title": "California License Lookup: Doctors, Nurses & 31 Boards (DCA)",
    "description": "Look up California professional licenses (Medical Board and other DCA boards) by name: licensee, license type and number, status, expiry, city and detail link.",
    "version": "1.0",
    "x-build-id": "adh8U8HHB7q6eFBOQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/offerastudio~california-medical-license/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-offerastudio-california-medical-license",
        "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/offerastudio~california-medical-license/runs": {
      "post": {
        "operationId": "runs-sync-offerastudio-california-medical-license",
        "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/offerastudio~california-medical-license/run-sync": {
      "post": {
        "operationId": "run-sync-offerastudio-california-medical-license",
        "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": {
          "boards": {
            "title": "Boards",
            "type": "array",
            "description": "DCA boards to read. Each board is one file (large boards take longer).",
            "items": {
              "type": "string",
              "enum": [
                "MedicalBoard_0800",
                "Osteopathic_0900",
                "PhysicianAssistant_0950",
                "PodiatricMedicine_0500",
                "Dental_DentalAssistant_0440",
                "RegisteredNursing_0400",
                "VocationalNursing_PsychTech_0430",
                "Pharmacy_7200",
                "DentalHygiene_0410",
                "Psychology_0600",
                "BehavioralSciences_0200",
                "PhysicalTherapy_0720",
                "OccupationalTherapy_0710",
                "RespiratoryCare_0700",
                "Optometry_0420",
                "ChiropracticExaminers_8500",
                "Acupuncture_6500",
                "NaturopathicMedicine_0300",
                "VeterinaryMedicine_Tech_0460",
                "HearingAidDispensers_6700",
                "Accountancy_0300",
                "Architects_0600",
                "LandscapeArchitects_6000",
                "ProfEngrsLandSurvyrsGeologist_7500",
                "BarberingAndCosmetology_0100",
                "SecurityAndInvestigativeServices_0120",
                "AutomotiveRepair_1310",
                "StructuralPest_8400",
                "ElectronicApplianceRepair_3900",
                "Funeral_4800",
                "Cemetery_2100",
                "Fiduciaries_3108",
                "CourtReporters_8100"
              ],
              "enumTitles": [
                "Medical Board of California (physicians and surgeons)",
                "Osteopathic Medical Board",
                "Physician Assistant Board",
                "Podiatric Medical Board",
                "Dental Board (dentists, dental assistants)",
                "Board of Registered Nursing (large file)",
                "Vocational Nursing and Psychiatric Technicians",
                "Board of Pharmacy",
                "Dental Hygiene Board",
                "Board of Psychology",
                "Behavioral Sciences (therapists, counselors, social workers)",
                "Physical Therapy Board",
                "Occupational Therapy Board",
                "Respiratory Care Board",
                "Board of Optometry",
                "Board of Chiropractic Examiners",
                "Acupuncture Board",
                "Naturopathic Medicine Committee",
                "Veterinary Medical Board",
                "Hearing Aid Dispensers",
                "Board of Accountancy (CPAs)",
                "Architects Board",
                "Landscape Architects",
                "Engineers, Land Surveyors and Geologists",
                "Barbering and Cosmetology (large file)",
                "Security and Investigative Services (large file)",
                "Automotive Repair",
                "Structural Pest Control",
                "Electronic and Appliance Repair",
                "Funeral Directors and Embalmers",
                "Cemetery",
                "Professional Fiduciaries",
                "Court Reporters"
              ]
            },
            "default": [
              "MedicalBoard_0800"
            ]
          },
          "names": {
            "title": "Names",
            "type": "array",
            "description": "One name per line: \"last first\" (e.g. smith john), a last name alone, or a business name. Empty = no name filter.",
            "items": {
              "type": "string"
            }
          },
          "licenseNumbers": {
            "title": "License numbers",
            "type": "array",
            "description": "Exact license numbers, e.g. A12345. Empty = no number filter.",
            "items": {
              "type": "string"
            }
          },
          "licenseTypes": {
            "title": "License types contain",
            "type": "array",
            "description": "Keep only license types containing this text, e.g. Physician and Surgeon, Registered Nurse, Pharmacist.",
            "items": {
              "type": "string"
            }
          },
          "statuses": {
            "title": "Status",
            "type": "array",
            "description": "Keep only these statuses (exact, any case). The wording differs by board: Current, Active, Delinquent, Inactive, CurrentInactive, Expired… Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "Keep only this city (address of record), e.g. San Diego."
          },
          "county": {
            "title": "County",
            "type": "string",
            "description": "Keep only this county, e.g. Los Angeles."
          },
          "maxResults": {
            "title": "Max licenses",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop after this many licenses in total. Default 1,000.",
            "default": 1000
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "The files are public downloads; no proxy is needed.",
            "default": {
              "useApifyProxy": 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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}