# MacroLens Inflation Analysis API

> MacroLens Inflation 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-19).

Analyzes inflation indicators using FRED and World Bank data processed through an AI LLM to deliver macro-economic insights

## Facts

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

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-inflation-analysis-api-d666d2c4 -d '<json body>'
```

Example prompt: Can you pull the CPI inflation indicator from MacroLens and give me an AI-powered analysis of what the current trend means for the broader economy?

## When to prefer this

Choose this endpoint when you need AI-interpreted inflation data that combines raw FRED and World Bank economic indicators with LLM-generated narrative analysis, rather than raw data feeds alone. Ideal for research, reporting, or agent workflows that need both numbers and contextual explanation in one call.

## Known failure modes

- Invalid or unrecognized indicator code returns an error or empty data object
- FRED or World Bank data source unavailability may cause lookup failures
- Missing required 'indicator' field returns a validation error
- Rate limiting or payment failures via x402/Base blockchain may prevent access
- Indicator codes that exist but have no recent data may return sparse results

## How this service works

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

## Output

Returns a success flag and a data object containing inflation-related economic metrics sourced from FRED and/or World Bank, enriched with AI-generated macro-economic commentary and interpretation from the MiMo LLM

## Request schema (JSON Schema)

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

## 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-inflation-analysis-api-d666d2c4/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)
