/v1/modes
Mode count
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/fiber-api/v1/modes" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fiber-api/v1/modes", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fiber-api/v1/modes");
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/modes",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Guided modes: step-index M ≈ V²/2, graded-index M ≈ V²/4 (large-V approximation). Below V = 2.405 only the single fundamental mode propagates.",
"inputs": {
"profile": "step",
"v_number": 5.234
},
"single_mode": false,
"raw_mode_estimate": 13.6974,
"approximate_mode_count": 13
},
"meta": {
"timestamp": "2026-06-05T11:30:30.632Z",
"request_id": "bd6a8d0b-c1fe-4027-825e-b6219b4ce53a"
},
"status": "ok",
"message": "Mode count",
"success": true
}