Vai al contenuto
GET /v1/pressure

Hot pressure from temperature

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Tire pressure tracks absolute temperature (P2/P1 = T2/T1 with pressure as absolute, temperature in Rankine) — roughly +1 psi for every 10 °F. Always set the placard pressure COLD; checking after a drive reads high. Cold mornings drop it, which is why the warning light pops on the first frost.",
        "inputs": {
            "hot_temp_f": 100,
            "cold_temp_f": 70,
            "cold_pressure_psi": 32
        },
        "hot_pressure_psi": 34.6,
        "pressure_change_psi": 2.6
    },
    "meta": {
        "timestamp": "2026-06-06T23:54:01.070Z",
        "request_id": "c922728a-79a5-4e5b-a501-797ecf051c67"
    },
    "status": "ok",
    "message": "Pressure",
    "success": true
}