/v1/adjust
Inflation adjust
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/inflation-api/v1/adjust" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/inflation-api/v1/adjust", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/inflation-api/v1/adjust");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/inflation-api/v1/adjust",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Annual-rate method: adjusted = amount · (1+r)^years. The rate may be a percent (3) or a fraction (0.03).",
"inputs": {
"rate": 3,
"years": 10,
"amount": 100
},
"method": "annual-rate",
"adjusted_amount": 134.3916,
"inflation_factor": 1.34391638,
"total_inflation_pct": 34.391638
},
"meta": {
"timestamp": "2026-06-05T11:30:32.383Z",
"request_id": "d49ccc26-e12f-4518-9813-04ce2957c52c"
},
"status": "ok",
"message": "Inflation adjust",
"success": true
}