# econ-fred

> econ-fred is a paid API for AI agents from agentdatum.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches a bundled snapshot of 8 core US macroeconomic indicators from the Federal Reserve FRED database — GDP, CPI, unemployment rate, federal funds rate, 10-year Treasury yield, 10Y-2Y yield spread, M2 money supply, and nonfarm payrolls — as a CSV.

## Facts

- Endpoint: GET https://agentdatum.com/api/v1/d/econ-fred
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/econ-fred-a8bd2b38
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NYCIKq_jY2BT-QT87YtSV

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 econ-fred-a8bd2b38
```

Example prompt: Pull the latest US macroeconomic snapshot — GDP, CPI, unemployment, the federal funds rate, 10-year Treasury yield, yield spread, M2, and nonfarm payrolls — all in one go.

## When to prefer this

Choose this endpoint when you need a single, no-authentication-required call that bundles all 8 major US macro indicators into one CSV download, avoiding the need to query FRED directly with an API key or make 8 separate requests. Ideal for macroeconomic dashboards, investment research, recession monitoring, or any workflow that needs a quick pulse-check on US economic conditions without managing FRED credentials.

## Known failure modes

- Upstream FRED source unavailable or changed — may return stale or empty data
- Network timeout if FRED data pull is slow
- HTTP 402 if payment (0.01 USDC via x402) is not provided or fails
- Malformed CSV if upstream source format changes after 2026-07-30 source migration

## How this service works

US Core Economic Indicators — Fed FRED core 8 indicators in one package: GDP, CPI, unemployment, federal funds rate, 10-year Treasury, 10Y-2Y spread, M2, nonfarm payrolls. Keyless CSV direct download (fredgraph.csv), source switch on 2026-07-30.

## Output

A CSV file (fredgraph.csv format) containing the latest values of 8 core US macroeconomic series sourced from FRED: GDP, CPI, unemployment rate, federal funds rate, 10-year Treasury yield, 10Y-2Y yield spread, M2 money supply, and nonfarm payrolls. Each row represents a data point with its 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"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "raw": {
   "series": {
    "GDP": {
     "label": "美国GDP(十亿$)",
     "latest": {
      "date": "2026-04-01",
      "value": "32475.210"
     },
     "recent": [
      {
       "date": "2023-07-01",
       "value": "28074.846"
      },
      {
       "date": "2023-07-01",
       "value": "28074.846"
      }
     ]
    },
    "M2SL": {
     "label": "M2货币供应(十亿$)",
     "latest": {
      "date": "2026-06-01",
      "value": "23155.2"
     },
     "recent": [
      {
       "date": "2025-07-01",
       "value": "22025.5"
      },
      {
       "date": "2025-07-01",
       "value": "22025.5"
      }
     ]
    },
    "DGS10": {
     "label": "10年期美债收益率%",
     "latest": {
      "date": "2026-08-06",
      "value": "4.69"
     },
     "recent": [
      {
       "date": "2026-07-22",
       "value": "4.67"
      },
      {
       "date": "2026-07-22",
       "value": "4.67"
      }
     ]
    },
    "PAYEMS": {
     "label": "非农就业(千人)",
     "latest": {
      "date": "2026-07-01",
      "value": "158858"
     },
     "recent": [
      {
       "date": "2025-08-01",
       "value": "158472"
      },
      {
       "date": "2025-08-01",
       "value": "158472"
      }
     ]
    },
    "T10Y2Y": {
     "label": "10Y-2Y利差%",
     "latest": {
      "date": "2026-08-07",
      "value": "0.46"
     },
     "recent": [
      {
       "date": "2026-07-23",
       "value": "0.34"
      },
      {
       "date": "2026-07-23",
       "value": "0.34"
      }
     ]
    },
    "UNRATE": {
     "label": "失业率%",
     "latest": {
      "date": "2026-07-01",
      "value": "4.1"
     },
     "recent": [
      {
       "date": "2025-07-01",
       "value": "4.3"
      },
      {
       "date": "2025-07-01",
       "value": "4.3"
      }
     ]
    },
    "CPIAUCSL": {
     "label": "CPI物价指数",
     "latest": {
      "date": "2026-06-01",
      "value": "332.568"
     },
     "recent": [
      {
       "date": "2025-06-01",
       "value": "321.435"
      },
      {
       "date": "2025-06-01",
       "value": "321.435"
      }
     ]
    },
    "FEDFUNDS": {
     "label": "联邦基金利率%",
     "latest": {
      "date": "2026-07-01",
      "value": "3.63"
     },
     "recent": [
      {
       "date": "2025-08-01",
       "value": "4.33"
      },
      {
       "date": "2025-08-01",
       "value": "4.33"
      }
     ]
    }
   },
   "source": "FRED fredgraph.csv (no key required)"
  },
  "source": "fred",
  "data_type": "经济指标",
  "collected_at": "2
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/econ-fred-a8bd2b38/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdatum.com](https://www.zero.xyz/host/agentdatum.com/llms.txt)
