/v1/roas
ROAS, ROI, profit & break-even
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/admetrics-api/v1/roas" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/admetrics-api/v1/roas", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/admetrics-api/v1/roas");
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/admetrics-api/v1/roas",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "ROAS = revenue ÷ spend. Break-even ROAS = 1 ÷ gross margin. Gross profit = revenue × margin − spend.",
"roas": 5,
"input": {
"spend": 1000,
"margin": 0.5,
"revenue": 5000
},
"profit": 4000,
"profitable": true,
"roi_percent": 400,
"gross_profit": 1500,
"break_even_roas": 2
},
"meta": {
"timestamp": "2026-06-03T17:41:57.883Z",
"request_id": "978ac6e5-149c-40f9-b7bc-194b197a759c"
},
"status": "ok",
"message": "ROAS & profitability",
"success": true
}