Zum Inhalt springen
GET /v1/convert

Interconvert elastic constants

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/elasticmoduli-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Isotropic elastic-constant interconversion. Moduli E, G, K, λ come out in the same unit you supplied them in; ν is dimensionless. Steel (E=200 GPa, ν=0.3) gives G≈76.92, K≈166.67, λ≈115.38 GPa.",
        "inputs": {
            "E": 200,
            "nu": 0.3
        },
        "lame_first": 115.384615,
        "bulk_modulus": 166.666667,
        "poisson_ratio": 0.3,
        "shear_modulus": 76.923077,
        "youngs_modulus": 200
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:30.960Z",
        "request_id": "17ef7500-8729-4c23-b159-2f7c606f094e"
    },
    "status": "ok",
    "message": "Interconvert elastic constants",
    "success": true
}