Naar de inhoud
GET /v1/stress

Axial stress, strain & modulus

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/youngmodulus-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "strain": 5.0e-5,
        "stress": {
            "gpa": 0.01,
            "mpa": 10,
            "pascal": 10000000
        },
        "area_m2": 0.001,
        "force_n": 10000,
        "formula": "σ = F/A; ε = ΔL/L; E = σ/ε.",
        "strain_percent": 0.005,
        "youngs_modulus": {
            "gpa": 200,
            "mpa": 200000,
            "pascal": 200000000000
        }
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:42.109Z",
        "request_id": "d50d125f-e675-45a8-be32-1a72376d6723"
    },
    "status": "ok",
    "message": "Axial stress, strain & modulus",
    "success": true
}