/v1/hardness
Hardness conversion
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/heattreat-api/v1/hardness" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/heattreat-api/v1/hardness", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/heattreat-api/v1/hardness");
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/heattreat-api/v1/hardness",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"hb": 481,
"hrc": 50,
"note": "Approximate steel conversions (SAE J417 / ASTM E140): Rockwell C and Brinell track each other, and tensile strength ≈ 3.45 × Brinell in MPa (about 500 × HB in psi). Conversions are material-dependent and lose accuracy at the extremes — use a tested chart for the steel and a critical application.",
"inputs": {
"hrc": 50
},
"tensile_ksi": 240.7,
"tensile_mpa": 1659
},
"meta": {
"timestamp": "2026-06-06T15:30:40.315Z",
"request_id": "1b720607-da9c-412a-901e-09827ffd949f"
},
"status": "ok",
"message": "Hardness",
"success": true
}