/v1/mole-mass
Mole-mass-particle conversion
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/stoichiometry-api/v1/mole-mass" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stoichiometry-api/v1/mole-mass", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stoichiometry-api/v1/mole-mass");
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/mole-mass",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "moles = mass / molar_mass; particles = moles · Nₐ (6.02214076e23). Give moles OR mass and the molar mass to get the rest.",
"moles": 2,
"inputs": {
"mass": null,
"moles": 2,
"molar_mass": 18.015
},
"mass_g": 36.03,
"particles": 1.204428152e+24,
"avogadro_constant": 6.02214076e+23
},
"meta": {
"timestamp": "2026-06-05T11:30:39.164Z",
"request_id": "e9cb875d-49c4-40bc-abfa-18da518412f0"
},
"status": "ok",
"message": "Mole-mass conversion",
"success": true
}