# MacroLens Unemployment Analysis API

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

Returns AI-powered analysis of unemployment data sourced from FRED and World Bank, using the MiMo LLM to generate macro-economic insights starting from a specified date.

## Facts

- Endpoint: POST https://makrolens.vercel.app/api/unemployment?utm_source=zero.xyz
- Price: $0.4/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macrolens-unemployment-analysis-api-99a9744c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ezPlSdDqmDyFndQL-wf9I

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-99a9744c -d '<json body>'
```

Example prompt: Pull me a MacroLens AI analysis of US unemployment trends starting from January 2020 — I want the FRED and World Bank data with the LLM-generated macro commentary.

## When to prefer this

Choose this endpoint when you need AI-interpreted unemployment data that combines raw FRED and World Bank figures with natural-language macro-economic commentary. Prefer it over raw FRED API calls when you want LLM synthesis alongside the data, and over generic economic APIs when you specifically need unemployment-focused analysis with AI insights on Base via x402 micropayments.

## Known failure modes

- Missing required 'start' field returns validation error
- Invalid date format in 'start' causes parsing failure
- FRED or World Bank upstream data unavailable returns partial or error response
- Insufficient USDC balance or failed x402 payment prevents API access
- Date range too far in the past may return limited or no data

## 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 flag and a data object containing unemployment time-series figures (from FRED and/or World Bank) along with AI-generated macro-economic commentary and analysis produced by the MiMo LLM, covering the period from the specified start date.

## 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-99a9744c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from makrolens.vercel.app](https://www.zero.xyz/host/makrolens.vercel.app/llms.txt)
