/v1/emergency
Emergency fund
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/savings-api/v1/emergency" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/savings-api/v1/emergency", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/savings-api/v1/emergency");
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/savings-api/v1/emergency",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Target = months of expenses; most advice is 3–6 months. Months to reach = ceil(shortfall / monthly saving).",
"inputs": {
"months": 6,
"current_savings": 3000,
"monthly_expenses": 2000
},
"shortfall": 9000,
"target_fund": 12000,
"funded_percent": 25,
"months_to_reach": 18
},
"meta": {
"timestamp": "2026-06-04T18:38:15.728Z",
"request_id": "9df43df9-54a8-41b4-be00-df9c406fc5ae"
},
"status": "ok",
"message": "Emergency fund",
"success": true
}