/v1/required
Required heatsink Rth
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/heatsink-api/v1/required" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/heatsink-api/v1/required", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/heatsink-api/v1/required");
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/heatsink-api/v1/required",
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": {
"note": "Choose a heatsink with a sink-to-ambient thermal resistance at or below this value. Rθsa = (Tj_max − Ta)/P − Rθjc − Rθcs.",
"inputs": {
"power": 10,
"rth_cs": 0.2,
"rth_jc": 0.5,
"tj_max": 125,
"ambient_temp": 40
},
"feasible": true,
"required_rth_sa": 7.8
},
"meta": {
"timestamp": "2026-06-04T18:38:12.369Z",
"request_id": "1c8719e2-c0d1-46cb-bc6c-bef21fa11064"
},
"status": "ok",
"message": "Required heatsink Rth",
"success": true
}