/v1/active
Active earth pressure
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode 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_..."}
)
Example response
A real response from this endpoint, captured by the latest 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
}