AgentAPIGate
Back to Catalog
GET /v1/macro/fred/seriesPack: finance·MCP Tool: macro_fred_series

Federal Reserve Economic Data (FRED) Time Series

Retrieve historical economic and macro indicator time-series observations from official St. Louis Fed FRED CSV feeds (e.g. DFF, CPIAUCSL, UNRATE, GDP).

API Key Price:$0.0010 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Official FRED series ID (e.g. "DFF", "CPIAUCSL", "UNRATE", "DGS10", "GDP")
Latest non-null observations returned (1-200, default 30)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/macro/fred/series" \
  --data-urlencode "series_id=DFF" \
  --data-urlencode "limit=30" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-93% tokens
# Federal Reserve Economic Data (FRED) Time Series (`macro.fred.series`)
**series_id**: DFF · **latest_date**: 2026-11-26 · **latest_value**: 3.88 · **count**: 30 · **source_url**: https://fred.stlouisfed.org/series/DFF

## observations
- [1] date: 2026-11-26, value: 3.88
- [2] date: 2026-11-25, value: 3.88
- [3] date: 2026-11-24, value: 3.88
- [4] date: 2026-11-23, value: 3.88
- [5] date: 2026-11-22, value: 3.88
- [6] date: 2026-11-21, value: 3.88
- [7] date: 2026-11-20, value: 3.88
- [8] date: 2026-11-19, value: 3.88
- [9] date: 2026-11-18, value: 3.88
- [10] date: 2026-11-17, value: 3.88
- [11] date: 2026-11-16, value: 3.88
- [12] date: 2026-11-15, value: 3.88
- [13] date: 2026-11-14, value: 3.88
- [14] date: 2026-11-13, value: 3.88
- [15] date: 2026-11-12, value: 3.88

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: macro.fred.series · Method: GET
ParameterTypeReqSample / DefaultDescription
series_idstringrequiredDFFOfficial FRED series ID (e.g. "DFF", "CPIAUCSL", "UNRATE", "DGS10", "GDP")
limitnumberoptional30Latest non-null observations returned (1-200, default 30)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0010 / call$0/mo · Balance never expires
Remote MCP Toolmacro_fred_seriesOAuth 2.1 Hub & /mcp/finance
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency44 ms$0 billed on empty or 4xx/5xx
Token Economy3137t → 216t (-93%)Partner credit: eligible

More Finance & Crypto Real-Time APIs

Frequently Asked Questions

How do I call Federal Reserve Economic Data (FRED) Time Series (macro.fred.series) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/macro/fred/series with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool macro_fred_series on https://mcp.agentapigate.ai/mcp.

What does macro.fred.series cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.001 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.series?

Passing ?format=md transforms the response into normalized Markdown (~216 tokens vs ~3137 raw tokens, saving 93% 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.series"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.