Μετάβαση στο περιεχόμενο
GET /v1/hardness

Hardness conversion

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/heattreat-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
}