Skip to content
GET /v1/meta

Spec

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/soil-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "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
}