Naar de inhoud
GET /v1/hardness

Hardness conversion

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/heattreat-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}