/v1/volume
Volumetric thermal expansion
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/thermalexpansion-api/v1/volume" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/thermalexpansion-api/v1/volume", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/thermalexpansion-api/v1/volume");
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/volume",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"delta_t": 20,
"formula": "ΔV = β·V0·ΔT; for solids β ≈ 3α.",
"material": "water (liquid)",
"new_volume": {
"m3": 1.00414,
"value_in_unit": 1.00414
},
"original_volume": {
"m3": 1,
"unit": "m3",
"value": 1
},
"change_in_volume": {
"m3": 0.00414,
"litres": 4.14,
"value_in_unit": 0.00414
},
"volumetric_coefficient_per_K": 0.000207
},
"meta": {
"timestamp": "2026-06-04T10:18:55.666Z",
"request_id": "51301295-d624-4495-84f9-85d0468fdbc7"
},
"status": "ok",
"message": "Volumetric thermal expansion",
"success": true
}