Skip to content
Fourohtwo

Country inflation and CPI history from World Bank WDI

economy.openverbs.com/v1/inflation

Country inflation and CPI history from World Bank WDI: annual consumer-price inflation (%) and consumer price index (2010=100), by ISO3 country for the last 1-10 complete years. Includes independent latest values, units, nulls, source update date and IMF/CC BY attribution. Annual history, not monthly releases or forecasts; CPI levels do not compare prices across countries.

BaseAnswering
POSThttps://economy.openverbs.com/v1/inflation

Uptime100% of 4 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://economy.openverbs.com/v1/inflation", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"country":"BRA","years":5}),
});
console.log(await res.json());

Example input

{
  "country": "BRA",
  "years": 5
}