/v1/ltv
LTV & CAC
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/marketing-api/v1/ltv" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/marketing-api/v1/ltv", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/marketing-api/v1/ltv");
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/marketing-api/v1/ltv",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"cac": 50,
"note": "LTV = AOV × frequency × lifespan × margin. A healthy LTV:CAC ratio is around 3 or higher.",
"inputs": {
"gross_margin": 0.6,
"lifespan_years": 3,
"purchase_frequency": 4,
"average_order_value": 50
},
"annual_value": 120,
"ltv_cac_ratio": 7.2,
"cac_payback_months": 5,
"customer_lifetime_value": 360
},
"meta": {
"timestamp": "2026-06-04T18:38:15.404Z",
"request_id": "15b84371-f9ae-4f1d-a475-beeeab3ceee7"
},
"status": "ok",
"message": "LTV & CAC",
"success": true
}