# 2s Labor Unemployment Statistics API

> 2s Labor Unemployment Statistics API is a paid API for AI agents from 2s.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns US national or state-level unemployment, employment, labor force, and unemployment rate time series from the Bureau of Labor Statistics.

## Facts

- Endpoint: GET https://2s.io/api/labor/unemployment
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-labor-unemployment-statistics-api-7bd31101
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N-RNYCkyuqkEpHslzjHiK

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 2s-labor-unemployment-statistics-api-7bd31101
```

Example prompt: What's the unemployment rate in California for the last 12 months? Pull the BLS data broken down by month.

## When to prefer this

Use this endpoint when you need authoritative, government-sourced US unemployment or labor market statistics at the national or state level, especially when ground-truth BLS data is required. Prefer this over scraped or estimated data sources when accuracy and official sourcing matter. Best for time-series analysis of labor market conditions without needing signup or API keys.

## Known failure modes

- Missing or invalid 'area' parameter returns an error
- Invalid state code returns no results or an error
- Months value outside 1–60 range rejected by schema validation
- BLS upstream unavailability may cause failed or stale responses
- Requesting a measure enum value not in the allowed list returns a validation error

## How this service works

US unemployment from BLS, monthly, newest first — national (CPS, "US") or by US state (LAUS). Pass area ("US" or a 2-letter state) and optionally measure = rate (default), unemployed, employed, or laborforce. Returns seasonally-adjusted values per month for a trailing window (rate in percent; counts in thousands). Public-domain, live-wrap. Fresh local labor-market context agents can't recite.

## Output

Returns a JSON object with an array of items, each containing the area code, area type, measure (rate/unemployed/employed/laborforce), units, and an array of time-series data points with period and value. Also includes source metadata (BLS URL, license, provider name).

## 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": [
      "area"
     ],
     "properties": {
      "area": {
       "type": "string",
       "description": "\"US\" or a 2-letter US state code."
      },
      "months": {
       "type": "integer",
       "maximum": 60,
       "minimum": 1
      },
      "measure": {
       "enum": [
        "rate",
        "unemployed",
        "employed",
        "laborforce"
       ],
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-labor-unemployment-statistics-api-7bd31101/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)
