{
  "x402Version": 2,
  "id": 29314,
  "slug": "29314",
  "resource": "https://api.agentstools.dev/osha/screen",
  "description": "Search US employers in the public OSHA enforcement records by establishment name and get ranked candidates, each with its state, SIC and NAICS codes, last inspection date, inspection count, summed violation count and the most serious inspection trigger. Cheap first step before osha/company.",
  "type": "http",
  "serviceName": "osha-screen",
  "resourceType": "Web Intelligence",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "8000",
      "amountUsd": 0.008,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "name": "Dollar General",
            "state": "AR"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "attribution": [
              "OSHA Establishment Search (US DOL; US-gov public domain)."
            ],
            "candidates": [
              {
                "establishment_name": "Dollar General Store",
                "inspection_count": 3,
                "last_inspection_date": "04/24/2025",
                "naics": "452319",
                "sic": null,
                "state": "AR",
                "total_violations": 4,
                "worst_impetus_label": "Complaint"
              }
            ],
            "count": 1,
            "query": "DOLLAR GENERAL"
          },
          "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": {
                "properties": {
                  "limit": {
                    "description": "Max candidates to return, default 8",
                    "maximum": 20,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "name": {
                    "description": "Establishment or company name to search for",
                    "type": "string"
                  },
                  "state": {
                    "description": "Optional 2-letter US state code to narrow the search",
                    "type": "string"
                  }
                },
                "required": [
                  "name"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "osha",
    "workplace-safety",
    "labor",
    "compliance",
    "inspection",
    "bazaar"
  ],
  "sourceHost": "api.agentstools.dev",
  "lastUpdated": "2026-09-19T15:57:43.752Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-19T15:57:43.522Z"
  },
  "metadata": {
    "serviceName": "osha-screen",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "name": "Dollar General",
              "state": "AR"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "attribution": [
                "OSHA Establishment Search (US DOL; US-gov public domain)."
              ],
              "candidates": [
                {
                  "establishment_name": "Dollar General Store",
                  "inspection_count": 3,
                  "last_inspection_date": "04/24/2025",
                  "naics": "452319",
                  "sic": null,
                  "state": "AR",
                  "total_violations": 4,
                  "worst_impetus_label": "Complaint"
                }
              ],
              "count": 1,
              "query": "DOLLAR GENERAL"
            },
            "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": {
                  "properties": {
                    "limit": {
                      "description": "Max candidates to return, default 8",
                      "maximum": 20,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "name": {
                      "description": "Establishment or company name to search for",
                      "type": "string"
                    },
                    "state": {
                      "description": "Optional 2-letter US state code to narrow the search",
                      "type": "string"
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.agentstools.dev",
    "manifest_name": "api.agentstools.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "attribution": [
      "OSHA Establishment Search (US DOL; US-gov public domain)."
    ],
    "candidates": [
      {
        "establishment_name": "Dollar General Store",
        "inspection_count": 3,
        "last_inspection_date": "04/24/2025",
        "naics": "452319",
        "sic": null,
        "state": "AR",
        "total_violations": 4,
        "worst_impetus_label": "Complaint"
      }
    ],
    "count": 1,
    "query": "DOLLAR GENERAL"
  }
}