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/threephase-api

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/threephase-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/threephase-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/threephase-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/threephase-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": "Voltages in volts, currents in amperes, power factor −1…1. 'Line' voltage is line-to-line. Balanced three-phase loads.",
        "service": "threephase-api",
        "formulae": {
            "wye": "V_L = √3·V_phase, I_L = I_phase",
            "delta": "V_L = V_phase, I_L = √3·I_phase",
            "real_power": "P = √3·V_L·I_L·cosφ",
            "apparent_power": "S = √3·V_L·I_L",
            "reactive_power": "Q = √3·V_L·I_L·sinφ"
        },
        "endpoints": {
            "GET /v1/wye": "Star (wye) connection: VL = √3·Vphase, IL = Iphase.",
            "GET /v1/meta": "This document.",
            "GET /v1/delta": "Delta connection: VL = Vphase, IL = √3·Iphase.",
            "GET /v1/power": "Real/apparent/reactive three-phase power, or solve the line current from a power."
        },
        "description": "Three-phase AC power calculator: real, apparent and reactive power from line voltage, current and power factor, and the line/phase voltage and current relationships for star (wye) and delta connections."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:04.128Z",
        "request_id": "e9b62757-c226-4f00-af99-8a30bb5256c3"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}