Find an API

Search public APIs with auth details & Postman guides

← All APIs

OSHA Injury Tracking Application (ITA) API

osha.gov · Government

Government No Auth Free & Open Government Insurance Manufacturing Workers Compensation Workplace Safety Labor

Search employer-reported workplace injury and illness data submitted to OSHA under the 300A annual summary requirement. Filter by industry (NAICS), establishment size, or year. Covers establishments with 20+ employees in high-hazard industries — core data for workers compensation benchmarking.

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET Search by NAICS industry code

Returns employer injury/illness summaries filtered by NAICS code and year. NAICS 238 = specialty trade contractors (high workers comp claims).

https://data.bls.gov/oes/datatype/api/search?size=10&year=2022&query=naics_code:238

Hover any highlighted part to learn what it does

curl -X GET "https://data.bls.gov/oes/datatype/api/search?size=10&year=2022&query=naics_code%3A238"
import requests
params = {
    "size": "10",
    "year": "2022",
    "query": "naics_code:238"
}
response = requests.get(
    "https://data.bls.gov/oes/datatype/api/search",
    params=params,
)
print(response.json())
const url = new URL('https://data.bls.gov/oes/datatype/api/search');
url.searchParams.set('size', '10');
url.searchParams.set('year', '2022');
url.searchParams.set('query', 'naics_code:238');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://data.bls.gov/oes/datatype/api/search")
	q := baseURL.Query()
	q.Set("size", "10")
	q.Set("year", "2022")
	q.Set("query", "naics_code:238")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://data.bls.gov/oes/datatype/api/search")
uri.query = URI.encode_www_form({
  "size" => "10",
  "year" => "2022",
  "query" => "naics_code:238"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://data.bls.gov/oes/datatype/api/search?" . http_build_query([
    "size" => "10",
    "year" => "2022",
    "query" => "naics_code:238"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. No API key needed — the ITA API is fully open
  2. Browse available data at https://www.osha.gov/ita/
  3. In Postman, GET https://www.osha.gov/ita/api/search
  4. Filter by naics_code (6-digit NAICS), year, state, or establishment_size
  5. Key fields in response: total_injuries, total_illnesses, days_away, naics_code, company_name
  6. Cross-reference with BLS IIU series for industry-level benchmarking

What can you build with OSHA Injury Tracking Application (ITA) API?

OSHA Injury Tracking Application (ITA) API is a Government API. Developers commonly use government APIs for:

  • surfacing public datasets in citizen-facing apps
  • building transparency and civic engagement tools
  • accessing legislation, court records, and official data
  • powering research and journalism tools
  • creating compliance and regulatory monitoring dashboards

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. OSHA Injury Tracking Application (ITA) API is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide · Learn about API keys · What is REST?

Open documentation ↗