# MacroLens Labor Market Analysis API

> MacroLens Labor Market Analysis API is a paid API for AI agents from v1macros-lensys.vercel.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-16).

Analyzes labor market macro-economic data (employment, wages, unemployment) using FRED and World Bank data processed through an AI LLM, returning structured insights.

## Facts

- Endpoint: POST https://v1macros-lensys.vercel.app/api/labor?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macrolens-labor-market-analysis-api-c9052a03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TU0wHa6pZweq5MeBqT8KA

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-labor-market-analysis-api-c9052a03 -d '<json body>'
```

Example prompt: Pull me an AI-powered labor market analysis from MacroLens starting from January 2020 — I want to see employment trends, unemployment rates, and any key macro insights from the FRED and World Bank data.

## When to prefer this

Choose this endpoint when you need AI-synthesized labor market analysis combining official macro data sources (FRED, World Bank) with LLM interpretation, rather than raw data alone. Prefer this over generic economic data APIs when you want a narrative intelligence layer on top of employment, wage, and unemployment indicators, especially for research, investment analysis, or economic briefings.

## Known failure modes

- Missing required 'start' parameter returns validation error
- Invalid date format for 'start' may cause parsing failure or empty results
- FRED or World Bank data unavailable for requested period returns partial or empty data object
- Payment not included or insufficient USDC balance results in 402 payment required error
- Vercel cold start may cause occasional latency spikes or timeout

## 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 AI-synthesized labor market analysis drawn from FRED and World Bank datasets, including indicators such as unemployment rates, employment levels, wage trends, and an LLM-generated narrative interpretation of conditions over 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-labor-market-analysis-api-c9052a03/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from v1macros-lensys.vercel.app](https://www.zero.xyz/host/v1macros-lensys.vercel.app/llms.txt)
