/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/wavelength-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wavelength-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wavelength-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/wavelength-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Vacuum by default; pass refractive_index for light in a medium.",
"service": "wavelength",
"constants": {
"ev_in_joules": 1.602176634e-19,
"speed_of_light_m_s": 299792458,
"planck_constant_j_s": 6.62607015e-34
},
"endpoints": {
"/v1/band": "Classify the EM-spectrum band (radio sub-band, visible colour, …) of a wavelength or frequency.",
"/v1/energy": "Photon energy (J, eV, keV) from a wavelength or frequency.",
"/v1/convert": "Convert between wavelength and frequency (with photon energy, wavenumber and band), optionally in a medium."
},
"description": "Electromagnetic wave maths: wavelength/frequency conversion, photon energy, and EM-spectrum band classification.",
"frequency_units": [
"hz",
"khz",
"mhz",
"ghz",
"thz",
"phz"
],
"wavelength_units": [
"m",
"km",
"cm",
"mm",
"um",
"micron",
"nm",
"pm",
"angstrom",
"a"
]
},
"meta": {
"timestamp": "2026-06-04T01:59:16.911Z",
"request_id": "dfbd336d-4329-4a67-b707-fe49b3485c84"
},
"status": "ok",
"message": "Meta",
"success": true
}