/v1/yield
Theoretical & percent yield
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/stoichiometry-api/v1/yield" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stoichiometry-api/v1/yield", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stoichiometry-api/v1/yield");
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/yield",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"note": "Theoretical yield: n_product = n_limiting · (coeff_product / coeff_limiting); mass = n · M. Percent yield = actual / theoretical · 100.",
"inputs": {
"limiting_moles": 1,
"product_molar_mass": 18.015,
"product_coefficient": 2,
"limiting_coefficient": 1
},
"percent_yield": 83.2639,
"actual_yield_g": 30,
"theoretical_moles": 2,
"theoretical_mass_g": 36.03
},
"meta": {
"timestamp": "2026-06-05T11:30:39.244Z",
"request_id": "c32c23fe-a96f-449d-9415-928c7acc412a"
},
"status": "ok",
"message": "Yield",
"success": true
}