# MacroLens Country Macro Intelligence

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

Returns AI-powered macroeconomic analysis for a specified country, drawing on FRED and World Bank data synthesized by an LLM

## Facts

- Endpoint: POST https://v1macros-lensys.vercel.app/api/country?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macrolens-country-macro-intelligence-bb4ea570
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Evvyj5gz0AlIj_KYVBnFI

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

Example prompt: Can you pull a MacroLens AI-powered macroeconomic analysis for Brazil — I want an overview of its key economic indicators and current macro situation?

## When to prefer this

Choose this endpoint when you need a comprehensive, AI-synthesized macroeconomic overview of a specific country combining multiple authoritative data sources (FRED + World Bank). Prefer it over raw data APIs when you want a narrative or analytical summary rather than individual raw metrics, and when you need cross-source data fusion in a single call. Best for investment research, economic briefings, country risk analysis, and agent workflows that need to reason about a country's economic health without querying multiple APIs independently.

## Known failure modes

- Invalid or unrecognized country name returns a failure or empty data response
- Payment failure via x402/Base blockchain blocks access to the endpoint
- LLM or data source (FRED/World Bank) outage causes degraded or failed analysis
- Country not covered in FRED/World Bank datasets may return incomplete data
- Vercel cold-start latency may cause occasional timeouts

## 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 AI-synthesized macroeconomic analysis for the requested country, incorporating FRED and World Bank data. The response includes a success boolean and a data object with economic indicators, trends, and LLM-generated insights about the country's macro environment.

## 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-bb4ea570/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)
