API ReferenceLicenses
Get OSHA inspection history matched to a contractor
Returns OSHA inspections matched to this license number via fuzzy name matching. Each inspection carries a tier (VERIFIED / LIKELY / POSSIBLE / AMBIGUOUS) describing match strength. VERIFIED requires geographic corroboration; AMBIGUOUS means the establishment name collides with multiple licensees and cannot be uniquely attributed. Callers must handle AMBIGUOUS. Summary aggregations (inspection counts, violation totals, penalty sums) use VERIFIED matches only.
Authorization
Bearer AuthorizationBearer <token>
API key passed as a Bearer token. Keys start with sk_live_.
In: header
Path Parameters
licenseNumber*string
The license number (e.g., BC808194)
Length
0 <= length <= 50Response Body
application/json
application/json
curl -X GET "https://loading/api/docs-proxy/v1/licenses/string/osha/summary"{
"licenseNumber": "string",
"licenseName": "string",
"totalInspections": 0,
"totalViolations": 0,
"seriousViolations": 0,
"willfulViolations": 0,
"repeatViolations": 0,
"otherViolations": 0,
"totalPenalties": 0.1,
"hasSeriousViolations": true,
"matchScore": 0,
"matchConfidence": "string",
"tier": "string",
"verificationSignals": "string",
"candidateCount": 0,
"tierBreakdown": {
"verified": 0,
"likely": 0,
"possible": 0,
"ambiguous": 0
}
}Empty