Skip to content
Fourohtwo

402.com.tr/api/x402/inflation-adjust

Restate an amount from one year in another year's money, for any country in the World Bank consumer-price series (1960 onwards). Returns the adjusted amount, the cumulative inflation and both index values so the arithmetic is checkable. The series is annual and published with a lag, so a request for a year that does not exist yet answers with the newest one available and says which. For contract c

BaseSolanaAnswering
GEThttps://402.com.tr/api/x402/inflation-adjust

Uptime100% 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://402.com.tr/api/x402/inflation-adjust?amount=1000&country=TR&from=2015&to=2025");
console.log(await res.json());

Example input

{
  "amount": "1000",
  "country": "TR",
  "from": "2015",
  "to": "2025"
}