Returns the OSHA inspections, violations and penalties on file for an employer in a sta…
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,…
by api.flipvo.com · discovered, not yet claimed by its owner · updated 2026-10-08
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: compliance · osha · workplace-safety · employer · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-08
{
"city": "Lubbock",
"employer": "Acme Warehousing",
"state": "TX"
}{
"coverage": "OSHA inspections only, from the Department of Labor's bulk inspection and violation files: a site with no inspection in these files has no row here, and an empty result says nothing else about the employer. States that run their own state plan may be partly absent. Withdrawn citations are left out of every list and total. Employer names are matched, not verified: confirm a site before acting on it. Penalties are the current amounts OSHA lists. Not endorsed or certified by the U.S. Department of Labor.",
"data_as_of": {
"inspections": "2026-10-01T11:04:25Z",
"violations": "2026-10-01T11:11:27Z"
},
"establishments": [
{
"city": "Lubbock",
"inspections": [
{
"activity_nr": 1002,
"closed": "2024-08-30",
"opened": "2024-03-11",
"scope": "B",
"type": "B",
"violations": [
{
"abated": "2024-06-24",
"citation_id": "01001",
"contested": null,
"current_penalty": "4500.00",
"exposed": 3,
"final_order": null,
"gravity": "10",
"initial_penalty": "5000.00",
"instances": 1,
"issued": "2024-05-20",
"standard": "19100178 L01",
"type": "S"
}
]
}
],
"inspections_truncated": false,
"match_score": 100,
"names": [
"ACME WAREHOUSING INC"
],
"rollup": {
"inspections": 1,
"last_inspection": "2024-03-11",
"other": 0,
"repeat": 0,
"serious": 1,
"total_current_penalty": "4500.00",
"violations": 1,
"willful": 0
},
"state": "TX",
"zip": "79404"
}
],
"rollup": {
"inspections": 1,
"last_inspection": "2024-03-11",
"other": 0,
"repeat": 0,
"serious": 1,
"total_current_penalty": "4500.00",
"violations": 1,
"willful": 0
},
"source": "US Department of Labor OSHA inspection and violation data (https://enforcedata.dol.gov)",
"total_establishments": 1,
"truncated": false
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/36149.jsonfor the price and payment options. - Pay. Call
GET https://api.flipvo.com/v1/osha/history. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.02 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 2 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.02 | 0x849610c11c1e9b309235932faab6368cee7f7c57 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x849610c11c1e9b309235932faab6368cee7f7c57",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"amountUsd": 0.02,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"coverage": {
"title": "Coverage",
"type": "string"
},
"data_as_of": {
"additionalProperties": {
"type": "string"
},
"title": "Data As Of",
"type": "object"
},
"establishments": {
"items": {
"properties": {
"city": {
"title": "City",
"type": "string"
},
"inspections": {
"items": {
"properties": {
"activity_nr": {
"title": "Activity Nr",
"type": "integer"
},
"closed": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Closed"
},
"opened": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Opened"
},
"scope": {
"description": "OSHA's inspection scope letter, as OSHA lists it.",
"title": "Scope",
"type": "string"
},
"type": {
"description": "OSHA's inspection type letter, as OSHA lists it.",
"title": "Type",
"type": "string"
},
"violations": {
"items": {
"properties": {
"abated": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Abated"
},
"citation_id": {
"title": "Citation Id",
"type": "string"
},
"contested": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Contested"
},
"current_penalty": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Current Penalty"
},
"exposed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Exposed"
},
"final_order": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Final Order"
},
"gravity": {
"title": "Gravity",
"type": "string"
},
"initial_penalty": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Initial Penalty"
},
"instances": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Instances"
},
"issued": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Issued"
},
"standard": {
"title": "Standard",
"type": "string"
},
"type": {
"description": "OSHA's violation type letter: S, W, R, O or U.",
"title": "Type",
"type": "string"
}
},
"required": [
"citation_id",
"standard",
"type",
"issued",
"current_penalty",
"initial_penalty",
"abated",
"contested",
"final_order",
"instances",
"exposed",
"gravity"
],
"title": "OshaViolation",
"type": "object"
},
"title": "Violations",
"type": "array"
}
},
"required": [
"activity_nr",
"opened",
"type",
"scope",
"closed",
"violations"
],
"title": "OshaInspection",
"type": "object"
},
"title": "Inspections",
"type": "array"
},
"inspections_truncated": {
"title": "Inspections Truncated",
"type": "boolean"
},
"match_score": {
"title": "Match Score",
"type": "integer"
},
"names": {
"description": "Each spelling OSHA used at this site.",
"items": {
"type": "string"
},
"title": "Names",
"type": "array"
},
"rollup": {
"properties": {
"inspections": {
"title": "Inspections",
"type": "integer"
},
"last_inspection": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Last Inspection"
},
"other": {
"title": "Other",
"type": "integer"
},
"repeat": {
"title": "Repeat",
"type": "integer"
},
"serious": {
"title": "Serious",
"type": "integer"
},
"total_current_penalty": {
"description": "Decimal string; a null penalty counts as 0.",
"title": "Total Current Penalty",
"type": "string"
},
"violations": {
"title": "Violations",
"type": "integer"
},
"willful": {
"title": "Willful",
"type": "integer"
}
},
"required": [
"inspections",
"violations",
"total_current_penalty",
"serious",
"willful",
"repeat",
"other",
"last_inspection"
],
"title": "OshaRollup",
"type": "object"
},
"state": {
"title": "State",
"type": "string"
},
"zip": {
"title": "Zip",
"type": "string"
}
},
"required": [
"names",
"city",
"state",
"zip",
"match_score",
"rollup",
"inspections",
"inspections_truncated"
],
"title": "OshaEstablishment",
"type": "object"
},
"title": "Establishments",
"type": "array"
},
"rollup": {
"properties": {
"inspections": {
"title": "Inspections",
"type": "integer"
},
"last_inspection": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"title": "Last Inspection"
},
"other": {
"title": "Other",
"type": "integer"
},
"repeat": {
"title": "Repeat",
"type": "integer"
},
"serious": {
"title": "Serious",
"type": "integer"
},
"total_current_penalty": {
"description": "Decimal string; a null penalty counts as 0.",
"title": "Total Current Penalty",
"type": "string"
},
"violations": {
"title": "Violations",
"type": "integer"
},
"willful": {
"title": "Willful",
"type": "integer"
}
},
"required": [
"inspections",
"violations",
"total_current_penalty",
"serious",
"willful",
"repeat",
"other",
"last_inspection"
],
"title": "OshaRollup",
"type": "object"
},
"source": {
"title": "Source",
"type": "string"
},
"total_establishments": {
"title": "Total Establishments",
"type": "integer"
},
"truncated": {
"title": "Truncated",
"type": "boolean"
}
},
"required": [
"establishments",
"total_establishments",
"truncated",
"rollup",
"data_as_of",
"coverage",
"source"
],
"title": "OshaHistoryResponse",
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"coverage": "string",
"data_as_of": {},
"establishments": [
{
"city": "string",
"inspections": [
{
"activity_nr": 0,
"closed": null,
"opened": null,
"scope": "string",
"type": "string",
"violations": [
"value"
]
}
],
"inspections_truncated": true,
"match_score": 0,
"names": [
"string"
],
"rollup": {
"inspections": 0,
"last_inspection": null,
"other": 0,
"repeat": 0,
"serious": 0,
"total_current_penalty": "string",
"violations": 0,
"willful": 0
},
"state": "string",
"zip": "string"
}
],
"rollup": {
"inspections": 0,
"last_inspection": null,
"other": 0,
"repeat": 0,
"serious": 0,
"total_current_penalty": "string",
"violations": 0,
"willful": 0
},
"source": "string",
"total_establishments": 0,
"truncated": true
},
"type": "string"
}Examples
curl "https://api.flipvo.com/v1/osha/history"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.flipvo.com/v1/osha/history");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.flipvo.com/v1/osha/history")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.flipvo.com
- Endpoint
- https://api.flipvo.com/v1/osha/history
- Machine-readable
/resources/36149.json