Aller au contenu
GET /v1/meta

Spec

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/waveguide-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/waveguide-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/waveguide-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/waveguide-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/waveguide-api/v1/meta",
    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": {
        "notes": "Dimensions in mm, frequencies in GHz. For a > b the dominant mode is TE10, fc = c/(2a). c = 299792458 m/s.",
        "service": "waveguide-api",
        "formulae": {
            "cutoff": "fc = (c/2)·√((m/a)² + (n/b)²)",
            "velocities": "vp = c/√(1−(fc/f)²) ; vg = c·√(1−(fc/f)²)",
            "guide_wavelength": "λg = λ0/√(1 − (fc/f)²)"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/modes": "All propagating modes at a frequency, with the dominant mode.",
            "GET /v1/cutoff": "Cutoff frequency and wavelength of a TEmn/TMmn mode.",
            "GET /v1/guide-wavelength": "Guide wavelength, phase and group velocity at a frequency."
        },
        "description": "Rectangular-waveguide calculator: cutoff frequency of a TE/TM mode, guide wavelength and phase/group velocity at an operating frequency, and the list of propagating modes."
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:30.496Z",
        "request_id": "844c9f59-b999-4165-b8dd-79dd91d2198e"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}