agent-finance-proxy.samikadry9.workers.dev/api/finance/macro
U.S. macroeconomic time series from FRED (Federal Reserve Economic Data): GDP, inflation (CPIAUCSL), unemployment (UNRATE), interest rates (FEDFUNDS) and any other FRED series id. Returns the 10 most recent observations as JSON, each with a date and a value. Useful when an agent needs current official U.S. economic figures without a FRED API key.
GET
https://agent-finance-proxy.samikadry9.workers.dev/api/finance/macroUptime100% 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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent-finance-proxy.samikadry9.workers.dev/api/finance/macro?series_id=GDP");
console.log(await res.json());Example input
{
"series_id": "GDP"
}More from Agent Finance Proxy
- agent-finance-proxy.samikadry9.workers.dev/api/finance/companyOne-call dossier on a U.S. public company from SEC EDGAR, looked up by stock ticker or CIK. Returns the profile (name, tickers, exchange, industry, fiscal year end), direct links to the latest annual report (10-K), quarterly report (10-Q) and current report (8-K), and key figures from the latest annual report: revenue, net income, diluted EPS, total assets, total liabilities, equity and cash, with0.10
- agent-finance-proxy.samikadry9.workers.dev/api/finance/macro-snapshotA one-call snapshot of the U.S. economy from FRED (Federal Reserve Economic Data): GDP, consumer price index, unemployment rate, federal funds rate and 10-year Treasury yield. Each indicator comes with its latest value and date and the value before it, so the direction of change is visible. Useful when an agent needs the current macro picture without making five separate calls.0.03
- agent-finance-proxy.samikadry9.workers.dev/api/finance/secRecent SEC EDGAR filings for a U.S. public company, looked up by stock ticker or CIK number. Returns the company name and its 10 latest filings as JSON, each with the form type (10-K, 10-Q, 8-K, 4 and others), filing date and accession number. Useful when an agent needs to check what a company filed recently or to locate a specific filing.0.01
