# MacroLens GDP Analysis

> MacroLens GDP Analysis is a paid API for AI agents from mascronlens.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 through a MiMo LLM

## Facts

- Endpoint: POST https://mascronlens.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-6454a92d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p3z4UEpsF6YGpLjbrYi5i

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-6454a92d -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need AI-interpreted GDP analysis for a specific country, especially when you want synthesis of FRED and World Bank data rather than raw data retrieval. Prefer this over generic economic data APIs when you need LLM-generated narrative or contextual macro intelligence alongside the numbers.

## Known failure modes

- Invalid or unrecognized country name returns an error or empty data object
- Payment failure on Base blockchain results in 402 response
- Country with insufficient FRED/World Bank data coverage may return partial results
- Network timeout on LLM inference returns a failure response
- Malformed request body missing the required 'country' field returns validation error

## 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 figures and macroeconomic insights for the specified country, sourced from FRED and World Bank datasets and analyzed by a 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-6454a92d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mascronlens.vercel.app](https://www.zero.xyz/host/mascronlens.vercel.app/llms.txt)
