Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/gasmixture-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}