# MacroLens Country Macro Analysis

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

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

## Facts

- Endpoint: POST https://marcolens.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-analysis-8ec3f78d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VoV8Z1IXULgvXjVbLtdNk

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-analysis-8ec3f78d -d '<json body>'
```

Example prompt: Can you pull up a full macroeconomic analysis for Brazil — I want AI-synthesized insights covering GDP, inflation, and key economic indicators from FRED and World Bank data?

## When to prefer this

Choose this endpoint when you need AI-synthesized macroeconomic analysis for a specific country that combines multiple authoritative data sources (FRED and World Bank) into a unified, interpreted output — rather than raw data retrieval. Ideal for investment research, country risk assessment, or economic briefings where you want LLM-generated narrative alongside structured indicators, and are comfortable with micropayment-per-call pricing via x402 on Base.

## Known failure modes

- Invalid or unrecognized country name returns error or empty data
- Country with limited FRED/World Bank data coverage may return incomplete analysis
- Payment failure via x402 protocol prevents access to results
- Rate limiting or service unavailability on upstream FRED or World Bank APIs
- LLM inference timeout for complex country profiles

## 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 macroeconomic analysis of the requested country, synthesizing FRED and World Bank economic indicators (such as GDP, inflation, debt, trade balance) interpreted by a MiMo LLM into narrative and structured 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-country-macro-analysis-8ec3f78d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from marcolens.vercel.app](https://www.zero.xyz/host/marcolens.vercel.app/llms.txt)
