/v1/linear
Linear thermal expansion
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/thermalexpansion-api/v1/linear" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/thermalexpansion-api/v1/linear", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/thermalexpansion-api/v1/linear");
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/thermalexpansion-api/v1/linear",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"delta_t": 50,
"formula": "ΔL = α·L0·ΔT; new length = L0·(1 + α·ΔT).",
"material": "steel",
"new_length": {
"m": 10.006,
"value_in_unit": 10.006
},
"original_length": {
"m": 10,
"unit": "m",
"value": 10
},
"change_in_length": {
"m": 0.006,
"in": 0.2362205,
"mm": 6,
"value_in_unit": 0.006
},
"coefficient_per_K": 1.2e-5
},
"meta": {
"timestamp": "2026-06-04T10:18:55.461Z",
"request_id": "52a2e6e5-b7b3-4bd5-8168-3a9c94511a7c"
},
"status": "ok",
"message": "Linear thermal expansion",
"success": true
}