Zum Inhalt springen
GET /v1/meta

Spec

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/marketing-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}