/v1/numerical-aperture
Numerical aperture
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/fiber-api/v1/numerical-aperture" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fiber-api/v1/numerical-aperture", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fiber-api/v1/numerical-aperture");
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/fiber-api/v1/numerical-aperture",
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": "NA = √(n1² − n2²); the acceptance angle θa = arcsin(NA) is the half-angle of the cone of light the fibre captures (in air). Δ = (n1 − n2)/n1.",
"inputs": {
"core_index": 1.48,
"cladding_index": 1.46
},
"numerical_aperture": 0.242487,
"acceptance_cone_deg": 28.066757,
"acceptance_angle_deg": 14.033378,
"relative_index_difference": 0.01351351
},
"meta": {
"timestamp": "2026-06-05T11:30:30.740Z",
"request_id": "02b72b81-24f3-4bc8-9976-67662f216e38"
},
"status": "ok",
"message": "Numerical aperture",
"success": true
}