DEVELOPER RESOURCES
Free OSHA Citation API + Embeddable Widget
Build on top of the OSHA Operator citation database. JSON, CORS-enabled, no API key required. Use it on your safety blog, EHS dashboard, or compliance app.
Citation API
Search OSHA forklift citations by company, state, industry, year, or violation type. JSON responses, 5-min cache, 60 req / 10 min per IP.
Endpoint
GET https://bnenbqrajpatumfjycle.supabase.co/functions/v1/citation-apiHTTPQuery parameters
| Param | Description |
|---|---|
| company | Partial company-name match |
| state | 2-letter state code (e.g. CA) |
| industry | Partial industry match (e.g. warehousing) |
| year | 4-digit year |
| type | Serious | Repeat | Willful | Other-than-Serious |
| limit | 1 to 100 (default 25) |
| offset | Pagination offset |
Example, fetch
const r = await fetch("https://bnenbqrajpatumfjycle.supabase.co/functions/v1/citation-api?state=CA&industry=warehousing&limit=10");
const data = await r.json();
console.log(data.results);jsExample, curl
curl "https://bnenbqrajpatumfjycle.supabase.co/functions/v1/citation-api?company=apex&year=2024" | jqbashResponse shape
{
"api": "OSHA Operator Citation API v1",
"total": 47,
"limit": 25,
"offset": 0,
"results": [
{
"id": "uuid",
"company_name": "Apex Logistics LLC",
"state": "CA",
"industry": "Warehousing & Storage",
"inspection_date": "2024-08-12",
"standard_cited": "1910.178(l)(1)",
"violation_type": "Serious",
"current_penalty": 12450,
"citation_summary": "..."
}
],
"attribution": "Data via OSHA Operator (oshaoperator.com)."
}jsonAttribution required (CC BY 4.0)
Free for any use including commercial. Please credit "OSHA Operator (oshaoperator.com)" with a link.
Embeddable Compliance Check Widget
Drop a free OSHA forklift compliance check onto your blog, intranet, or EHS portal. One line of HTML. Auto-responsive, no JavaScript required.
<iframe src="https://bnenbqrajpatumfjycle.supabase.co/functions/v1/compliance-widget" width="100%" height="440" frameborder="0" style="border:0;border-radius:12px;max-width:680px;" title="OSHA Forklift Compliance Check"></iframe>HTMLLive preview
Building something cool with our data?
Let us know, we'll feature it, link to it, and (for journalists) provide custom data pulls.
