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-api
    HTTP

    Query parameters

    ParamDescription
    companyPartial company-name match
    state2-letter state code (e.g. CA)
    industryPartial industry match (e.g. warehousing)
    year4-digit year
    typeSerious | Repeat | Willful | Other-than-Serious
    limit1 to 100 (default 25)
    offsetPagination 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);
    js

    Example, curl

    curl "https://bnenbqrajpatumfjycle.supabase.co/functions/v1/citation-api?company=apex&year=2024" | jq
    bash

    Response 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)."
    }
    json

    Attribution 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>
    HTML

    Live preview

    Building something cool with our data?

    Let us know, we'll feature it, link to it, and (for journalists) provide custom data pulls.