Zum Inhalt springen
GET /v1/active

Active earth pressure

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}