# Heurist Mesh: FRED Macro Vintage History

> Heurist Mesh: FRED Macro Vintage History is a paid API for AI agents from mesh.heurist.xyz, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns point-in-time-safe historical data for a curated FRED macroeconomic series using ALFRED real-time dates, preserving original vintage values for backtests and retrospective analysis.

## Facts

- Endpoint: POST https://mesh.heurist.xyz/x402/solana/agents/FredMacroAgent/macro_vintage_history
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/heurist-mesh-fred-macro-vintage-history-7e907638
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mUqaJI9w9o6Dmk8gkrcYk

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 heurist-mesh-fred-macro-vintage-history-7e907638 -d '<json body>'
```

Example prompt: Pull the point-in-time-safe vintage history for the FRED series UNRATE (US unemployment rate) using ALFRED real-time dates — I need the values as they were originally released, not the revised figures, for a backtest covering 2015 through 2020.

## When to prefer this

Choose this endpoint when you need historically accurate, unrevised macroeconomic data for backtesting or retrospective studies — situations where using revised/current FRED data would introduce look-ahead bias. Prefer this over standard FRED data fetches whenever the original as-released values matter, such as in strategy backtests, Fed policy retrospectives, or any analysis that must reflect what was actually known at a given point in time.

## Known failure modes

- Invalid or unsupported FRED series ID returns an error
- Requested vintage date outside available ALFRED history returns empty or error
- Malformed date range parameters cause validation failure
- Network or upstream ALFRED API unavailability causes timeout
- Insufficient USDC balance for x402 payment fails the request before execution

## How this service works

Return point-in-time-safe history for one curated series using ALFRED realtime dates. Use this for backtests or retrospective questions where revised history would be misleading.

## Output

Returns a time series of macroeconomic observations for the requested FRED series where each data point reflects the value as it was originally published at the specified vintage/real-time date, not subsequent revisions. Includes observation dates, real-time dates, and the corresponding reported values for the curated series.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "series_key",
      "realtime_date"
     ],
     "properties": {
      "view": {
       "type": "string",
       "default": "level",
       "description": "Transformation applied to the raw series. Each series_key supports a subset of these views; unsupported combinations fail directly. Common pairings: yoy for inflation, qoq_annualized for GDP, change for rates, wow_change for weekly claims."
      },
      "debug": {
       "type": "boolean",
       "default": false,
       "description": "Debug mode flag. ALWAYS use false."
      },
      "limit": {
       "type": "integer",
       "default": 24,
       "maximum": 120,
       "minimum": 1,
       "description": "Maximum number of observations to return after transformation."
      },
      "period": {
       "type": "string",
       "default": "5y",
       "description": "Rolling lookback window used when `start_date` is omitted."
      },
      "end_date": {
       "type": "string",
       "description": "Inclusive end date in YYYY-MM-DD format. Defaults to `realtime_date`."
      },
      "series_key": {
       "type": "string",
       "description": "Registry-backed macro series key."
      },
      "start_date": {
       "type": "string",
       "description": "Inclusive start date in YYYY-MM-DD format. If omitted, `period` is used."
      },
      "realtime_date": {
       "type": "string",
       "description": "ALFRED realtime date in YYYY-MM-DD format. Returns data as it was known on this date, before subsequent revisions."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "result": {
       "type": "object",
       "additionalProperties": true
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/heurist-mesh-fred-macro-vintage-history-7e907638/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mesh.heurist.xyz](https://www.zero.xyz/host/mesh.heurist.xyz/llms.txt)
