{
  "x402Version": 2,
  "id": 8434,
  "slug": "8434",
  "resource": "https://osha-search.46-224-157-88.sslip.io/v1/search",
  "description": "Look up U.S. OSHA workplace inspections by establishment or company name. Use establishment, state, start_date, end_date, violations_only, and limit. Receive up to 20 JSON records with activity_id, date_opened, report_id, state, inspection_type, scope, SIC, NAICS, violation_count, establishment_name, and official_url.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x276efA09388fB1578A6c415B8F90D26fdfCe0CF2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "establishment": "Amazon",
            "limit": 10,
            "state": "WA",
            "violations_only": true
          },
          "type": "http"
        },
        "output": {
          "example": {
            "result_count": 1,
            "results": [
              {
                "activity_id": "1885682.015",
                "date_opened": "2026-04-03",
                "inspection_type": "Referral",
                "naics": "454111",
                "state": "WA"
              }
            ],
            "source": "OSHA",
            "source_hit_count": 12
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "description": "Validated parameters for both payment routes.",
                "properties": {
                  "end_date": {
                    "anyOf": [
                      {
                        "format": "date",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "End Date"
                  },
                  "establishment": {
                    "maxLength": 60,
                    "minLength": 2,
                    "title": "Establishment",
                    "type": "string"
                  },
                  "limit": {
                    "default": 20,
                    "maximum": 20,
                    "minimum": 1,
                    "title": "Limit",
                    "type": "integer"
                  },
                  "start_date": {
                    "anyOf": [
                      {
                        "format": "date",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "title": "Start Date"
                  },
                  "state": {
                    "default": "all",
                    "pattern": "^(all|[A-Za-z]{2})$",
                    "title": "State",
                    "type": "string"
                  },
                  "violations_only": {
                    "default": false,
                    "title": "Violations Only",
                    "type": "boolean"
                  }
                },
                "required": [
                  "establishment"
                ],
                "title": "SearchParams",
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "end_date": {
                    "format": "date",
                    "title": "End Date",
                    "type": "string"
                  },
                  "establishment": {
                    "title": "Establishment",
                    "type": "string"
                  },
                  "result_count": {
                    "title": "Result Count",
                    "type": "integer"
                  },
                  "results": {
                    "items": {
                      "properties": {
                        "activity_id": {
                          "title": "Activity Id",
                          "type": "string"
                        },
                        "date_opened": {
                          "format": "date",
                          "title": "Date Opened",
                          "type": "string"
                        },
                        "establishment_name": {
                          "title": "Establishment Name",
                          "type": "string"
                        },
                        "inspection_type": {
                          "title": "Inspection Type",
                          "type": "string"
                        },
                        "naics": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "default": null,
                          "title": "Naics"
                        },
                        "official_url": {
                          "title": "Official Url",
                          "type": "string"
                        },
                        "report_id": {
                          "title": "Report Id",
                          "type": "string"
                        },
                        "scope": {
                          "title": "Scope",
                          "type": "string"
                        },
                        "sic": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "default": null,
                          "title": "Sic"
                        },
                        "state": {
                          "title": "State",
                          "type": "string"
                        },
                        "violation_count": {
                          "anyOf": [
                            {
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "default": null,
                          "title": "Violation Count"
                        }
                      },
                      "title": "Inspection",
                      "type": "object"
                    },
                    "title": "Results",
                    "type": "array"
                  },
                  "retrieved_at": {
                    "format": "date-time",
                    "title": "Retrieved At",
                    "type": "string"
                  },
                  "source": {
                    "default": "OSHA",
                    "title": "Source",
                    "type": "string"
                  },
                  "source_hit_count": {
                    "title": "Source Hit Count",
                    "type": "integer"
                  },
                  "source_url": {
                    "default": "https://www.osha.gov/ords/imis/establishment.search",
                    "title": "Source Url",
                    "type": "string"
                  },
                  "start_date": {
                    "format": "date",
                    "title": "Start Date",
                    "type": "string"
                  },
                  "state": {
                    "title": "State",
                    "type": "string"
                  },
                  "violations_only": {
                    "title": "Violations Only",
                    "type": "boolean"
                  }
                },
                "title": "InspectionSearchResponse",
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "osha-search.46-224-157-88.sslip.io",
  "lastUpdated": "2026-08-30T15:45:20.032Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-08-30T15:45:19.378Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "osha-search.46-224-157-88.sslip.io",
    "manifest_name": "osha-search.46-224-157-88.sslip.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}