Skip to content
GET /v1/elongation

Bar elongation under axial load

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/youngmodulus-api

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "strain": 5.0e-5,
        "area_m2": 0.001,
        "force_n": 10000,
        "formula": "δ = F·L/(A·E); stiffness k = A·E/L.",
        "length_m": 2,
        "stress_mpa": 10,
        "elongation_m": 0.0001,
        "elongation_mm": 0.1,
        "youngs_modulus_gpa": 200,
        "axial_stiffness_n_m": 100000000
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:41.951Z",
        "request_id": "26f7e24b-1dbc-4318-bfa7-5ac59ab7b327"
    },
    "status": "ok",
    "message": "Bar elongation under load",
    "success": true
}