osha_history
$0.02 per call. Pay with x402 (USDC on Base) in _meta["x402/payment"]; MPP (tempo) on the HTTP URL /v1/osha/history. Returns the OSHA inspections, violations and penalties on file for an employer in a state (optional city and zip), matched by name in the US Department of Labor's inspection and violation files, as establishments with a penalty roll-up; OSHA inspections only, so an employer with none has no record and an empty result is a paid 200; it is not a determination about the employer and is not endorsed or certified by the U.S. Department of Labor.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"employer": "<employer>",
"state": "<state>"
},
"name": "osha_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | Five-digit inspection site ZIP. A hard filter. | |
| city | No | Inspection site city, case-insensitive. A hard filter. | |
| limit | No | Establishments returned, 1-25. | |
| state | Yes | US state or territory code. A hard filter on the inspection site. | |
| employer | Yes | Employer name, with at least one word that is not a generic trade word. | |
| min_score | No | Name score floor, 70-100. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rollup | Yes | Over the establishments listed. | |
| source | Yes | ||
| coverage | Yes | ||
| truncated | Yes | ||
| data_as_of | Yes | ||
| establishments | Yes | ||
| total_establishments | Yes |