Vai al contenuto
GET /v1/active

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

Risposta di esempio

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

{
    "data": {
        "note": "Rankine active: Ka = (1−sinφ)/(1+sinφ). Cohesion reduces pressure by 2c√Ka; a tension crack forms in the upper soil.",
        "type": "active",
        "inputs": {
            "height": 5,
            "cohesion": 0,
            "surcharge": 10,
            "unit_weight": 18,
            "friction_angle": 30
        },
        "coefficient": 0.333333,
        "soil_thrust_kn_m": 75,
        "base_pressure_kpa": 33.3333,
        "total_thrust_kn_m": 91.6667,
        "surcharge_thrust_kn_m": 16.6667,
        "soil_thrust_line_of_action_m": 1.6667
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:27.105Z",
        "request_id": "24335e47-8b86-4c60-9851-4846dd5b9482"
    },
    "status": "ok",
    "message": "Active earth pressure",
    "success": true
}