# O*NET Related Occupations Lookup

> O*NET Related Occupations Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns a list of occupations related to a given SOC or O*NET-SOC occupation code, sourced from the U.S. Department of Labor O*NET database.

## Facts

- Endpoint: GET https://2s.io/api/occupation/related
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/o-net-related-occupations-lookup-e6e59719
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7epLcuxaXH1mmWpYqUyHb

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability o-net-related-occupations-lookup-e6e59719
```

Example prompt: What occupations are related to SOC code 15-1252 — can you pull the top 10 related jobs from the O*NET database?

## When to prefer this

Use this endpoint when you need authoritative, government-sourced data on occupations related to a specific SOC or O*NET-SOC code, especially for career exploration, workforce analysis, job recommendation systems, or labor market research. Prefer this over general web search when you need structured, standardized occupation data with proper attribution and licensing.

## Known failure modes

- Invalid or malformed SOC/O*NET-SOC code returns an error or empty results
- Code not found in O*NET database returns ok:false or empty items array
- Limit parameter out of range (below 1 or above 50) causes validation error
- Payment failure via x402/USDC results in 402 response before data is returned
- Upstream O*NET service unavailability causes downstream failure

## How this service works

Occupations related to a given O*NET occupation (career-adjacent roles), by SOC / O*NET-SOC code. Returns ranked related occupations with code + title. CC-BY (O*NET). For career-pathing, "adjacent roles", and transferable-skills reasoning.

## Output

A JSON object containing an array of related occupations (each with an O*NET-SOC code and job title), the total count of related occupations found, and source attribution metadata including the O*NET Center URL and CC-BY-4.0 license info.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "SOC or O*NET-SOC code (e.g. 15-1252)."
      },
      "limit": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/o-net-related-occupations-lookup-e6e59719/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
