# BLS Occupational Statistics API

> BLS Occupational Statistics API is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Retrieves Bureau of Labor Statistics public data on wages, employment levels, and growth by BLS series ID

## Facts

- Endpoint: POST https://x402.agentutility.ai/bls-occupational-stats
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agentutility-ai-991bb973
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0rB7-jtUV7EmLAkS83dCL

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 x402-agentutility-ai-991bb973 -d '<json body>'
```

Example prompt: Can you pull the BLS occupational stats for series ID CEU0000000001 — I need the latest employment level and wage data for that series?

## When to prefer this

Use this endpoint when you need authoritative federal labor statistics — wages, employment levels, or growth data — keyed by a specific BLS series ID. Prefer this over general web search when you need structured, machine-readable BLS data without scraping the BLS website directly. Best for workforce analysis, salary benchmarking, or economic research that requires official U.S. government labor data.

## Known failure modes

- Invalid or malformed BLS series ID returns an error or empty dataset
- Rate limit exceeded without API key returns 429 or equivalent throttling response
- BLS series ID not found returns no data
- BLS upstream API unavailable causes timeout or 5xx error
- Payment of 0.02 USDC not fulfilled causes x402 payment required response

## How this service works

BLS Public Data API — wages, employment levels, growth by series ID. Federal public, free. Optional BLS_API_KEY for higher rate-limits.

## Output

Returns wage data, employment levels, and growth metrics for the requested BLS series ID, sourced from the federal Bureau of Labor Statistics public data API.

## Example request

```json
{
 "input": {
  "body": {
   "end_year": "2023",
   "series_ids": [
    "CEU0000000001"
   ],
   "start_year": "2022",
   "include_calculations": false
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "series_ids"
     ],
     "properties": {
      "end_year": {
       "type": "string",
       "description": "End year for the data range. Must be paired with start_year (the other is mirrored if only one is given)."
      },
      "series_ids": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "BLS series IDs to fetch (e.g. 'LAUCN040010000000005'). Max 25 per request."
      },
      "start_year": {
       "type": "string",
       "description": "Start year for the data range. Must be paired with end_year (the other is mirrored if only one is given)."
      },
      "include_calculations": {
       "type": "boolean",
       "description": "Boolean, default false. When true, includes BLS net/percent change calculations per data point."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "series_returned": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "series_returned": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agentutility-ai-991bb973/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
