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

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/electrolysis-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/electrolysis-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/electrolysis-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/electrolysis-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": "Molar mass in g/mol, electrons n the valence (or per gas molecule), current in A, time in s, charge in C. Faraday constant 96485 C/mol.",
        "service": "electrolysis-api",
        "formulae": {
            "mass": "m = (Q·M)/(n·F)",
            "charge": "Q = (m·n·F)/M",
            "gas_volume": "V = (Q/(n·F)) · 22.414 L/mol"
        },
        "constants": {
            "faraday_c_mol": 96485.33212,
            "molar_volume_stp_l": 22.413969
        },
        "endpoints": {
            "GET /v1/mass": "Deposited mass from charge (or current and time), molar mass and valence.",
            "GET /v1/meta": "This document.",
            "GET /v1/charge": "Charge and plating time needed to deposit a target mass.",
            "GET /v1/gas-volume": "Volume of gas evolved from the charge and electrons per molecule."
        },
        "description": "Faraday's-law electrolysis calculator: mass deposited or dissolved, the charge and time required for a target mass, and the volume of gas evolved."
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:25.012Z",
        "request_id": "be349b3b-8029-4614-818d-a1f65279b058"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}