US macroeconomic indicators in one call
www.blockchainiq.co/api/x402/v1/macro
US macroeconomic indicators in one call: real GDP growth, CPI inflation, core PCE, unemployment rate, nonfarm payrolls, Fed funds rate, 2-year and 10-year Treasury yields, Japan 10-year yield, WTI crude oil, gold and silver. Each with latest value, prior value and as-of date. Use for the macro backdrop to crypto and risk assets. Sourced from FRED, other official sources and commodity price feeds.
GET
https://www.blockchainiq.co/api/x402/v1/macroUptime100% of 3 checks 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://www.blockchainiq.co/api/x402/v1/macro");
console.log(await res.json());Example input
{}