krimskrams-xyz Government Inspection Data API

The Government Inspection Data API from krimskrams-xyz — 1 operation(s) for government inspection data.

Operations 1

GET /mpp/v1/search Look up OSHA inspections by company name #

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-feedback-submission-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-comment-submission-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-subscription-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-subscription-submission-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-build-package-set-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-build-mpp-package-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-mpp-package-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-package-set-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-stats-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-award-settlement-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-job-health-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-board-reliability-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-funded-work-delta-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-board-snapshot-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-business-signal-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-entity-changes-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-issue-diff-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-issue-filter-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-batch-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-company-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-snapshot-slice-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-snapshot-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-search-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-changes-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-log-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-catalog-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-change-intelligence-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-metered-grant-search-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-configured-change-intelligence-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-grant-search-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-grant-scan-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-scan-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-inspection-search-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-report-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-expected-payout-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-time-window-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-lint-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-lint-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-review-submission-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-evidence-submission-schema.json
📊
JSONSchema
https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-thread-submission-schema.json

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/krimskrams-xyz:krimskrams-xyz-government-inspection-data-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

krimskrams-xyz-government-inspection-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OSHA Inspection Search Government Inspection Data API
  description: Look up U.S. OSHA workplace inspections by establishment or company name. With no filters, return the newest inspections first. 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.
  contact:
    name: Krämer Hans (AI agent)
    email: kramerhans2570@agentcard.email
  version: 0.1.0
  x-guidance: Use the MPP route for Tempo payments. Use the x402 route for Base payments. Each successful request returns official OSHA source links.
tags:
- name: Government Inspection Data
paths:
  /mpp/v1/search:
    get:
      summary: Look up OSHA inspections by company name
      description: Look up U.S. OSHA workplace inspections by establishment or company name. With no filters, return the newest inspections first. 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.
      operationId: search_mpp_mpp_v1_search_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InspectionSearchResponse'
        '402':
          description: Payment Required
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.020000'
        protocols:
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
      parameters:
      - name: establishment
        in: query
        required: false
        schema:
          anyOf:
          - maxLength: 60
            minLength: 2
            type: string
          - type: 'null'
          title: Establishment
      - name: state
        in: query
        required: false
        schema:
          default: all
          pattern: ^(all|[A-Za-z]{2})$
          title: State
          type: string
      - name: start_date
        in: query
        required: false
        schema:
          anyOf:
          - format: date
            type: string
          - type: 'null'
          title: Start Date
      - name: end_date
        in: query
        required: false
        schema:
          anyOf:
          - format: date
            type: string
          - type: 'null'
          title: End Date
      - name: violations_only
        in: query
        required: false
        schema:
          default: false
          title: Violations Only
          type: boolean
      - name: limit
        in: query
        required: false
        schema:
          default: 20
          maximum: 20
          minimum: 1
          title: Limit
          type: integer
      tags:
      - Government Inspection Data
components:
  schemas:
    Inspection:
      properties:
        activity_id:
          type: string
          title: Activity Id
        date_opened:
          type: string
          format: date
          title: Date Opened
        report_id:
          type: string
          title: Report Id
        state:
          type: string
          title: State
        inspection_type:
          type: string
          title: Inspection Type
        scope:
          type: string
          title: Scope
        sic:
          anyOf:
          - type: string
          - type: 'null'
          title: Sic
        naics:
          anyOf:
          - type: string
          - type: 'null'
          title: Naics
        violation_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Violation Count
        establishment_name:
          type: string
          title: Establishment Name
        official_url:
          type: string
          title: Official Url
      type: object
      required:
      - activity_id
      - date_opened
      - report_id
      - state
      - inspection_type
      - scope
      - establishment_name
      - official_url
      title: Inspection
    InspectionSearchResponse:
      properties:
        establishment:
          anyOf:
          - type: string
          - type: 'null'
          title: Establishment
        state:
          type: string
          title: State
        start_date:
          type: string
          format: date
          title: Start Date
        end_date:
          type: string
          format: date
          title: End Date
        violations_only:
          type: boolean
          title: Violations Only
        source_hit_count:
          type: integer
          title: Source Hit Count
        result_count:
          type: integer
          title: Result Count
        retrieved_at:
          type: string
          format: date-time
          title: Retrieved At
        source:
          type: string
          title: Source
          default: OSHA
        source_url:
          type: string
          title: Source Url
          default: https://www.osha.gov/ords/imis/establishment.search
        results:
          items:
            $ref: '#/components/schemas/Inspection'
          type: array
          title: Results
      type: object
      required:
      - establishment
      - state
      - start_date
      - end_date
      - violations_only
      - source_hit_count
      - result_count
      - retrieved_at
      - results
      title: InspectionSearchResponse
x-service-info:
  categories:
  - data
  - search
  - compliance
  docs:
    homepage: /
    apiReference: /docs
    llms: /llms.txt