Ir al contenido
GET /v1/combined

Combined gas law

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/gaslaw-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/gaslaw-api/v1/combined" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gaslaw-api/v1/combined", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gaslaw-api/v1/combined");
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/gaslaw-api/v1/combined",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "v2": {
            "m3": 0.0005,
            "ml": 500,
            "ft3": 0.017657333,
            "litres": 0.5
        },
        "note": "Combined gas law: P₁V₁/T₁ = P₂V₂/T₂. Provide state 1 and two of state 2.",
        "input": {
            "t1_k": 273,
            "p1_pa": 101325,
            "v1_m3": 0.001
        },
        "variable": "v2",
        "solved_for": "v2"
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:13.164Z",
        "request_id": "b0368af6-3d71-493b-8460-1d03a8257076"
    },
    "status": "ok",
    "message": "Combined gas law",
    "success": true
}