St. Louis Fed FRED Multi-Series Comparison
Fetch up to 6 official St. Louis Fed FRED macroeconomic series in one call (e.g. DFF, CPIAUCSL, UNRATE, DGS10, T10Y2Y) with latest values, period changes, and recent time-series observations.
curl -sG "https://api.agentapigate.ai/v1/macro/fred/multi_series" \ --data-urlencode "series_ids=DFF,CPIAUCSL,UNRATE,DGS10" \ --data-urlencode "limit=12" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# St. Louis Fed FRED Multi-Series Comparison (`macro.fred.multi_series`) **count**: 4 ## series - [1] series_id: DFF, latest_date: 2026-11-26, latest_value: 3.88, previous_date: 2026-11-25, previous_value: 3.88 - [2] series_id: CPIAUCSL, latest_date: 2026-10-01, latest_value: 337.476, previous_date: 2026-09-01, previous_value: 336.298 - [3] series_id: UNRATE, latest_date: 2026-10-01, latest_value: 4.1, previous_date: 2026-09-01, previous_value: 4.2 - [4] series_id: DGS10, latest_date: 2026-11-25, latest_value: 4.85, previous_date: 2026-11-24, previous_value: 4.91
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:macro.fred.multi_series · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| series_ids | string | required | DFF,CPIAUCSL,UNRATE,DGS10 | Comma-separated FRED series IDs (1 to 6 IDs, e.g. "DFF,CPIAUCSL,UNRATE,DGS10,T10Y2Y") |
| limit | number | optional | 12 | Recent observations per series (2-60) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0015 / call | $0/mo · Balance never expires |
| Remote MCP Tool | macro_fred_multi_series | OAuth 2.1 Hub & /mcp/finance |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 64 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 1712t → 153t (-91%) | Partner credit: eligible |
More macro.fred Sibling Endpoints
Retrieve historical economic and macro indicator time-series observations from official St. Louis Fed FRED CSV feeds (e.g. DFF, CPIAUCSL, UNRATE, GDP).
Retrieve a 1-call US macroeconomic dashboard across 10 flagship St. Louis Fed series: Fed Funds Rate (DFF), 10Y/2Y Treasury yields & 10Y-2Y spread, CPI, Core PCE, Unemployment, Real GDP, 30Y Mortgage, and VIX.
Frequently Asked Questions
How do I call St. Louis Fed FRED Multi-Series Comparison (macro.fred.multi_series) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/macro/fred/multi_series with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool macro_fred_multi_series on https://mcp.agentapigate.ai/mcp.
What does macro.fred.multi_series cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.0015 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on macro.fred.multi_series?
Passing ?format=md transforms the response into normalized Markdown (~153 tokens vs ~1712 raw tokens, saving 91% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only finance endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["finance"], optional allowed_endpoints: ["macro.fred.multi_series"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.