Zum Inhalt springen
GET /v1/combined

Combined gas law

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/gaslaw-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "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
}