https://api.cdp.coinbase.com/platform/v2/x402).
Discovery: /.well-known/x402 |
agent.json |
OpenAPI spec |
llms.txt
Returns the latest US Consumer Price Index for All Urban Consumers (CPIAUCSL) from the Federal Reserve Economic Data (FRED) API. Includes the latest value, month-over-month percentage change, a 6-month historical series for trend analysis, and AI-generated commentary on the inflation trend and its implications for Federal Reserve monetary policy.
Sourced directly from FRED (api.stlouisfed.org). Data is cached and refreshed regularly. Response time under 500ms.
This endpoint is designed for AI agents. Typical callers include:
{
"country": "US",
"indicator": "CPI - All Urban Consumers",
"series_id": "CPIAUCSL",
"source": "FRED (Federal Reserve Economic Data)",
"period": "2026-03", // latest data month
"value": 314.222, // index value (1982-84 = 100)
"unit": "Index (1982-84=100)",
"mom_change": 0.241, // month-over-month % change
"series": [ // last 6 months
{ "period": "2026-03", "value": 314.222 },
{ "period": "2026-02", "value": 313.464 }
],
"commentary": "US CPI rose 0.24% in March 2026..." // AI analysis
}
GET https://globalapi.dev/us/cpi — $0.005 USDC via x402
payment-required header containing base64-encoded payment instructionspayment-signature headerCompatible client libraries: @x402/client (TypeScript), x402-python (Python).