# MacroLens Housing Market Analysis

> MacroLens Housing Market Analysis 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-16).

Analyzes housing market macro-economic data using FRED and World Bank datasets, augmented by MiMo LLM-powered narrative intelligence, for a specified start date.

## Facts

- Endpoint: POST https://v1macros-lensys.vercel.app/api/housing?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macrolens-housing-market-analysis-16d3a98b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1w2bBqgtpCsGlAawoFRmC

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-housing-market-analysis-16d3a98b -d '<json body>'
```

Example prompt: Pull me a MacroLens housing market analysis starting from January 2022 — I want to see how home prices, housing starts, and mortgage rates have trended since then with an AI summary.

## When to prefer this

Choose this endpoint when you need AI-synthesized housing market intelligence combining authoritative government data sources (FRED, World Bank) with LLM narrative analysis in a single call. Prefer this over raw FRED API calls when you want pre-analyzed, human-readable housing insights rather than raw time series data. Best for agents answering macroeconomic housing questions, real estate research, or trend analysis over a defined time window.

## Known failure modes

- Invalid or missing start date returns an error or empty data
- Start date too far in the past where data is unavailable
- Payment not authorized via x402 protocol resulting in 402 response
- FRED or World Bank data source temporarily unavailable
- MiMo LLM narrative generation timeout or failure
- Rate limiting if calls exceed allowed frequency

## 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 macro-economic housing indicators (such as home prices, housing starts, mortgage rates, affordability metrics) drawn from FRED and World Bank sources, enriched with an AI-generated narrative analysis from the MiMo LLM covering trends and insights from the specified start date onward.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "start"
 ],
 "properties": {
  "start": {
   "type": "string",
   "description": "start"
  }
 }
}
```

## 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-housing-market-analysis-16d3a98b/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)
