# MacroLens Inflation Analysis API

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

Returns AI-powered inflation analysis for a given economic indicator using FRED and World Bank data processed by an LLM

## Facts

- Endpoint: POST https://makrolens.vercel.app/api/inflation
- 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-inflation-analysis-api-4ef063b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6IvV8-jBYIRO0hFivnAsH

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

Example prompt: Can you pull MacroLens inflation analysis for the CPI indicator and give me an AI-powered breakdown of what the data is showing right now?

## When to prefer this

Choose this endpoint when you need AI-synthesized inflation analysis that combines raw FRED and World Bank data with LLM-generated interpretation, rather than just fetching raw economic data. Ideal for agents needing human-readable macro insights rather than raw time-series data, and for workflows requiring on-demand, paid per-call macro intelligence without managing data pipelines.

## Known failure modes

- Missing or invalid 'indicator' parameter returns an error
- Unknown or unsupported indicator code may return empty data or an error
- Insufficient USDC balance or failed x402 payment results in a 402 Payment Required response
- FRED or World Bank data unavailability may cause upstream failures
- LLM inference timeout could cause delayed or failed responses

## 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' boolean and a 'data' object containing AI-interpreted inflation metrics and analysis derived from FRED and World Bank datasets, likely including trend summaries, current readings, and LLM-generated narrative interpretation of the inflation indicator.

## 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-4ef063b7/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)
