# FRED Macro Series Observations via Maxwell x402

> FRED Macro Series Observations via Maxwell x402 is a paid API for AI agents from api.maxwellinternational.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-30).

Fetches time-series macroeconomic data observations from the St. Louis Fed FRED API for a given series (e.g. GDP, CPI, unemployment) via a pay-per-call x402 proxy.

## Facts

- Endpoint: GET https://api.maxwellinternational.ai/v1/macro/fred/series?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fred-macro-series-observations-via-maxwell-x402-d13c485f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ldD9xbESZPYaiKarMLhDw

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 fred-macro-series-observations-via-maxwell-x402-d13c485f
```

Example prompt: Can you pull the latest GDP observations from FRED — I need the full time series with dates and values, quarterly frequency, seasonally adjusted?

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-call access to FRED macroeconomic time-series data without managing a FRED API key, and you prefer micropayment-based access via the x402 protocol. It is ideal for agents that need on-demand economic data (GDP, CPI, unemployment, etc.) with a predictable per-call cost of $0.005 USDC.

## Known failure modes

- Invalid or unknown FRED series ID returns an error or empty observations
- Network timeout if FRED upstream is slow or unavailable
- Payment failure if x402 USDC balance is insufficient
- Malformed query parameters may return unexpected or empty results
- Rate limiting from upstream FRED API can cause transient failures

## How this service works

FRED (Federal Reserve Bank of St. Louis) series observations by series id, e.g. GDP, UNRATE, CPIAUCSL: dates and values with the series title, units and frequency.

## Output

A JSON object containing the series title, units, frequency, seasonal adjustment type, source URL, fetch timestamp, last updated date, total observation count, the latest observation (date + value), and an array of all historical observations each with a date and value.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "count": 120,
  "title": "Gross Domestic Product",
  "units": "Billions of Dollars",
  "latest": {
   "date": "2026-04-01",
   "value": "32486.066"
  },
  "source": "https://api.stlouisfed.org/fred/series/observations",
  "seriesId": "GDP",
  "fetchedAt": "2026-09-26T02:27:13.554Z",
  "frequency": "Quarterly",
  "lastUpdated": "2026-08-26 07:49:01-05",
  "observations": [
   {
    "date": "1996-07-01",
    "value": "8131.408"
   }
  ],
  "seasonalAdjustment": "Seasonally Adjusted Annual Rate"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fred-macro-series-observations-via-maxwell-x402-d13c485f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.maxwellinternational.ai](https://www.zero.xyz/host/api.maxwellinternational.ai/llms.txt)
