/v1/convert
Interconvert elastic constants
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}