Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/stoichiometry-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "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
}