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).
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"
# 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| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| series_id | string | required | DFF | Official FRED series ID (e.g. "DFF", "CPIAUCSL", "UNRATE", "DGS10", "GDP") |
| limit | number | optional | 30 | Latest non-null observations returned (1-200, default 30) |
| 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.0010 / call | $0/mo · Balance never expires |
| Remote MCP Tool | macro_fred_series | OAuth 2.1 Hub & /mcp/finance |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 44 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 3137t → 216t (-93%) | Partner credit: eligible |
More Finance & Crypto Real-Time APIs
Fetch official SEC EDGAR regulatory filings by stock ticker or CIK with direct document URLs.
Retrieve recent SEC Form 4 insider stock purchases, sales, and awards for any public company ticker.
Query audited US-GAAP XBRL revenue, net income, cash, assets, and EPS history directly from SEC EDGAR.
Search live DEX liquidity pools across Solana, Base, Ethereum, Arbitrum, and BSC with real-time price, FDV, and 24h volume.
Fetch all active DEX liquidity pools for a specific chain and token contract address.
Track surging trending liquidity pools on Base, Solana, Ethereum, or Arbitrum via GeckoTerminal.
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.