# MacroLens Correlations API

> MacroLens Correlations API 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-14).

Computes statistical correlations between a set of macro-economic indicators using FRED and World Bank data, powered by MiMo LLM analysis

## Facts

- Endpoint: POST https://marcrons.vercel.app/api/correlations
- Price: $0.35/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macrolens-correlations-api-b4161577
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f3y6eHaA_2Kybwboz8N68

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-correlations-api-b4161577 -d '<json body>'
```

Example prompt: Can you compute the correlations between GDP growth, CPI inflation, and the unemployment rate using MacroLens — I want to see how tightly linked these three indicators are historically?

## When to prefer this

Choose this endpoint when you need statistical correlation analysis across multiple macro-economic indicators sourced from authoritative datasets (FRED, World Bank) rather than building your own data pipeline. Prefer it over generic data APIs when you want pre-integrated macro data with LLM-enhanced interpretation and pay-per-call x402 pricing on Base.

## Known failure modes

- Invalid or unrecognized indicator codes return an error or empty data
- Empty indicators array causes validation failure
- Rate limiting or payment failure via x402 returns 402 Payment Required
- Insufficient historical data overlap between indicators may produce null correlations
- Network or upstream FRED/World Bank data unavailability causes 500-level errors

## How this service works

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

## Output

Returns a success flag and a data object containing correlation results between the submitted economic indicators — likely a correlation matrix or pairwise coefficients derived from FRED and World Bank time series data, potentially enriched with LLM-generated interpretation.

## Request schema (JSON Schema)

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

## 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-correlations-api-b4161577/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)
