/v1/meta
Spec
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/fiber-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fiber-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fiber-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"notes": "Core radius and wavelength in metres (e.g. 1310 nm = 1.31e-6 m), indices dimensionless. Single-mode cutoff V = 2.405.",
"service": "fiber-api",
"formulae": {
"modes": "step M ≈ V²/2 ; graded M ≈ V²/4",
"v_number": "V = 2π·a·NA/λ",
"numerical_aperture": "NA = √(n1² − n2²)"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/modes": "Approximate guided-mode count for a step- or graded-index fibre.",
"GET /v1/v-number": "V-number, single/multimode classification and cutoff wavelength.",
"GET /v1/numerical-aperture": "NA, acceptance angle and index difference from core and cladding indices."
},
"description": "Optical-fibre calculator: numerical aperture and acceptance angle, the V-number (normalized frequency) with single-mode cutoff, and the number of guided modes."
},
"meta": {
"timestamp": "2026-06-05T11:30:30.924Z",
"request_id": "ff34e0d9-2690-46f9-bed5-52c8e949e326"
},
"status": "ok",
"message": "Meta",
"success": true
}