# MacroLens Unemployment Analysis API

> MacroLens Unemployment Analysis API is a paid API for AI agents from mascronlens.vercel.app, paid per call via x402, $0.4/call, status unknown (last checked 2026-09-14).

Fetches and analyzes unemployment data using FRED and World Bank sources, enriched with AI-generated macro-economic insights via MiMo LLM

## Facts

- Endpoint: POST https://mascronlens.vercel.app/api/unemployment
- Price: $0.4/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macrolens-unemployment-analysis-api-6ee8bbd0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JMJ9GKV4lUtj1dWsWiC0D

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 macrolens-unemployment-analysis-api-6ee8bbd0 -d '<json body>'
```

Example prompt: Pull me an AI-powered unemployment analysis from MacroLens starting from January 2020 — I want to see the trends and macro interpretation through today.

## When to prefer this

Choose this endpoint when you need AI-enriched unemployment analysis combining government economic data sources (FRED, World Bank) with LLM interpretation, especially for macro research, economic reporting, or investment analysis requiring both raw data and narrative insight.

## Known failure modes

- Missing required 'start' parameter returns validation error
- Invalid date format in 'start' field causes parsing failure
- Payment not provided or insufficient USDC balance results in 402 payment required
- FRED or World Bank data unavailable causes upstream data fetch failure
- No data available for the requested start date range

## How this service works

AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.

## Output

Returns a JSON object with a success boolean and a data object containing unemployment rate time series and AI-generated macro-economic analysis synthesized from FRED and World Bank data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "start"
 ],
 "properties": {
  "start": {
   "type": "string",
   "description": "start"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macrolens-unemployment-analysis-api-6ee8bbd0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mascronlens.vercel.app](https://www.zero.xyz/host/mascronlens.vercel.app/llms.txt)
