# BLS Occupational Statistics API

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

Fetches BLS (Bureau of Labor Statistics) public data on wages, employment levels, and growth by occupational series ID

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/bls-occupational-stats
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-c97e6845
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UBU3dPw3ta3al3V7LD4dW

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-deployer-x402-deployer-workers-dev-c97e6845 -d '<json body>'
```

Example prompt: Pull the BLS occupational stats for registered nurses using series ID OES291141 — I want to see wages and employment levels.

## When to prefer this

Use this endpoint when you need authoritative U.S. federal government occupational wage and employment statistics by BLS series ID. Prefer this over scraped or third-party labor data sources when official BLS data is required for compliance, reporting, or research purposes.

## Known failure modes

- Invalid or unrecognized BLS series ID returns an error or empty result
- Rate limiting if no BLS_API_KEY is provided and request volume is high
- Network timeout if BLS upstream API is slow or unavailable
- Malformed request body missing required series ID field

## 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 BLS time series data including wage figures, employment levels, and growth metrics for the requested occupational series ID, sourced from the official BLS Public Data API.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {
      "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)."
      },
      "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)."
      },
      "include_calculations": {
       "type": "boolean",
       "description": "Boolean, default false. When true, includes BLS net/percent change calculations per data point."
      }
     },
     "required": [
      "series_ids"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "series_returned": {
       "type": "integer"
      }
     }
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-c97e6845/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
