# MacroLens GDP Analysis

> MacroLens GDP Analysis 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-14).

Returns AI-powered GDP analysis for a specified country using FRED and World Bank data processed by MiMo LLM

## Facts

- Endpoint: POST https://makrolens.vercel.app/api/gdp
- 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-gdp-analysis-138764d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Xp2cAdcO_eg_Xptre3CaC

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-gdp-analysis-138764d7 -d '<json body>'
```

Example prompt: Pull an AI-powered GDP analysis for Germany — I want the macro breakdown using World Bank and FRED data.

## When to prefer this

Choose this endpoint when you need AI-synthesized GDP intelligence — not just raw numbers — for a specific country, especially when combining FRED and World Bank data with narrative interpretation matters. Prefer this over generic economic data APIs when you want a single call that delivers both structured data and LLM-generated macro analysis.

## Known failure modes

- Unrecognized or misspelled country name returns error or empty data
- Country not covered in FRED/World Bank datasets may return incomplete results
- Upstream data source outages (FRED or World Bank) may cause failure
- LLM inference errors may return a success:false response
- Network or payment verification failures via x402 on Base

## 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-interpreted GDP metrics for the requested country, drawing on FRED and World Bank datasets processed through the MiMo LLM for narrative macroeconomic insight.

## Request schema (JSON Schema)

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

## 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-gdp-analysis-138764d7/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)
