# MacroLens GDP Analysis Endpoint

> MacroLens GDP Analysis Endpoint is a paid API for AI agents from marcroslencs.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://marcroslencs.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-endpoint-6ee57763
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LzogVF29O5gt0YTN-pXjF

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-6ee57763 -d '<json body>'
```

Example prompt: Pull the MacroLens GDP analysis for Germany — I want the AI-interpreted breakdown of their economic output using the latest FRED and World Bank data.

## When to prefer this

Choose this endpoint when you need AI-synthesized GDP analysis for a specific country that combines raw FRED and World Bank data with LLM-generated interpretation, rather than just raw GDP figures from a data provider. Ideal when you want both the numbers and an intelligent macro narrative in one call, and are operating within the x402 micropayment ecosystem on Base.

## Known failure modes

- Invalid or unrecognized country name returns an error or empty data object
- Missing required 'country' field in request body causes a 400-level error
- Upstream FRED or World Bank data unavailable leads to incomplete analysis
- Payment not processed via x402 protocol results in 402 Payment Required
- LLM inference timeout causes 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

A JSON object containing a success flag and a data object with AI-generated GDP analysis for the requested country, drawing on FRED and World Bank datasets interpreted by the MiMo LLM — likely including GDP figures, growth trends, and macro commentary.

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