hos_check
Check a driver log against FMCSA hours of service
Find every hours-of-service violation in a commercial driver's duty-status log under 49 CFR Part 395 (11/10-hour driving, 14/15-hour window, 30-minute break, 60/70-hour cycle with 34-hour restart, split sleeper berth, adverse conditions, short-haul, 16-hour exception) and how much time the driver has left. Give status changes in time order with ISO 8601 times that include an offset.
输入参数asOfcycleevents必填carriershortHaulhomeTimeZonepriorDailyOnDutyHours
osha_is_recordable
Is this injury or illness OSHA recordable?
Decide under 29 CFR 1904.4-1904.11, 1904.29 and 1904.39 whether a case goes on the OSHA 300 Log, its column (death, days away, restricted, other) and type, whether it is a privacy case, and whether OSHA must be called within 8 or 24 hours. First-aid ids: otcMedicationAtOtcStrength, tetanusImmunization, cleaningWounds, woundCoverings, hotColdTherapy, nonRigidSupport, temporaryImmobilizationForTransport, nailDrillingBlisterDraining, eyePatch, eyeForeignBodyIrrigationOrSwab, splinterRemovalSimple, fingerGuards, massage, drinkingFluidsHeatStress. Medical-treatment ids (any other text also counts as medical treatment): prescriptionMedication, sutures, rigidSplintOrCast, physicalTherapy, otherImmunization, eyeForeignBodyOtherMeans, woundClosingDevice, respiratoryTherapy, surgery. Work-relatedness exceptions: generalPublic, symptomsOnly, voluntaryWellness, eatingDrinking, personalTasks, personalGrooming, commuteParkingLot, coldOrFlu, mentalIllnessNoOpinion.
输入参数typedeathdaysAwaydiagnosisexceptionlossOfEyeamputationtreatmentsmentalIllnesssexualAssaultmedicalRemovalrestrictedDays另有 11 个
osha_coverage
Must an employer keep OSHA records and file them electronically?
Check 29 CFR 1904.1, 1904.2 and 1904.41: whether a company must keep OSHA 300/300A/301 records (size and partially exempt NAICS industries) and whether an establishment must submit Form 300A, and Forms 300 and 301, to OSHA's Injury Tracking Application, with the due date and posting calendar.
输入参数year必填naics必填peakCompanyEmployees必填peakEstablishmentEmployees必填
osha_rates
TRIR and DART rates
Compute the total recordable case rate (TRIR), DART rate and days-away case rate per 200,000 hours, the way BLS does.
输入参数deathsotherCases必填hoursWorked必填daysAwayCases必填restrictedCases必填
osha_hearing_shift
Is a hearing loss OSHA recordable (Standard Threshold Shift)?
Compare a baseline and current audiogram at 2000, 3000 and 4000 Hz under 29 CFR 1904.10: Standard Threshold Shift of 10 dB average plus a 25 dB hearing level in the same ear. Optional age correction from 29 CFR 1910.95 Appendix F.
输入参数current必填baseline必填ageCorrectSex
dig_clock_811
811 call-before-you-dig clock
When may an excavator legally start digging after an 811 locate request, when must utilities mark, what is the latest start, and when does the ticket expire, under state one-call law with the statute cited. States: MI, OH, TX. Holidays default to U.S. federal holidays; pass the one-call center's posted list when you have it.
输入参数state必填holidaysnoticeAt必填timeZonelongProjectplannedStart
parse_811_ticket
Read an 811 ticket email
Pull the ticket number, type, dates, excavator, address, work area, coordinates and member utilities out of the plain text of a one-call ticket.
输入参数text必填
cfr_lookup
Read a federal regulation (eCFR)
Get the current (or dated) text of a Code of Federal Regulations citation such as "49 CFR 395.3(a)(2)" or "29 CFR 1910.147(c)(4)" from the official eCFR, paragraph by paragraph with a citation and link for each.
输入参数datecitation必填
cfr_search
Search federal regulations (eCFR)
Full-text search of the Code of Federal Regulations. Narrow by title (29 OSHA, 49 DOT/FMCSA/PHMSA, 46 and 33 Coast Guard, 40 EPA) and part.
输入参数partlimitquery必填title
cfr_changes
What changed in a federal regulation?
List the substantive amendments to a CFR part (or section) since a date, newest first, from the official eCFR. Optionally compare one section between two dates paragraph by paragraph.
输入参数partsince必填title必填sectioncompareTo
uscg_vessel_search
Find a vessel in Coast Guard records (PSIX)
Search the U.S. Coast Guard Port State Information Exchange by vessel name (partial match), call sign, official number, flag or service. Returns PSIX vessel IDs for uscg_vessel_profile.
输入参数flagnameservicecallSignofficialNumber
uscg_vessel_profile
Coast Guard compliance snapshot for a vessel
For a PSIX vessel ID: particulars, current certificates (Certificate of Inspection, documentation, load line, class) with days left, recent inspections and incident investigations, deficiencies found and whether they are open, and flags for anything expiring or overdue.
输入参数sincevesselId必填
us_federal_holidays
U.S. federal holidays
The 11 U.S. federal holidays for a year, as observed (weekend holidays moved to Friday or Monday).
输入参数year必填
dq_file_check
Check a driver qualification file (49 CFR 391.51)
Check a driver qualification file: application, pre-employment MVR and safety performance history within 30 days of hire, road test or equivalent, annual MVR and review, medical certificate, CDLIS medical status or National Registry note, Clearinghouse queries. Says what is missing, late, expiring or overdue, whether the driver is qualified to drive today, and retention dates. Dates are YYYY-MM-DD.
输入参数asOffile必填
dot_random_testing
DOT random drug and alcohol testing: how many, and a fair draw
FMCSA random testing under 49 CFR 382.305: the year's minimum tests from the average pool (50% drug, 10% alcohol for 2026), how many to select this period to stay on pace, and optionally an unbiased random selection from a list of driver IDs (use employee numbers, never names or SSNs), with a pool fingerprint.
输入参数seedpoolIdspoolSizes必填drugTestsDoneperiodsPerYear必填alcoholTestsDone
mariner_rest_check
Check mariner hours of rest (STCW, 46 CFR 15.1111)
Check work periods against STCW hours of rest (10 in any 24 hours, 77 in any 7 days, no more than two rest periods with one of 6 hours, no more than 14 hours between rests) and optionally the 12-hour towing work limit in 46 U.S.C. 8104(h). Every sliding window is checked.
输入参数tofromwork必填towing
pipeline_design_and_maop
Gas pipeline design pressure, MAOP and impact radius (49 CFR 192)
Steel gas pipeline arithmetic with citations: class location from building count (192.5), design pressure P = (2St/D) x F x E x T (192.105-192.115), test-pressure factor and MAOP as the lowest limit (192.619(a)), hoop stress as % SMYS, and potential impact radius (192.903).
输入参数od必填smys必填wall必填gasTempFtestPsigbuildingsinstalledclassLocationhistoricalPsig
osha_state_jurisdiction
Who enforces workplace safety in a state (OSHA State Plans)
For a state and employer type (private, state-local, federal), say whether federal OSHA or a State Plan (like MIOSHA or Cal/OSHA) has jurisdiction, with the plan's agency, website and 29 CFR 1952 citation.
输入参数state必填employer必填
sds_check
Read and check a safety data sheet (OSHA HazCom)
Parse the text of a GHS safety data sheet into signal word, hazard and precautionary statements, pictograms, ingredients (CAS numbers with check digits verified), exposure limits, flash point, PPE and revision date; check it against 29 CFR 1910.1200 Appendix D; and build a workplace label.
输入参数text必填
csa_explain
Explain CSA BASIC measures from roadside inspections
Compute FMCSA SMS measures for HOS Compliance, Vehicle Maintenance, Driver Fitness and HM Compliance from inspections (date, level, violations with basic, severity 1-10 and outOfService), show which inspections drive each measure and when they step down and drop off. Percentiles are not computed.
输入参数asOfcarrierTypeinspections必填