/v1/meta
Spec
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/marketing-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/marketing-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/marketing-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"notes": "Money in any currency, rates as percentages. Frequency is purchases per year; gross margin is a fraction (0–1). Marketing estimates, not guarantees.",
"service": "marketing-api",
"formulae": {
"cpm": "spend/impressions × 1000",
"ctr": "clicks/impressions × 100",
"ltv": "AOV × frequency × lifespan × margin",
"roas": "revenue/spend"
},
"endpoints": {
"GET /v1/ads": "Campaign metrics from any two of spend, impressions, clicks and conversions.",
"GET /v1/ltv": "Customer lifetime value, CAC and the LTV:CAC ratio with payback period.",
"GET /v1/meta": "This document.",
"GET /v1/roas": "Return on ad spend, ROI and break-even ROAS."
},
"description": "Digital-marketing metrics calculator: ad-campaign KPIs (CPM, CPC, CTR, conversion, CPA), ROAS/ROI, and customer LTV with the LTV:CAC ratio."
},
"meta": {
"timestamp": "2026-06-04T18:38:15.569Z",
"request_id": "7b65bc12-3aa2-4b29-acce-618a78932102"
},
"status": "ok",
"message": "Meta",
"success": true
}