# MacroLens GDP Analysis API

> MacroLens GDP Analysis API is a paid API for AI agents from marcrons.vercel.app, paid per call via x402, $0.4/call, status unknown (last checked 2026-09-13).

Returns AI-powered GDP analysis for a given country using FRED and World Bank data processed through the MiMo LLM

## Facts

- Endpoint: POST https://marcrons.vercel.app/api/gdp
- Price: $0.4/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macrolens-gdp-analysis-api-88b86d84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xFNqECp5k8aYBGYTWLYPp

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-api-88b86d84 -d '<json body>'
```

Example prompt: Can you pull up an AI-powered GDP analysis for Germany using MacroLens — I want current figures and economic context from FRED and World Bank data.

## When to prefer this

Choose this endpoint when you need AI-interpreted GDP analysis that combines FRED and World Bank data sources into a synthesized narrative, rather than raw GDP figures alone. Ideal for agents needing enriched macroeconomic context rather than just data retrieval.

## Known failure modes

- Invalid or unrecognized country name returns error or empty data
- Missing required 'country' field returns validation error
- Country not covered by FRED/World Bank datasets may return incomplete data
- Payment failure via x402/Base blockchain prevents API access
- LLM synthesis timeout may cause delayed or failed response

## 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 GDP figures, trends, and macroeconomic context for the specified country, drawn from FRED and World Bank datasets processed through the MiMo LLM.

## 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-api-88b86d84/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from marcrons.vercel.app](https://www.zero.xyz/host/marcrons.vercel.app/llms.txt)
