Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/transmissionline-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/transmissionline-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/transmissionline-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/transmissionline-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/transmissionline-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "notes": "Impedances in Ω (load as resistance + reactance), electrical length in degrees, physical length in m, frequency in Hz. Lossless line. Velocity factor 0–1 (default 1).",
        "service": "transmissionline-api",
        "formulae": {
            "wavelength": "λ = vf·c/f",
            "quarter_wave": "Z0' = √(Z1·Z2)",
            "input_impedance": "Zin = Z0·(ZL + jZ0·tanβl)/(Z0 + jZL·tanβl)"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/quarter-wave": "Quarter-wave transformer impedance to match two real impedances.",
            "GET /v1/input-impedance": "Input impedance of a line from Z0, the complex load and the electrical length.",
            "GET /v1/electrical-length": "Electrical length (wavelengths/degrees) from physical length, frequency and velocity factor."
        },
        "description": "Transmission-line calculator: input impedance of a loaded lossless line, quarter-wave matching-transformer impedance, and physical-to-electrical length conversion."
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:30.069Z",
        "request_id": "65e33f9e-4427-48bb-997a-d21859ca31a7"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}