# MacroLens Unemployment Data & Analysis API

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

Fetches and AI-analyzes unemployment data from FRED and World Bank sources starting from a given date, returning macro-economic insights powered by the MiMo LLM

## Facts

- Endpoint: POST https://marcolens.vercel.app/api/unemployment
- Price: $0.4/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macrolens-unemployment-data-analysis-api-9dc2209d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8hI6cBp7nmkVHDFxK3B4F

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-data-analysis-api-9dc2209d -d '<json body>'
```

Example prompt: Pull unemployment data and AI analysis starting from January 2020 — I want to see the trend and get a macro-level interpretation of how the labor market has evolved since then.

## When to prefer this

Choose this endpoint when you need AI-interpreted unemployment data — not just raw numbers — pulled from authoritative sources like FRED and World Bank, with macro-economic context generated by an LLM. Prefer this over raw FRED API calls when you want narrative analysis alongside the data, or when building economic research agents that need both structured data and human-readable insights in a single call. Best suited for time-series analysis starting from a known historical date.

## Known failure modes

- Missing required 'start' parameter returns validation error
- Invalid date format in 'start' field causes parse failure
- FRED or World Bank data unavailable for the requested date range
- Payment failure via x402/Base blockchain results in 402 response
- MiMo LLM analysis generation timeout or failure
- Date range too far in the past with no data available
- success: false returned with empty or partial data object

## 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 time-series data sourced from FRED and World Bank, along with AI-generated macro-economic analysis and interpretation powered by the MiMo LLM covering the requested time period.

## 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-data-analysis-api-9dc2209d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from marcolens.vercel.app](https://www.zero.xyz/host/marcolens.vercel.app/llms.txt)
