/v1/meta
Spec
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}