{
  "openapi": "3.0.1",
  "info": {
    "title": "Texas TDLR License Scraper",
    "description": "Extract public Texas TDLR license records across 149 trades. Scrape licensee name, business, license number, status, address, city, county, ZIP, phone, issue and expiration dates.",
    "version": "0.1",
    "x-build-id": "nDDP3GL8MT38eFjz0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapers_lat~texas-tdlr-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapers_lat-texas-tdlr-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/scrapers_lat~texas-tdlr-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapers_lat-texas-tdlr-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/scrapers_lat~texas-tdlr-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapers_lat-texas-tdlr-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": {
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 5000000,
            "type": "integer",
            "description": "Maximum number of licensee records to collect. Optional."
          },
          "program": {
            "title": "License Program / Trade",
            "type": "array",
            "description": "Select one or more TDLR license programs. Each maps to an official bulk CSV file. \"All Licenses\" is the full statewide file (large).",
            "items": {
              "type": "string",
              "enum": [
                "ltlicfile.csv",
                "ltauctnr.csv",
                "ltaauctr.csv",
                "ltairref.csv",
                "ltactech.csv",
                "ltactech_reg.csv",
                "ltactech_cer.csv",
                "ltactrpr.csv",
                "Ltbarscl.csv",
                "Ltcosscl.csv",
                "Ltcosscl_jc.csv",
                "Ltcosscl_ps.csv",
                "Ltcosscl_vs.csv",
                "ltcosmos.csv",
                "ltcos_ba.csv",
                "ltcos_op.csv",
                "ltcos_fa.csv",
                "ltcos_ee.csv",
                "Ltcos_ma.csv",
                "Ltcos_me.csv",
                "Ltcos_hw.csv",
                "Ltcos_he.csv",
                "ltcosshp.csv",
                "ltcosshp_cs.csv",
                "ltcosshp_ms.csv",
                "ltcosshp_fs.csv",
                "ltcosshp_hs.csv",
                "ltcosshp_fm.csv",
                "ltcosshp_el.csv",
                "ltcosmns.csv",
                "ltmcsshp.csv",
                "ltbehana.csv",
                "ltbehass.csv",
                "ltblrins.csv",
                "ltblragy.csv",
                "ltcsctst.csv",
                "ltcsevtc.csv",
                "ltcsjudg.csv",
                "ltcsmngr.csv",
                "ltcsmmkr.csv",
                "ltcspmtr.csv",
                "ltcsaprm.csv",
                "ltcsrfre.csv",
                "ltcsscnd.csv",
                "ltcepall.csv",
                "Ltcepacr.csv",
                "Ltcepauc.csv",
                "Ltcepcos.csv",
                "ltcepelc.csv",
                "ltcepelv.csv",
                "ltcepptc.csv",
                "ltcepptp.csv",
                "ltcepras.csv",
                "ltceptop.csv",
                "ltcepwwd.csv",
                "Ltelcall.csv",
                "Ltmstele.csv",
                "Ltjnmele.csv",
                "Ltappele.csv",
                "Ltmssele.csv",
                "Ltjmsele.csv",
                "Ltjieele.csv",
                "Ltmtnele.csv",
                "Ltrswele.csv",
                "Lteecele.csv",
                "Ltescele.csv",
                "Ltainele.csv",
                "Ltactele.csv",
                "ltinelvt.csv",
                "ltelectr.csv",
                "Ltbreedr.csv",
                "ltfmqall.csv",
                "ltfmqdvc.csv",
                "ltfmqdjw.csv",
                "ltfmqmfs.csv",
                "ltfmqmqs.csv",
                "ltfmqstc.csv",
                "lttptpro.csv",
                "lttptpro_app.csv",
                "lttptpro_col.csv",
                "lttptpro_ass.csv",
                "ltptpcep.csv",
                "ltproptc.csv",
                "Ltraspcl.csv",
                "Ltservcp.csv",
                "ltslsrvc.csv",
                "ltslsrvc_reg.csv",
                "ltslsrvc_lim.csv",
                "Lttowopr.csv",
                "Lttowopr_im.csv",
                "Lttowopr_pp.csv",
                "Lttowopr_ct.csv",
                "Ltuaprcl_rcy.csv",
                "Ltvsfemp.csv",
                "ltwwdapp.csv",
                "ltwwdpmp.csv",
                "TowCompanies.csv",
                "VSFs.csv",
                "vsAthleticTrainer.csv",
                "vsAudiologist.csv",
                "vsAudiologistAssistant.csv",
                "vsCodingEnforcementOfficer.csv",
                "vsCourtOrderedInstructors.csv",
                "vsCourtOrderedPrograms.csv",
                "vsDietitian.csv",
                "vsDyslexiaPractitioner.csv",
                "vsDyslexiaTherapist.csv",
                "vsFitterDispenserOfHearingInstruments.csv",
                "vsFitterDispenserOfHearingInstrumentsCEProvider.csv",
                "vsLaserHairFacility.csv",
                "vsLaserHairProfessional.csv",
                "vsLaserHairRemovalTrainingProvider.csv",
                "vsLicensedProsthetistOrthotist.csv",
                "vsLicensedProsthetistOrthotistAssistant.csv",
                "vsLicensedProsthetistOrthotistFacility.csv",
                "vsMassageEstablishment.csv",
                "vsMassageInstructor.csv",
                "vsMassageSchool.csv",
                "vsMassageTherapist.csv",
                "vsMassageTherapyCEProvider.csv",
                "vsMidwife.csv",
                "vsMidwifeCourse.csv",
                "vsMoldAnalysisLaboratory.csv",
                "vsMoldAssessmentCompany.csv",
                "vsMoldAssessmentConsultant.csv",
                "vsMoldAssessmentTechnician.csv",
                "vsMoldRemediationCompany.csv",
                "vsMoldRemediationContractor.csv",
                "vsMoldRemediationWorker.csv",
                "vsMoldTrainingProvider.csv",
                "vsSanitarianRegistrationCEProvider.csv",
                "vsSanitarian.csv",
                "vsSpeechLanguagePathologist.csv",
                "vsSpeechLanguagePathologistAssistant.csv",
                "vsTempTraningPermit.csv",
                "vsAllPodiatric.csv",
                "vsPodiatricPhysician.csv",
                "vsPodiatricVCC.csv",
                "vsPodiatricLimitedFaculty.csv",
                "vsPodiatricTxStudentResident.csv",
                "vsPodiatricRadTech.csv",
                "vsDriverEduProvider.csv",
                "vsDriverSafetyProvider.csv",
                "vsDriverEduProviderBranch.csv",
                "vsDriverEduInstructor.csv",
                "vsMotorcycleInstructor.csv",
                "vsATVInstructor.csv",
                "vsEVSupplyProvider.csv",
                "vsTransportation.csv"
              ],
              "enumTitles": [
                "All Licenses",
                "Auctioneers",
                "Associate Auctioneers",
                "Airconditioning Contractors",
                "All A/C Technicians",
                "A/C Technician (Registered)",
                "A/C Technician (Certified)",
                "ACR Certification Training Program",
                "All Barber Schools",
                "All Cosmetology Schools",
                "Cosmetology School - Junior College",
                "Cosmetology School - Private School",
                "Cosmetology School - Vocational/High School",
                "Barbering & Cosmetology Practitioners",
                "Class A Barbers",
                "Cosmetology Operators",
                "Estheticians",
                "Eyelash Extension Specialists",
                "Manicurists",
                "Manicurist/Esthetician",
                "Hair Weaving Specialists",
                "Hair Weaving Specialists/Estheticians (Combo License)",
                "Barbering & Cosmetology Establishments",
                "Full Service Establishments (Beauty)",
                "Manicurist Establishments",
                "Esthetician Establishments",
                "Hair Weaving Establishments",
                "Manicurist/Esthetician Establishments",
                "Eyelash Extension Establishments",
                "Mini Establishments",
                "Mobile Establishments",
                "Behavior Analyst",
                "Behavior Analyst Assistants",
                "Boiler Inspectors",
                "Boiler Authorized Inspection Agency",
                "Combative Sports Contestants",
                "Combative Sports Event Coordinators",
                "Combative Sports Judges",
                "Combative Sports Managers",
                "Combative Sports Matchmakers",
                "Combative Sports Promoters",
                "Combative Sports Amateur Promoters",
                "Combative Sports Referees",
                "Combative Sports Seconds",
                "All Continuing Education Providers",
                "CE Providers for A/C Contractors",
                "CE Providers for Auctioneers",
                "CE Providers for Cosmetology",
                "CE Providers for Electricians",
                "CE Providers for Elevator Responsible Party",
                "CE Providers for Property Tax Consultants",
                "CE Providers for Property Tax Professionals",
                "CE Providers for Registered Accessibility Specialists",
                "CE Providers for Tow Operators",
                "CE Providers for Water Well Drillers/Pump Installers",
                "All Electricians",
                "Master Electricians",
                "Journeyman Electricians",
                "Apprentice Electricians",
                "Master Sign Electricians",
                "Journeyman Sign Electricians",
                "Journeyman Industrial Electrician",
                "Maintenance Electricians",
                "Residential Wiremen",
                "Electrical Contractors",
                "Electrical Sign Contractors",
                "Residential Appliance Installers",
                "Residential Appliance Installation Contractors",
                "Elevator Inspectors",
                "Elevator Contractors",
                "Licensed Breeders",
                "All Motor Fuel Metering & Quality",
                "Motor Fuel Metering & Quality Device",
                "Motor Fuel Metering & Quality Distributor/Wholesaler",
                "Motor Fuel Metering & Quality Supplier",
                "Motor Fuel Metering and Quality Service Company",
                "Motor Fuel Metering & Quality Service Technician",
                "All Property Tax Professionals",
                "Property Tax Appraisers",
                "Property Tax Collectors",
                "Property Tax Assessors",
                "Property Tax Professional Core Education Providers",
                "Property Tax Consultants",
                "Registered Accessibility Specialists",
                "Service Contract Providers",
                "All Professional Employer Organization",
                "Professional Employer Organization (regular license)",
                "Professional Employer Organization (limited license)",
                "All Tow Truck Operators",
                "Tow Truck Operators - IM",
                "Tow Truck Operators - PP",
                "Tow Truck Operators - CT",
                "Used Auto Parts Recycler",
                "Vehicle Storage Facility Employees",
                "Water Well/Pump Installer Apprentices",
                "Water Well Drillers/Pump Installers",
                "Tow Truck Companies",
                "Vehicle Storage Facilites",
                "Athletic Trainers",
                "Audiologists",
                "Audiologist Assistants",
                "Coding Enforcement Officer",
                "Court-Ordered Instructors",
                "Court-Ordered Programs",
                "Dietitians",
                "Dyslexia Practitioners",
                "Dyslexia Therapists",
                "Fitter Dispenser Of Hearing Instruments",
                "Fitter Dispenser Of Hearing Instruments CE Providers",
                "Laser Hair Facilities",
                "Laser Hair Professional",
                "Laser Hair Removal Training Providers",
                "Licensed Prosthetist Orthotists",
                "Licensed Prosthetist Orthotist Assistants",
                "Licensed Prosthetist Orthotist Facilities",
                "Massage Establishments",
                "Massage Instructors",
                "Massage Schools",
                "Massage Therapists",
                "Massage Therapy CE Providers",
                "Midwives",
                "Midwife Courses",
                "Mold Analysis Laboratories",
                "Mold Assessment Companies",
                "Mold Assessment Consultants",
                "Mold Assessment Technicians",
                "Mold Remediation Companies",
                "Mold Remediation Contractors",
                "Mold Remediation Workers",
                "Mold Training Providers",
                "Sanitarian Registration CE Providers",
                "Sanitarians",
                "Speech Language Pathologists",
                "Speech Language Pathologist Assistants",
                "Temp Training Permits",
                "All Podiatrists",
                "Podiatric Physician",
                "Podiatric Voluntary Charity Care",
                "Podiatric Limited Faculty",
                "Podiatry - Temporary Residency License",
                "Podiatry - Radiological Technician Registration",
                "Driver Education Providers",
                "Driver Safety Providers",
                "Driver Education Providers Branch",
                "Driver Education Instructors",
                "Motorcycle Instructors",
                "ATV Instructors",
                "EV Supply Providers",
                "Transportation Network Company"
              ]
            }
          },
          "name": {
            "title": "Name contains",
            "type": "string",
            "description": "Keep only licensees whose name or business name contains this text (case-insensitive). Optional."
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "Keep only records in this city (case-insensitive, partial match). Optional."
          },
          "county": {
            "title": "County",
            "type": "string",
            "description": "Keep only records in this Texas county (case-insensitive, partial match). Optional."
          },
          "zip": {
            "title": "ZIP Code",
            "type": "string",
            "description": "Keep only records whose ZIP starts with this value. Optional."
          },
          "licenseNumber": {
            "title": "License Number",
            "type": "string",
            "description": "Keep only the record(s) with this exact license or certificate number. Optional."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}