/v1/meta
Spec
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/gasmixture-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gasmixture-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gasmixture-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/gasmixture-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"notes": "Pressures in any consistent unit; amounts in moles; molar masses in g/mol. Lists are comma-separated. Ideal-gas mixtures.",
"service": "gasmixture-api",
"formulae": {
"dalton": "P_total = ΣPᵢ, Pᵢ = xᵢ·P_total",
"graham": "rate₁/rate₂ = √(M₂/M₁)",
"mole_fraction": "xᵢ = nᵢ / Σn"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/effusion": "Graham's law effusion/diffusion rate ratio from two molar masses.",
"GET /v1/mole-fraction": "Mole fractions, partial pressures and mass fractions from component amounts.",
"GET /v1/partial-pressure": "Dalton's law — total from partials, partial from a mole fraction, or fraction from moles."
},
"description": "Gas-mixture calculator: Dalton's law of partial pressures, mole and mass fractions of a mixture, and Graham's law of effusion and diffusion."
},
"meta": {
"timestamp": "2026-06-04T18:38:01.818Z",
"request_id": "a6dfc070-6d57-46d7-9b78-038951d66bab"
},
"status": "ok",
"message": "Meta",
"success": true
}