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

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/capacitor-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/capacitor-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/capacitor-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/capacitor-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": "Capacitance in F (or capacitance_uf/_nf/_pf), voltage in V, resistance in Ω, time in s. The combination list shares one unit.",
        "service": "capacitor-api",
        "formulae": {
            "charge": "Q = CV",
            "energy": "E = ½CV² = ½QV",
            "charging": "V(t) = Vs(1 − e^(−t/RC))",
            "time_constant": "τ = RC"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/energy": "Energy and charge from any two of capacitance, voltage and charge.",
            "GET /v1/charging": "RC transient — voltage at a time, or the time to reach a target voltage.",
            "GET /v1/combination": "Total capacitance of capacitors in series or parallel."
        },
        "description": "Capacitor calculator: stored energy and charge, RC charging/discharging transients with the time constant, and series/parallel capacitance."
    },
    "meta": {
        "timestamp": "2026-06-05T03:09:00.145Z",
        "request_id": "476736de-0745-4dff-94ab-6cb88e586a9d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}