/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/voltagedrop-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/voltagedrop-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/voltagedrop-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/voltagedrop-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": "Current in A, length (one-way) in m, area in mm², voltage in V. Resistivity ρ at 20°C: copper 0.0172, aluminium 0.0282 Ω·mm²/m. Resistive model only — line reactance and temperature derating are not included.",
"service": "voltagedrop-api",
"formulae": {
"power_loss": "P = N·I²·R, N = 2 or 3 conductors",
"resistance": "R = ρ·L/A (one-way)",
"voltage_drop": "Vd = k·I·R, k = 2 (single-phase), √3 (three-phase)"
},
"endpoints": {
"GET /v1/drop": "Voltage drop, percentage and voltage at the load over a cable run.",
"GET /v1/meta": "This document.",
"GET /v1/power": "Power dissipated in the cable and the resulting efficiency.",
"GET /v1/sizing": "Smallest standard conductor cross-section for an allowable percentage drop."
},
"description": "Cable voltage-drop and conductor-sizing calculator: voltage drop over a run, conductor cross-section for an allowable drop, and cable power loss for copper and aluminium."
},
"meta": {
"timestamp": "2026-06-04T18:38:26.964Z",
"request_id": "d3c019f9-092e-4893-b867-bd73e38ab1e5"
},
"status": "ok",
"message": "Meta",
"success": true
}