# MacroLens Labor Market Analysis API

> MacroLens Labor Market 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-14).

Returns AI-powered analysis of labor market macroeconomic data sourced from FRED and World Bank, covering employment trends and workforce indicators from a given start date.

## Facts

- Endpoint: POST https://marcolens.vercel.app/api/labor
- 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-labor-market-analysis-api-be49c70c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TWLPsX4rNX-Xo4nlQCFmn

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

Example prompt: Pull a MacroLens labor market analysis starting from January 2020 — I want to see AI-interpreted employment and workforce trends from FRED and World Bank data for that period.

## When to prefer this

Choose this endpoint when you need AI-interpreted labor market macroeconomic data combining FRED and World Bank sources in a single call, rather than querying raw data APIs yourself and building your own analysis pipeline. Ideal for agents that need synthesized employment insights quickly without building custom LLM + data pipelines.

## Known failure modes

- Missing or malformed 'start' date string returns an error or empty data
- Invalid date format causes request failure
- Upstream FRED or World Bank data unavailable for the specified period results in partial or failed response
- Payment not processed via x402 on Base results in 402 Payment Required
- Requested time range too recent with no available data yet

## How this service works

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

## Output

A JSON object with a success flag and a data object containing AI-generated labor market analysis, including employment indicators, workforce statistics, and macro-economic interpretations sourced from FRED and World Bank data for the requested time range.

## 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-be49c70c/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)
