# Heurist Mesh FredMacroAgent - Macro Series History

> Heurist Mesh FredMacroAgent - Macro Series 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 bounded historical data for a curated macroeconomic time series, with support for transformed views such as year-over-year or quarter-over-quarter annualized changes.

## Facts

- Endpoint: POST https://mesh.heurist.xyz/x402/solana/agents/FredMacroAgent/macro_series_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-fredmacroagent-macro-series-history-b0fbd7ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FfRThN_IS8WDH1QjOK2wo

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-fredmacroagent-macro-series-history-b0fbd7ba -d '<json body>'
```

Example prompt: Pull the historical CPI series from FredMacroAgent for the last 3 years and show me the year-over-year transformation so I can see how inflation has trended.

## When to prefer this

Use this endpoint when you need bounded historical data for a specific curated macroeconomic indicator and want transformed views (YoY, qoq_annualized) pre-computed rather than computing them yourself. Prefer this over the macro regime summary endpoint when you need raw or transformed time series data points rather than a synthesized narrative. Best for trend analysis, charting, and quantitative modeling of individual macro indicators.

## Known failure modes

- Unknown or unsupported series identifier returns an error or empty result
- Date range bounds outside available data coverage return partial or empty results
- Invalid transformation type string causes a bad request error
- Payment not settled via x402 protocol returns 402 Payment Required
- Upstream FRED data source temporarily unavailable causes 503 or timeout

## How this service works

Return bounded history for one curated macro series. Use this for historical trend analysis or transformed views like YoY or qoq_annualized.

## Output

Returns a time-bounded array of historical data points for the requested macro series, including timestamps and values. If a transformation (e.g. YoY, qoq_annualized) is requested, returns the computed transformed values alongside or instead of raw values. May include series metadata such as units and frequency.

## 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"
     ],
     "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": "2y",
       "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 today."
      },
      "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."
      }
     }
    },
    "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-fredmacroagent-macro-series-history-b0fbd7ba/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)
