/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/stoichiometry-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stoichiometry-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stoichiometry-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/stoichiometry-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": "Amounts in mol, masses in g, molar masses in g/mol. Coefficients are the balanced-equation stoichiometric numbers (default 1).",
"service": "stoichiometry-api",
"formulae": {
"limiting": "extent_i = moles_i / coeff_i ; smallest limits",
"particles": "N = moles · Nₐ",
"percent_yield": "actual / theoretical · 100",
"theoretical_yield": "n_product = n_limiting · (coeff_product / coeff_limiting)"
},
"constants": {
"avogadro_per_mol": 6.02214076e+23
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/yield": "Theoretical yield (moles & mass) and percent yield from the limiting reagent.",
"GET /v1/mole-mass": "Convert between moles, mass and particle count for a given molar mass.",
"GET /v1/limiting-reagent": "Limiting reagent, reaction extent and excess remaining from two reactants and their coefficients."
},
"description": "Reaction stoichiometry calculator: limiting reagent and excess, theoretical and percent yield, and mole–mass–particle conversions via Avogadro's number."
},
"meta": {
"timestamp": "2026-06-05T11:30:39.340Z",
"request_id": "50999c86-cc3f-46a0-bf87-c0219cec34b1"
},
"status": "ok",
"message": "Meta",
"success": true
}