---
type: "firecrawl-provider"
description: "OSHA workplace-safety enforcement records from the U.S. Department of Labor's public bulk data: inspections of an establishment by name within a state (filterable by city, ZIP, NAICS, inspection type such as fatality/catastrophe or accident, open-date range and status), one inspection's identity, dates and violation totals, its citation items with standards cited and initial and current penalties, and the accident investigations OSHA linked to it with abstracts and injuries. Served from a Firecrawl-hosted index rebuilt daily from data.dol.gov; OSHA's IMIS site is never scraped."
use_when: "OSHA workplace-safety enforcement records from the U.S. Department of Labor's public bulk data: inspections of an establishment by name within a state (filterable by city, ZIP, NAICS, inspection type such as fatality/catastrophe or accident, open-date range and status), one inspection's identity, dates and violation totals, its citation items with standards cited and initial and current penalties, and the accident investigations OSHA linked to it with abstracts and injuries. Served from a Firecrawl-hosted index rebuilt daily from data.dol.gov; OSHA's IMIS site is never scraped."
categories: "Public records"
capabilities: 4
credits_per_call: 5
---
# OSHA enforcement data (U.S. Department of Labor) on Firecrawl Alexandria

OSHA workplace-safety enforcement records from the U.S. Department of Labor's public bulk data: inspections of an establishment by name within a state (filterable by city, ZIP, NAICS, inspection type such as fatality/catastrophe or accident, open-date range and status), one inspection's identity, dates and violation totals, its citation items with standards cited and initial and current penalties, and the accident investigations OSHA linked to it with abstracts and injuries. Served from a Firecrawl-hosted index rebuilt daily from data.dol.gov; OSHA's IMIS site is never scraped.

