/v1/meta
Spec
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}