Fetch any of FRED's ~800,000 economic time series by series ID
agent402.tools/api/fred-series
Fetch any of FRED's ~800,000 economic time series by series ID - GDP (GDPC1), CPI (CPIAUCSL), unemployment (UNRATE), fed funds (DFF), and so on. Supports date windowing and the standard FRED units transformations (lin, chg, ch1, pch, pc1, pca, cca, log).
GET
https://agent402.tools/api/fred-seriesUptime0.0% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent402.tools/api/fred-series?endDate=2022-12-31&seriesId=GDPC1&startDate=2018-01-01");
console.log(await res.json());Example input
{
"endDate": "2022-12-31",
"seriesId": "GDPC1",
"startDate": "2018-01-01"
}Price changes
- Nov 25, 20260.001 → 0.005
- Nov 25, 20260.005 → 0.001
