# MacroLens Compare Countries Endpoint

> MacroLens Compare Countries Endpoint is a paid API for AI agents from marcrons.vercel.app, paid per call via x402, $0.35/call, status unknown (last checked 2026-09-13).

Compares macroeconomic indicators across multiple countries using FRED and World Bank data, analyzed by an LLM.

## Facts

- Endpoint: POST https://marcrons.vercel.app/api/compare
- Price: $0.35/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macrolens-compare-countries-endpoint-7b6a3320
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-qHMIkJQYUux99i687Tvo

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-compare-countries-endpoint-7b6a3320 -d '<json body>'
```

Example prompt: Can you compare the macroeconomic profiles of the United States, Germany, and Japan — I want to see how their key economic indicators stack up against each other?

## When to prefer this

Choose this endpoint when you need a side-by-side AI-synthesized macroeconomic comparison of two or more countries, combining raw economic data from FRED and World Bank with LLM-generated narrative analysis. Prefer this over raw data APIs when you want both structured indicators and interpretive intelligence in a single call, and when you are comfortable paying per-call via x402 on Base blockchain.

## Known failure modes

- Unrecognized country names may cause lookup failures or missing data
- Too many countries in one request may time out or return partial data
- FRED or World Bank data may be unavailable or stale for certain countries
- LLM synthesis may produce generic comparisons if underlying data is sparse
- Payment failure via x402 on Base will block the request
- Missing required 'countries' array returns validation error

## How this service works

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

## Output

A structured JSON object containing a comparative macroeconomic analysis across the specified countries, drawing on FRED and World Bank datasets and synthesized by the MiMo LLM. Includes economic indicators such as GDP, inflation, unemployment, and other key metrics, along with AI-generated narrative comparison insights.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "countries"
 ],
 "properties": {
  "countries": {
   "type": "array",
   "description": "countries"
  }
 }
}
```

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