- Categories: Public records
- Category index: [Public records category](https://alexandria.firecrawl.dev/agents/categories/public-records)
- Provider key: `osha-gov`
- Access: Firecrawl credits
- Cost: 5 credits per call

## More

- [Human guide](https://www.firecrawl.dev/app/alexandria/osha-gov)
- [OpenAPI spec](https://alexandria.firecrawl.dev/agents/providers/osha-gov/openapi.json)

## Capabilities

- [Accidents](https://alexandria.firecrawl.dev/agents/providers/osha-gov/workplace-safety/accidents): Accident investigations OSHA linked to one inspection: event date, short description, keywords, fatality flag, the investigation abstract and each injured person's age, sex, degree of injury and DOL injury codes.
- [Citations](https://alexandria.firecrawl.dev/agents/providers/osha-gov/workplace-safety/citations): Citation items of one OSHA inspection: citation and item number, standard cited, type (serious, willful, repeat, other), issuance and abatement dates, initial and current penalty, contest and final order dates, instances and employees exposed, failure-to-abate detail and the penalty history events, plus totals. Deleted items are excluded unless include_deleted is true.
- [Establishment search](https://alexandria.firecrawl.dev/agents/providers/osha-gov/workplace-safety/establishment_search): Find OSHA inspections of an establishment by name within a state, newest first, optionally narrowed by city, ZIP, NAICS prefix, inspection type (for example fatality_catastrophe and accident for accident investigations), open-date range and open/closed status. Names match by word prefix after dropping punctuation and legal forms (Wal-Mart Stores Inc matches walmart and wal mart). Each result has the activity number, establishment address, NAICS/SIC, dates, inspection type and scope, and its IMIS link.
- [Inspection](https://alexandria.firecrawl.dev/agents/providers/osha-gov/workplace-safety/inspection): One OSHA inspection by activity number (or pasted IMIS inspection URL): establishment identity and addresses, NAICS/SIC, open, close-conference and close dates, open/closed status, inspection type and scope, ownership, related complaints, referrals and accidents, and a violation summary with counts by type and initial and current penalty totals.

## 1. Choose this provider when

OSHA workplace-safety enforcement records from the U.S. Department of Labor's public bulk data: inspections of an establishment by name within a state (filterable by city, ZIP, NAICS, inspection type such as fatality/catastrophe or accident, open-date range and status), one inspection's identity, dates and violation totals, its citation items with standards cited and initial and current penalties, and the accident investigations OSHA linked to it with abstracts and injuries. Served from a Firecrawl-hosted index rebuilt daily from data.dol.gov; OSHA's IMIS site is never scraped.

## 2. Minimal request

Call `POST https://api.firecrawl.dev/v2/scrape` with `{ alexandria: { provider, capability, options } }`. For a batch, send `{ alexandria: [...] }` with up to 10 calls.

```json
{
  "provider": "osha-gov",
  "capability": "workplace-safety/accidents",
  "options": {
    "activity_nr": "343778817"
  }
}
```

## 3. Add provider options

Use only the options needed for the task:

- `activity_nr` (string, required): OSHA activity number as DOL's bulk data stores it (347941171) or the inspection number an IMIS page shows (1794117.015 or 1794117). Pattern: ^[0-9]{1,12}(\.[0-9]{3})?$. Example: `<activity_nr>`

## 4. Request through your preferred interface

### JavaScript

```javascript
const result = await firecrawl.scrape({
  alexandria: {
    provider: "osha-gov",
    capability: "workplace-safety/accidents",
    options: {
      activity_nr: "343778817",
    },
  },
});
```

### Python

```python
result = firecrawl.scrape_alexandria({
  "provider": "osha-gov",
  "capability": "workplace-safety/accidents",
  "options": {
    "activity_nr": "343778817"
  }
})
```

### cURL

```sh
curl https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "alexandria": {
    "provider": "osha-gov",
    "capability": "workplace-safety/accidents",
    "options": {
      "activity_nr": "343778817"
    }
  }
}'
```

### CLI

```sh
firecrawl scrape 'osha-gov/workplace-safety/accidents' \
  --options '{"activity_nr":"343778817"}'
```


### MCP

Call the FCX MCP retrieve tool with this object:

```json
{
  "provider": "osha-gov",
  "capability": "workplace-safety/accidents",
  "options": {
    "activity_nr": "343778817"
  }
}
```

Ask for only the returned fields needed by the task.

## 5. Full request shape

```json
{
  "provider": "osha-gov",
  "capability": "workplace-safety/accidents",
  "options": {
    "activity_nr": "343778817"
  }
}
```

## 6. Response data

The response includes `success`, `provider`, `capability`, `creditsCost` and `data`. This example shows the provider payload in `data`:

```json
{
  "accidents": [
    {
      "abstract": "At 2:30 p.m. on January 31, 2019, an employee was loading the brass shells ontothe conveyor of the shredder machine and several became stuck under a roller.The employee reached in with his hand to remove them from the conveyor belt andhad his right arm pulled into the machine when caught by the conveyor belt.  Theemployee sustained a fracture to his right arm and was hospitalized.hospitalized.",
      "description": "Employee fractures arm when caught by shredder conveyor belt",
      "event_date": "2019-01-31",
      "fatality": false,
      "imis_url": "https://www.osha.gov/ords/imis/accidentsearch.accident_detail?id=221135536",
      "injuries": [
        {
          "age": "41",
          "degree": "Hospitalized",
          "environmental_factor_code": null,
          "event_type_code": "2",
          "fall_distance_ft": null,
          "fall_height_ft": null,
          "hazardous_substance": null,
          "human_factor_code": null,
          "injury_line_nr": "1",
          "nature_of_injury_code": null,
          "occupation_code": "779",
          "part_of_body_code": null,
          "sex": "M",
          "source_of_injury_code": null,
          "task_regularly_assigned": false
        }
      ],
      "keywords": [
        "Arm",
        "Caught By",
        "Conveyor Belt",
        "Fracture"
      ],
      "report_id": "0626700",
      "summary_nr": "221135536"
    }
  ],
  "activity_nr": "343778817",
  "attribution": "Source: U.S. Department of Labor, OSHA",
  "establishment_name": "C&Y GLOBAL INC.",
  "imis_inspection_nr": "1377881",
  "imis_url": "https://www.osha.gov/ords/imis/establishment.inspection_detail?id=1377881.015",
  "index": {
    "age_hours": 2,
    "built_at": "2026-10-26T12:30:00Z",
    "contract": "osha-index/v1",
    "source_last_modified": "2026-10-26T11:00:59Z",
    "stale": false,
    "vintage": "2026-10-26"
  },
  "notice": "U.S. Department of Labor public enforcement data (public domain), rebuilt daily from data.dol.gov bulk files; not an official DOL or OSHA service and implies no endorsement.",
  "observed_at_ms": 1793059292642,
  "schema_version": "1.0.0",
  "source_urls": [
    "https://data.dol.gov/data-catalog/OSHA/accident/OSHA_accident.zip",
    "https://data.dol.gov/data-catalog/OSHA/accident_injury/OSHA_accident_injury.zip",
    "https://data.dol.gov/data-catalog/OSHA/accident_abstract/OSHA_accident_abstract.zip"
  ],
  "total_count": 1,
  "upstream_requests": 7,
  "warnings": []
}
```

## API reference-derived contract

The following capability contract is generated from the same normalized Alexandria API reference exposed in the API spec.

### Accidents

- Capability: `workplace-safety/accidents`
- Description: Accident investigations OSHA linked to one inspection: event date, short description, keywords, fatality flag, the investigation abstract and each injured person's age, sex, degree of injury and DOL injury codes.
- Instructions: Fatality and injury history behind an inspection, typically an Accident or Fatality/catastrophe type.
- Cost: 5 credits per call
- Capability file: [Accidents](https://alexandria.firecrawl.dev/agents/providers/osha-gov/workplace-safety/accidents)

Accepted options:
- `activity_nr` (string, required): OSHA activity number as DOL's bulk data stores it (347941171) or the inspection number an IMIS page shows (1794117.015 or 1794117). Pattern: ^[0-9]{1,12}(\.[0-9]{3})?$. Example: `<activity_nr>`

Response schema example:
```json
{
  "accidents": [
    {
      "abstract": "At 2:30 p.m. on January 31, 2019, an employee was loading the brass shells ontothe conveyor of the shredder machine and several became stuck under a roller.The employee reached in with his hand to remove them from the conveyor belt andhad his right arm pulled into the machine when caught by the conveyor belt.  Theemployee sustained a fracture to his right arm and was hospitalized.hospitalized.",
      "description": "Employee fractures arm when caught by shredder conveyor belt",
      "event_date": "2019-01-31",
      "fatality": false,
      "imis_url": "https://www.osha.gov/ords/imis/accidentsearch.accident_detail?id=221135536",
      "injuries": [
        {
          "age": "41",
          "degree": "Hospitalized",
          "environmental_factor_code": null,
          "event_type_code": "2",
          "fall_distance_ft": null,
          "fall_height_ft": null,
          "hazardous_substance": null,
          "human_factor_code": null,
          "injury_line_nr": "1",
          "nature_of_injury_code": null,
          "occupation_code": "779",
          "part_of_body_code": null,
          "sex": "M",
          "source_of_injury_code": null,
          "task_regularly_assigned": false
        }
      ],
      "keywords": [
        "Arm",
        "Caught By",
        "Conveyor Belt",
        "Fracture"
      ],
      "report_id": "0626700",
      "summary_nr": "221135536"
    }
  ],
  "activity_nr": "343778817",
  "attribution": "Source: U.S. Department of Labor, OSHA",
  "establishment_name": "C&Y GLOBAL INC.",
  "imis_inspection_nr": "1377881",
  "imis_url": "https://www.osha.gov/ords/imis/establishment.inspection_detail?id=1377881.015",
  "index": {
    "age_hours": 2,
    "built_at": "2026-10-26T12:30:00Z",
    "contract": "osha-index/v1",
    "source_last_modified": "2026-10-26T11:00:59Z",
    "stale": false,
    "vintage": "2026-10-26"
  },
  "notice": "U.S. Department of Labor public enforcement data (public domain), rebuilt daily from data.dol.gov bulk files; not an official DOL or OSHA service and implies no endorsement.",
  "observed_at_ms": 1793059292642,
  "schema_version": "1.0.0",
  "source_urls": [
    "https://data.dol.gov/data-catalog/OSHA/accident/OSHA_accident.zip",
    "https://data.dol.gov/data-catalog/OSHA/accident_injury/OSHA_accident_injury.zip",
    "https://data.dol.gov/data-catalog/OSHA/accident_abstract/OSHA_accident_abstract.zip"
  ],
  "total_count": 1,
  "upstream_requests": 7,
  "warnings": []
}
```

### Citations

- Capability: `workplace-safety/citations`
- Description: Citation items of one OSHA inspection: citation and item number, standard cited, type (serious, willful, repeat, other), issuance and abatement dates, initial and current penalty, contest and final order dates, instances and employees exposed, failure-to-abate detail and the penalty history events, plus totals. Deleted items are excluded unless include_deleted is true.
- Instructions: Penalty and violation history for an activity number from establishment_search or inspection.
- Cost: 5 credits per call
- Capability file: [Citations](https://alexandria.firecrawl.dev/agents/providers/osha-gov/workplace-safety/citations)

Accepted options:
- `activity_nr` (string, required): OSHA activity number as DOL's bulk data stores it (347941171) or the inspection number an IMIS page shows (1794117.015 or 1794117). Pattern: ^[0-9]{1,12}(\.[0-9]{3})?$. Example: `<activity_nr>`
- `include_deleted` (boolean): Also list items DOL flags as deleted. Default false. Example: `false`

Response schema example:
```json
{
  "activity_nr": "347941171",
  "attribution": "Source: U.S. Department of Labor, OSHA",
  "citations": [
    {
      "abatement_complete": "3",
      "abatement_due_date": null,
      "citation_id": "01001",
      "citation_number": "01",
      "citation_type": "S",
      "citation_type_label": "Serious",
      "contest_date": null,
      "current_penalty": "4000.00",
      "deleted": false,
      "emphasis": null,
      "employees_exposed": "2",
      "failure_to_abate": {
        "contest_date": null,
        "final_order_date": null,
        "inspection_nr": null,
        "issuance_date": null,
        "penalty": "0.00"
      },
      "final_order_date": "2025-05-21",
      "gravity": "5",
      "group": null,
      "hazard_category": null,
      "hazardous_substances": [],
      "history": [
        {
          "abatement_date": null,
          "date": "2025-04-22",
          "event": "Z",
          "fta_inspection_nr": null,
          "kind": "penalty",
          "penalty": "8276",
          "violation_type": "S"
        },
        {
          "abatement_date": null,
          "date": "2025-05-21",
          "event": "I",
          "fta_inspection_nr": null,
          "kind": "penalty",
          "penalty": "4000",
          "violation_type": "S"
        }
      ],
      "initial_penalty": "8276.00",
      "instances": "1",
      "issuance_date": "2025-04-22",
      "item": "001",
      "latest_event": {
        "abatement_date": null,
        "date": "2025-05-21",
        "event": "I",
        "fta_inspection_nr": null,
        "kind": "penalty",
        "penalty": "4000",
        "violation_type": "S"
      },
      "raw": {
        "abate_complete": "3",
        "abate_date": null,
        "activity_nr": "347941171",
        "citation_id": "01001",
        "contest_date": null,
        "current_penalty": "4000.00",
        "delete_flag": null,
        "emphasis": null,
        "final_order_date": "2025-05-21",
        "fta_contest_date": null,
        "fta_final_order_date": null,
        "fta_insp_nr": null,
        "fta_issuance_date": null,
        "fta_penalty": "0.00",
        "gravity": "5",
        "hazcat": null,
        "hazsub1": null,
        "hazsub2": null,
        "hazsub3": null,
        "hazsub4": null,
        "hazsub5": null,
        "initial_penalty": "8276.00",
        "issuance_date": "2025-04-22",
        "load_dt": "2026-10-26",
        "nr_exposed": "2",
        "nr_instances": "1",
        "rec": null,
        "standard": "19260651 J02",
        "viol_type": "S"
      },
      "related_event_code": null,
      "standard_cited": "19260651 J02"
    },
    {
      "abatement_complete": "3",
      "abatement_due_date": null,
      "citation_id": "01002",
      "citation_number": "01",
      "citation_type": "S",
      "citation_type_label": "Serious",
      "contest_date": null,
      "current_penalty": "4000.00",
      "deleted": false,
      "emphasis": null,
      "employees_exposed": "2",
      "failure_to_abate": {
        "contest_date": null,
        "final_order_date": null,
        "inspection_nr": null,
        "issuance_date": null,
        "penalty": "0.00"
      },
      "final_order_date": "2025-05-21",
      "gravity": "5",
      "group": null,
      "hazard_category": null,
      "hazardous_substances": [],
      "history": [
        {
          "abatement_date": null,
          "date": "2025-04-22",
          "event": "Z",
          "fta_inspection_nr": null,
          "kind": "penalty",
          "penalty": "8276",
          "violation_type": "S"
        },
        {
          "abatement_date": null,
          "date": "2025-05-21",
          "event": "I",
          "fta_inspection_nr": null,
          "kind": "penalty",
          "penalty": "4000",
          "violation_type": "S"
        }
      ],
      "initial_penalty": "8276.00",
      "instances": "1",
      "issuance_date": "2025-04-22",
      "item": "002",
      "latest_event": {
        "abatement_date": null,
        "date": "2025-05-21",
        "event": "I",
        "fta_inspection_nr": null,
        "kind": "penalty",
        "penalty": "4000",
        "violation_type": "S"
      },
      "raw": {
        "abate_complete": "3",
        "abate_date": null,
        "activity_nr": "347941171",
        "citation_id": "01002",
        "contest_date": null,
        "current_penalty": "4000.00",
        "delete_flag": null,
        "emphasis": null,
        "final_order_date": "2025-05-21",
        "fta_contest_date": null,
        "fta_final_order_date": null,
        "fta_insp_nr": null,
        "fta_issuance_date": null,
        "fta_penalty": "0.00",
        "gravity": "5",
        "hazcat": null,
        "hazsub1": null,
        "hazsub2": null,
        "hazsub3": null,
        "hazsub4": null,
        "hazsub5": null,
        "initial_penalty": "8276.00",
        "issuance_date": "2025-04-22",
        "load_dt": "2026-10-26",
        "nr_exposed": "2",
        "nr_instances": "1",
        "rec": null,
        "standard": "19260652 A01",
        "viol_type": "S"
      },
      "related_event_code": null,
      "standard_cited": "19260652 A01"
    },
    {
      "abatement_complete": "3",
      "abatement_due_date": null,
      "citation_id": "01003",
      "citation_number": "01",
      "citation_type": "S",
      "citation_type_label": "Serious",
      "contest_date": null,
      "current_penalty": "3500.00",
      "deleted": false,
      "emphasis": null,
      "employees_exposed": "2",
      "failure_to_abate": {
        "contest_date": null,
        "final_order_date": null,
        "inspection_nr": null,
        "issuance_date": null,
        "penalty": "0.00"
      },
      "final_order_date": "2025-05-21",
      "gravity": "5",
      "group": null,
      "hazard_category": null,
      "hazardous_substances": [],
      "history": [
        {
          "abatement_date": null,
          "date": "2025-04-22",
          "event": "Z",
          "fta_inspection_nr": null,
          "kind": "penalty",
          "penalty": "6620",
          "violation_type": "S"
        },
        {
          "abatement_date": null,
          "date": "2025-05-21",
          "event": "I",
          "fta_inspection_nr": null,
          "kind": "penalty",
          "penalty": "3500",
          "violation_type": "S"
        }
      ],
      "initial_penalty": "6620.00",
      "instances": "1",
      "issuance_date": "2025-04-22",
      "item": "003",
      "latest_event": {
        "abatement_date": null,
        "date": "2025-05-21",
        "event": "I",
        "fta_inspection_nr": null,
        "kind": "penalty",
        "penalty": "3500",
        "violation_type": "S"
      },
      "raw": {
        "abate_complete": "3",
        "abate_date": null,
        "activity_nr": "347941171",
        "citation_id": "01003",
        "contest_date": null,
        "current_penalty": "3500.00",
        "delete_flag": null,
        "emphasis": null,
        "final_order_date": "2025-05-21",
        "fta_contest_date": null,
        "fta_final_order_date": null,
        "fta_insp_nr": null,
        "fta_issuance_date": null,
        "fta_penalty": "0.00",
        "gravity": "5",
        "hazcat": null,
        "hazsub1": null,
        "hazsub2": null,
        "hazsub3": null,
        "hazsub4": null,
        "hazsub5": null,
        "initial_penalty": "6620.00",
        "issuance_date": "2025-04-22",
        "load_dt": "2026-10-26",
        "nr_exposed": "2",
        "nr_instances": "1",
        "rec": null,
        "standard": "19261053 B01",
        "viol_type": "S"
      },
      "related_event_code": null,
      "standard_cited": "19261053 B01"
    }
  ],
  "deleted_items": 0,
  "establishment_name": "ZACCA CONSTRUCTION, LLC",
  "imis_inspection_nr": "1794117",
  "imis_url": "https://www.osha.gov/ords/imis/establishment.inspection_detail?id=1794117.015",
  "include_deleted": false,
  "index": {
    "age_hours": 2,
    "built_at": "2026-10-26T12:30:00Z",
    "contract": "osha-index/v1",
    "source_last_modified": "2026-10-26T11:00:59Z",
    "stale": false,
    "vintage": "2026-10-26"
  },
  "notice": "U.S. Department of Labor public enforcement data (public domain), rebuilt daily from data.dol.gov bulk files; not an official DOL or OSHA service and implies no endorsement.",
  "observed_at_ms": 1793059292641,
  "schema_version": "1.0.0",
  "source_urls": [
    "https://data.dol.gov/data-catalog/OSHA/violation/OSHA_violation.zip",
    "https://data.dol.gov/data-catalog/OSHA/violation_event/OSHA_violation_event.zip"
  ],
  "summary": {
    "by_type": {
      "other": 0,
      "repeat": 0,
      "serious": 3,
      "unclassified": 0,
      "willful": 0
    },
    "citation_items": 3,
    "currency": "USD",
    "current_penalty_total": "11500.00",
    "initial_penalty_total": "23172.00"
  },
  "upstream_requests": 8,
  "warnings": []
}
```

### Establishment search

- Capability: `workplace-safety/establishment_search`
- Description: Find OSHA inspections of an establishment by name within a state, newest first, optionally narrowed by city, ZIP, NAICS prefix, inspection type (for example fatality_catastrophe and accident for accident investigations), open-date range and open/closed status. Names match by word prefix after dropping punctuation and legal forms (Wal-Mart Stores Inc matches walmart and wal mart). Each result has the activity number, establishment address, NAICS/SIC, dates, inspection type and scope, and its IMIS link.
- Instructions: Safety record of a plant, company or supplier: list its OSHA inspections in each state it operates in, then read citations and penalties per activity number with citations, and accident investigations with accidents. Filter inspection_types to fatality_catastrophe and accident to find fatality and injury investigations.
- Cost: 5 credits per call
- Capability file: [Establishment search](https://alexandria.firecrawl.dev/agents/providers/osha-gov/workplace-safety/establishment_search)

Accepted options:
- `city` (string): Site city, matched exactly ignoring case. Example: `<city>`
- `cursor` (string): next_cursor from a previous page. Pattern: ^o[0-9]{1,6}$. Example: `<cursor>`
- `inspection_types` (string[]): Keep only inspections of these DOL types (insp_type A to N). fatality_catastrophe (M) and accident (A) are the accident investigations; complaint (B) and referral (C) are unprogrammed; planned (H) is programmed. Default all types. Example: `[]`
- `naics` (string): NAICS code or prefix. Pattern: ^[0-9]{2,6}$. Example: `<naics>`
- `name` (string, required): Establishment name or a distinctive part of it. Example: `<name>`
- `opened_from` (string): Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. Example: `<opened_from>`
- `opened_to` (string): Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. Example: `<opened_to>`
- `page_size` (number): Default 25. Example: `10`
- `state` (string, required): Two-letter postal code of the inspected site (TX, CA, PR, ...). Pattern: ^[A-Za-z]{2}$. Example: `<state>`
- `status` (string): status Example: `open`
- `zip` (string): Pattern: ^[0-9]{5}$. Example: `<zip>`

Response schema example:
```json
{
  "attribution": "Source: U.S. Department of Labor, OSHA",
  "complete": true,
  "index": {
    "age_hours": 2,
    "built_at": "2026-10-26T12:30:00Z",
    "contract": "osha-index/v1",
    "source_last_modified": "2026-10-26T11:00:59Z",
    "stale": false,
    "vintage": "2026-10-26"
  },
  "matched_on": "CONSTRUCTION",
  "next_cursor": null,
  "notice": "U.S. Department of Labor public enforcement data (public domain), rebuilt daily from data.dol.gov bulk files; not an official DOL or OSHA service and implies no endorsement.",
  "observed_at_ms": 1793059292639,
  "query": {
    "city": null,
    "naics": null,
    "name": "Zacca Construction",
    "opened_from": null,
    "opened_to": null,
    "state": "TX",
    "status": null,
    "terms": [
      "ZACCA",
      "CONSTRUCTION"
    ],
    "zip": null
  },
  "results": [
    {
      "activity_nr": "347941171",
      "case_close_date": null,
      "case_open_date": "2024-12-17",
      "establishment": {
        "address": {
          "city": "SAN ANTONIO",
          "state": "TX",
          "street": "WONDERLAND PLACE & 211 HWY",
          "zip": "78253"
        },
        "name": "ZACCA CONSTRUCTION, LLC"
      },
      "imis_inspection_nr": "1794117",
      "imis_url": "https://www.osha.gov/ords/imis/establishment.inspection_detail?id=1794117.015",
      "inspection_type": "H",
      "inspection_type_label": "Planned",
      "naics": "237110",
      "ownership": "Private",
      "safety_health": "Safety",
      "scope": "B",
      "scope_label": "Partial",
      "sic": null,
      "status": "open"
    },
    {
      "activity_nr": "345449284",
      "case_close_date": "2022-01-13",
      "case_open_date": "2021-07-28",
      "establishment": {
        "address": {
          "city": "SAN ANTONIO",
          "state": "TX",
          "street": "STOLTE RANCH, UNIT 1B",
          "zip": "78245"
        },
        "name": "ZACCA CONSTRUCTION, LLC"
      },
      "imis_inspection_nr": "1544928",
      "imis_url": "https://www.osha.gov/ords/imis/establishment.inspection_detail?id=1544928.015",
      "inspection_type": "H",
      "inspection_type_label": "Planned",
      "naics": "237110",
      "ownership": "Private",
      "safety_health": "Safety",
      "scope": "B",
      "scope_label": "Partial",
      "sic": null,
      "status": "closed"
    },
    {
      "activity_nr": "345161343",
      "case_close_date": "2021-10-14",
      "case_open_date": "2021-02-24",
      "establishment": {
        "address": {
          "city": "SAN ANTONIO",
          "state": "TX",
          "street": "300 BLOCK OF HORAL DRIVE & GARDEN BROOK DRIVE CARDINAL RIDGE SUBDIVISION",
          "zip": "78245"
        },
        "name": "ZACCA CONSTRUCTION, LLC"
      },
      "imis_inspection_nr": "1516134",
      "imis_url": "https://www.osha.gov/ords/imis/establishment.inspection_detail?id=1516134.015",
      "inspection_type": "H",
      "inspection_type_label": "Planned",
      "naics": "237110",
      "ownership": "Private",
      "safety_health": "Safety",
      "scope": "B",
      "scope_label": "Partial",
      "sic": null,
      "status": "closed"
    },
    {
      "activity_nr": "343780805",
      "case_close_date": "2019-04-18",
      "case_open_date": "2019-02-12",
      "establishment": {
        "address": {
          "city": "SAN ANTONIO",
          "state": "TX",
          "street": "ROSILLO CREEK SUBDIVISION LOT 40",
          "zip": "78220"
        },
        "name": "ZACCA CONSTRUCTION,LLC"
      },
      "imis_inspection_nr": "1378080",
      "imis_url": "https://www.osha.gov/ords/imis/establishment.inspection_detail?id=1378080.015",
      "inspection_type": "H",
      "inspection_type_label": "Planned",
      "naics": "237110",
      "ownership": "Private",
      "safety_health": "Safety",
      "scope": "B",
      "scope_label": "Partial",
      "sic": null,
      "status": "closed"
    }
  ],
  "schema_version": "1.0.0",
  "source_urls": [
    "https://data.dol.gov/data-catalog/OSHA/inspection/OSHA_inspection.zip"
  ],
  "total_count": 4,
  "upstream_requests": 4,
  "warnings": []
}
```

### Inspection

- Capability: `workplace-safety/inspection`
- Description: One OSHA inspection by activity number (or pasted IMIS inspection URL): establishment identity and addresses, NAICS/SIC, open, close-conference and close dates, open/closed status, inspection type and scope, ownership, related complaints, referrals and accidents, and a violation summary with counts by type and initial and current penalty totals.
- Instructions: A known activity number or IMIS link; then citations for item-level detail and accidents for linked investigations.
- Cost: 5 credits per call
- Capability file: [Inspection](https://alexandria.firecrawl.dev/agents/providers/osha-gov/workplace-safety/inspection)

Accepted options:
- `activity_nr` (string): OSHA activity number as DOL's bulk data stores it (347941171) or the inspection number an IMIS page shows (1794117.015 or 1794117). Pattern: ^[0-9]{1,12}(\.[0-9]{3})?$. Example: `<activity_nr>`
- `url` (string): An IMIS inspection detail URL; only its id is read. Pass this or activity_nr. Pattern: ^https?://(www\.)?osha\.gov/(ords|pls)/imis/establishment\.inspection_detail\?id=[0-9]{1,12}(\.[0-9]{3})?$. Example: `<url>`

Response schema example:
```json
{
  "attribution": "Source: U.S. Department of Labor, OSHA",
  "index": {
    "age_hours": 2,
    "built_at": "2026-10-26T12:30:00Z",
    "contract": "osha-index/v1",
    "source_last_modified": "2026-10-26T11:00:59Z",
    "stale": false,
    "vintage": "2026-10-26"
  },
  "inspection": {
    "activity_nr": "347941171",
    "advance_notice": "N",
    "case_close_date": null,
    "case_modified_date": "2026-10-25",
    "case_open_date": "2024-12-17",
    "close_conference_date": "2024-12-17",
    "establishment": {
      "address": {
        "city": "SAN ANTONIO",
        "state": "TX",
        "street": "WONDERLAND PLACE & 211 HWY",
        "zip": "78253"
      },
      "employees": "7",
      "host_establishment_key": "HOST_EST_KEY_VALUE",
      "mailing_address": {
        "city": "SAN ANTONIO",
        "state": "TX",
        "street": "406 NW 39TH STREET",
        "zip": "78237"
      },
      "name": "ZACCA CONSTRUCTION, LLC"
    },
    "imis_inspection_nr": "1794117",
    "imis_url": "https://www.osha.gov/ords/imis/establishment.inspection_detail?id=1794117.015",
    "inspection_type": "H",
    "inspection_type_label": "Planned",
    "naics": "237110",
    "owner_code": null,
    "ownership": "Private",
    "raw": {
      "activity_nr": "347941171",
      "adv_notice": "N",
      "case_mod_date": "2026-10-25",
      "close_case_date": null,
      "close_conf_date": "2024-12-17",
      "estab_name": "ZACCA CONSTRUCTION, LLC",
      "health_const": null,
      "health_manuf": null,
      "health_marit": null,
      "host_est_key": "HOST_EST_KEY_VALUE",
      "insp_scope": "B",
      "insp_type": "H",
      "load_dt": "2026-10-26",
      "mail_city": "SAN ANTONIO",
      "mail_state": "TX",
      "mail_street": "406 NW 39TH STREET",
      "mail_zip": "78237",
      "migrant": null,
      "naics_code": "237110",
      "nr_in_estab": "7",
      "open_date": "2024-12-17",
      "owner_code": null,
      "owner_type": "A",
      "reporting_id": "0625500",
      "safety_const": null,
      "safety_hlth": "S",
      "safety_manuf": null,
      "safety_marit": null,
      "sic_code": null,
      "site_address": "WONDERLAND PLACE & 211 HWY",
      "site_city": "SAN ANTONIO",
      "site_state": "TX",
      "site_zip": "78253",
      "state_flag": null,
      "union_status": "B",
      "why_no_insp": "I"
    },
    "reporting_id": "0625500",
    "safety_health": "Safety",
    "scope": "B",
    "scope_label": "Partial",
    "sic": null,
    "status": "open",
    "union_status": "B",
    "why_no_inspection": "Other"
  },
  "notice": "U.S. Department of Labor public enforcement data (public domain), rebuilt daily from data.dol.gov bulk files; not an official DOL or OSHA service and implies no endorsement.",
  "observed_at_ms": 1793059292640,
  "related_activity": [],
  "schema_version": "1.0.0",
  "source_urls": [
    "https://data.dol.gov/data-catalog/OSHA/inspection/OSHA_inspection.zip",
    "https://data.dol.gov/data-catalog/OSHA/violation/OSHA_violation.zip",
    "https://data.dol.gov/data-catalog/OSHA/related_activity/OSHA_related_activity.zip"
  ],
  "upstream_requests": 7,
  "violation_summary": {
    "by_type": {
      "other": 0,
      "repeat": 0,
      "serious": 3,
      "unclassified": 0,
      "willful": 0
    },
    "citation_items": 3,
    "currency": "USD",
    "current_penalty_total": "11500.00",
    "initial_penalty_total": "23172.00"
  },
  "warnings": []
}
```
