/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/engine-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/engine-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/engine-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/engine-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": "Bore and stroke in mm, volumes in cc, weight in kg, power in hp or kW, displacement in litres. 1 cubic inch = 16.387 cc.",
"service": "engine-api",
"formulae": {
"compression": "CR = (V_swept + V_clearance)/V_clearance",
"displacement": "V = (π/4)·bore²·stroke·cylinders",
"specific_output": "power / displacement (hp per litre)"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/compression": "Compression ratio ⇄ clearance volume, with optional boosted effective CR.",
"GET /v1/displacement": "Engine displacement (cc, L, ci) and bore/stroke geometry.",
"GET /v1/power-to-weight": "Power-to-weight ratios and specific output (hp per litre)."
},
"description": "Internal-combustion engine calculator: displacement from bore, stroke and cylinders; compression ratio and clearance volume (with optional boost); and power-to-weight and specific output."
},
"meta": {
"timestamp": "2026-06-05T03:09:03.381Z",
"request_id": "fa55a5ee-60a7-46f9-8dcf-f21bc08ba774"
},
"status": "ok",
"message": "Meta",
"success": true
}