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/antenna-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/antenna-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/antenna-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/antenna-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/antenna-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": {
        "note": "Starting lengths only — trim and tune for lowest SWR; surroundings and end effects shift resonance.",
        "service": "antenna",
        "endpoints": {
            "/v1/dipole": "Half-wave dipole total and per-leg length (m/ft/in) for a frequency.",
            "/v1/element": "Element length for any fraction of a wavelength (full/half/quarter/fifth/5-8 or custom).",
            "/v1/quarterwave": "Quarter-wave vertical/monopole element length."
        },
        "description": "Antenna length maths: half-wave dipole, quarter-wave vertical and arbitrary elements from a frequency and velocity factor.",
        "velocity_factor_default": 0.95
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:16.541Z",
        "request_id": "1d8b9bc7-9ebf-4fcf-aac7-9d1d19755c6c"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}