/v1/meta
Spec
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/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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}