Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/nernst-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "notes": "Potentials in volts (standard reduction potentials), electrons n a positive integer, temperature in K (default 298.15). Q and K are dimensionless.",
        "service": "nernst-api",
        "formulae": {
            "nernst": "E = E° − (R·T/nF)·ln Q",
            "cell_emf": "E°cell = E°cathode − E°anode",
            "equilibrium": "K = exp(nF·E°cell / RT)",
            "free_energy": "ΔG° = −nF·E°cell"
        },
        "constants": {
            "faraday_c_mol": 96485.33212,
            "gas_constant_j_mol_k": 8.314462618
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/nernst": "Cell potential under non-standard conditions from E°, electrons and reaction quotient Q.",
            "GET /v1/equilibrium": "Equilibrium constant K and ΔG° from the standard cell potential.",
            "GET /v1/cell-potential": "Standard cell EMF from cathode/anode reduction potentials, with ΔG° and spontaneity."
        },
        "description": "Electrochemistry calculator: the Nernst equation for non-standard cell potential, galvanic cell EMF from electrode potentials with Gibbs free energy and spontaneity, and the equilibrium constant of a redox reaction."
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:39.752Z",
        "request_id": "de565556-20a8-43f2-b423-d4d593f46e71"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}