Vai al contenuto
GET /v1/passive

Passive earth pressure

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "note": "Rankine passive: Kp = (1+sinφ)/(1−sinφ). Cohesion adds 2c√Kp to the resisting pressure.",
        "type": "passive",
        "inputs": {
            "height": 5,
            "cohesion": 0,
            "surcharge": 10,
            "unit_weight": 18,
            "friction_angle": 30
        },
        "coefficient": 3,
        "soil_thrust_kn_m": 675,
        "base_pressure_kpa": 300,
        "total_thrust_kn_m": 825,
        "surcharge_thrust_kn_m": 150,
        "soil_thrust_line_of_action_m": 1.6667
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:27.265Z",
        "request_id": "7eb62773-564c-4203-bd46-f3fe7f20f5f5"
    },
    "status": "ok",
    "message": "Passive earth pressure",
    "success": true
}