Sources › Finance › FRED › Series Observations

FRED Series Observations API

FRED observations — any economic series the St. Louis Fed publishes, by id.

FREDGET /series-observationsAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:fred/series-observations

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 1 hour.

Parameters

NameTypeInRequiredDescription
seriesstringqueryNoFRED series ids, comma-separated, up to 12 — the upstream drops the 13th silently. A missing observation comes back as null, never 0. Default DGS10. Example: DGS10,DGS2,T10Y2Y
fromstringqueryNoFirst observation date, YYYY-MM-DD. Applied to every series. Example: 2026-01-01
tostringqueryNoLast observation date, YYYY-MM-DD. Applied to every series. Example: 2026-08-18
transformationenum: lin | chg | ch1 | pch | pc1 | pca | cch | cca | logqueryNoServer-side transform: lin (level), chg, ch1, pch, pc1 (year-over-year %), pca, cch, cca, log. Default lin. Example: pc1
frequencyenum: Daily | Weekly | Biweekly | Monthly | Quarterly | Semiannual | AnnualqueryNoResample a higher-frequency series down to Daily, Weekly, Biweekly, Monthly, Quarterly, Semiannual or Annual. Example: Monthly
aggregationenum: avg | sum | eopqueryNoHow `frequency` collapses each bucket: avg, sum or eop (end of period). Default avg. Example: avg
lengthnumberqueryNoObservations to return, newest first (default 100, max 20000) Example: 100

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:fred/series-observations?series=DGS10%2CDGS2%2CT10Y2Y&from=2026-01-01&to=2026-08-18&transformation=pc1&frequency=Monthly&aggregation=avg&length=100" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:fred/series-observations?series=DGS10%2CDGS2%2CT10Y2Y&from=2026-01-01&to=2026-08-18&transformation=pc1&frequency=Monthly&aggregation=avg&length=100", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/finance:fred/series-observations",
    params={"series":"DGS10,DGS2,T10Y2Y","from":"2026-01-01","to":"2026-08-18","transformation":"pc1","frequency":"Monthly","aggregation":"avg","length":"100"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:fred",
  "data": {
    "to": "2026-08-01",
    "from": "2024-01-01",
    "count": 100,
    "items": [
      {
        "date": "2026-07-31",
        "values": {
          "DFII10": 2.47
        }
      },
      {
        "date": "2026-07-30",
        "values": {
          "DFII10": 2.41
        }
      },
      {
        "date": "2026-07-29",
        "values": {
          "DFII10": 2.41
        }
      },
      {
        "date": "2026-07-28",
        "values": {
          "DFII10": 2.41
        }
      },
      {
        "date": "2026-07-27",
        "values": {
          "DFII10": 2.44
        }
      },
      {
        "date": "2026-07-24",
        "values": {
          "DFII10": 2.43
        }
      }
    ],
    "total": 674,
    "series": [
      "DFII10"
    ],
    "dataset": "series-observations",
    "missing": [],
    "provider": "fred",
    "resolved": [
      "DFII10"
    ],
    "transformation": "lin"
  },
  "timestamp": "2026-08-20T15:00:47Z"
}

Frequently asked questions

How do I call the FRED Series Observations API?

Send a GET request to https://api.zapi.ink/v1/finance:fred/series-observations with your Zapi key in the x-api-key header. Parameters — optional: series, from, to, transformation, frequency, aggregation, length. The response is JSON in the { project, data, timestamp } envelope.

What does the FRED Series Observations API return?

FRED observations — any economic series the St. The example response has the fields to, from, count, items, total, series, dataset, missing. Each item in items has fields such as date, values.

Is the FRED Series Observations API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the FRED Series Observations API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "fred" and endpoint "series-observations".

What other FRED API endpoints are there?

It has 3 endpoints. Besides Series Observations: Observations Vintage, Release Dates.