Get FRED Data Series
get_seriesReturns recent observations for any supported FRED data series. Use this to get current and historical values for mortgage rates, Treasury yields, Fed funds rate, CPI, SOFR, unemployment, GDP, energy prices, and more. Common use cases:
Current 30-yr mortgage rate: series_id=MORTGAGE30US, days=30
Current Fed funds rate: series_id=FEDFUNDS, days=30
Current 10-yr Treasury yield: series_id=DGS10, days=30
Current CPI (inflation): series_id=CPIAUCSL, days=30
Current WTI crude oil: series_id=DCOILWTICO, days=30 The most recent observation in the returned array is the current value. Price: $0.05 / $0.10 / $0.25 USDC per call (30 / 90 / 365 days) via x402 (Base or Solana).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | History window: 30 ($0.05), 90 ($0.10), or 365 ($0.25). Use 30 for current/recent values. | |
| series_id | Yes | FRED series ID. Use IORB for Interest on Reserve Balances, EFFR for Effective Fed Funds Rate, MORTGAGE30US for 30-yr mortgage rate, SAHMREALTIME for Sahm Rule, etc. |