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/osmosis-api

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/osmosis-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/osmosis-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/osmosis-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/osmosis-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": "Molarity in mol/L, molality in mol/kg, temperature in K. Water constants: Kf = 1.86, Kb = 0.512 °C·kg/mol. i = 1 (non-electrolyte), 2 (NaCl), 3 (CaCl₂), …",
        "service": "osmosis-api",
        "formulae": {
            "boiling": "ΔTb = i·Kb·m",
            "osmotic": "π = i·M·R·T",
            "freezing": "ΔTf = i·Kf·m"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/boiling": "Boiling-point elevation ΔTb = i·Kb·m and the new boiling point.",
            "GET /v1/osmotic": "Osmotic pressure π = i·M·R·T (atm/bar/kPa); solves molarity from a pressure.",
            "GET /v1/freezing": "Freezing-point depression ΔTf = i·Kf·m and the new freezing point."
        },
        "description": "Colligative-properties calculator: osmotic pressure, freezing-point depression and boiling-point elevation for solutions."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:23.214Z",
        "request_id": "e3d96984-f6ad-4675-8435-31686ed4e72e"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}