/v1/reach
Maximum reach
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/opticalbudget-api/v1/reach" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/opticalbudget-api/v1/reach", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/opticalbudget-api/v1/reach");
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/opticalbudget-api/v1/reach",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Maximum reach = (power budget − fixed losses − system margin) ÷ the fibre attenuation. The margin (typically 3 dB) reserves headroom for ageing, temperature, bends and future repair splices, so the link still works years on. Lower-attenuation 1550 nm fibre stretches the reach; this assumes the link is loss-limited, not dispersion-limited — at high bit rates dispersion can cap distance first.",
"inputs": {
"tx_power_dbm": 0,
"fixed_loss_db": 2,
"system_margin_db": 3,
"attenuation_db_km": 0.35,
"rx_sensitivity_dbm": -23
},
"max_distance_km": 51.429,
"power_budget_db": 23,
"usable_for_fiber_db": 18
},
"meta": {
"timestamp": "2026-06-07T08:18:07.417Z",
"request_id": "748c6e17-4e76-4220-bca8-b6eb4da38aee"
},
"status": "ok",
"message": "Max reach",
"success": true
}