# MacroLens GDP Analysis Endpoint

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

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

## Facts

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

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

Example prompt: Can you pull the MacroLens GDP analysis for Germany and give me an AI-powered summary of its economic performance?

## When to prefer this

Choose this endpoint when you need AI-interpreted GDP data for a specific country combining both FRED and World Bank sources into a single synthesized response, especially when you want LLM-generated macro narrative rather than raw data tables. Prefer over direct FRED or World Bank APIs when you need analysis, not just numbers.

## Known failure modes

- Invalid or unrecognized country name returns an error or empty data object
- Country not covered by FRED or World Bank data sources may return incomplete results
- Network timeout on external data source fetch
- x402 payment failure on Base blockchain prevents endpoint access
- success: false returned when country parameter is missing or malformed

## 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-interpreted GDP metrics for the specified country, sourced from FRED and World Bank databases and synthesized by the MiMo LLM into structured macro-economic insights.

## 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-endpoint-db6486ad/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)
