Aller au contenu
GET /v1/section

Section properties (I, S)

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/beam-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "area": 0.005,
        "shape": "rectangle",
        "width": 0.05,
        "height": 0.1,
        "formulas": {
            "I": "b·h³/12",
            "S": "b·h²/6"
        },
        "section_modulus": 8.33333e-5,
        "moment_of_inertia": 4.16667e-6,
        "neutral_axis_from_base": 0.05
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:11.288Z",
        "request_id": "b75bc8b1-55a3-4de1-aafd-cb5ca14c27f9"
    },
    "status": "ok",
    "message": "Section properties (I, S)",
    "success": true
}