# MacroLens Country Macro Intelligence

> MacroLens Country Macro Intelligence 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-15).

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

## Facts

- Endpoint: POST https://mascronlens.vercel.app/api/country
- Price: $0.4/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macrolens-country-macro-intelligence-2aa109c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IvFOMp8VvV4djzdrsAltT

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-country-macro-intelligence-2aa109c2 -d '<json body>'
```

Example prompt: Give me an AI-powered macroeconomic analysis of Brazil — pull in FRED and World Bank data and summarize the key economic indicators and trends.

## When to prefer this

Use this endpoint when you need a quick AI-synthesized macroeconomic intelligence report for a specific country, combining FRED and World Bank data sources with LLM interpretation — ideal for economic research, investment context, or country risk assessment without needing to aggregate multiple data APIs manually.

## Known failure modes

- Invalid or unrecognized country name returns error or empty data
- Country not covered by FRED/World Bank datasets may return incomplete results
- Network timeout if LLM synthesis takes too long
- Payment failure via x402 if insufficient USDC balance
- success: false with no data if country parameter is malformed

## How this service works

AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.

## Output

A structured object containing a success flag and a data object with AI-synthesized macroeconomic analysis for the requested country, drawing on FRED and World Bank datasets processed through MiMo LLM — likely including indicators such as GDP, inflation, trade balance, and economic narrative.

## 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-country-macro-intelligence-2aa109c2/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)
