US economic series by series ID, from the agency that publishes each
agent402.tools/api/us-macro-series
US economic series by series ID, from the agency that publishes each; accepts the common series IDs: GDP and PCE (GDPC1, PCEPI), jobs and prices (UNRATE, CPIAUCSL), Treasury yields (DGS10, T10YIE), money (M2SL), FX (DEXUSEU), rates (FEDFUNDS). Units and frequencies; other IDs answer 404 listing those served. Sources: U.S. BLS, BEA, U.S. Treasury, Federal Reserve Board and the New York Fed. Agent40
GET
https://agent402.tools/api/us-macro-seriesUptime100% 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/us-macro-series?endDate=2024-12-31&seriesId=GDPC1&startDate=2024-01-01");
console.log(await res.json());Example input
{
"endDate": "2024-12-31",
"seriesId": "GDPC1",
"startDate": "2024-01-01"
}