/v1/meta
Spec
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/soil-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/soil-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/soil-api/v1/meta");
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/soil-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"notes": "Cohesion and pressures in kPa, unit weight in kN/m³, lengths in m, friction angle in degrees. Vesic Nγ with Terzaghi shape coefficients; allowable uses a factor of safety (default 3).",
"service": "soil-api",
"formulae": {
"Nq": "e^(π·tanφ)·tan²(45+φ/2)",
"settlement": "s = q·B·(1−ν²)·I / E",
"bearing_capacity": "qu = sc·c·Nc + γ·D·Nq + sγ·γ·B·Nγ"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/factors": "Bearing-capacity factors Nc, Nq and Nγ from the friction angle.",
"GET /v1/settlement": "Immediate elastic settlement of a footing.",
"GET /v1/bearing-capacity": "Ultimate, net and allowable bearing capacity of a strip/square/circular footing."
},
"description": "Geotechnical bearing-capacity calculator: bearing-capacity factors from the friction angle, ultimate and allowable bearing capacity of a footing, and elastic settlement."
},
"meta": {
"timestamp": "2026-06-05T03:09:01.200Z",
"request_id": "d9691f65-e1b4-41dc-89b7-7d7d2c8528e8"
},
"status": "ok",
"message": "Meta",
"success": true
}