Aller au contenu
GET /v1/numerical-aperture

Numerical aperture

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/fiber-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}