Ir al contenido
GET /v1/electrical-length

Electrical length

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/transmissionline-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/transmissionline-api/v1/electrical-length" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/transmissionline-api/v1/electrical-length", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/transmissionline-api/v1/electrical-length");
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/transmissionline-api/v1/electrical-length",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "note": "Wavelength on the line λ = vf·c/f (velocity factor accounts for the dielectric). Electrical length = physical length / λ, in wavelengths, degrees and radians.",
        "inputs": {
            "length_m": 0.05,
            "frequency_hz": 3000000000,
            "velocity_factor": 0.66
        },
        "wavelength_m": 0.065954341,
        "electrical_length_deg": 272.916078,
        "electrical_length_rad": 4.76328414,
        "length_in_wavelengths": 0.7581
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:29.779Z",
        "request_id": "d2df8516-58ad-4370-a19b-c1cab8ee496a"
    },
    "status": "ok",
    "message": "Electrical length",
    "success": true
}