Naar de inhoud
GET /v1/tempering

Temper colour and temperature

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/tempering" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/heattreat-api/v1/tempering", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/heattreat-api/v1/tempering");
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/tempering",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Temper colours are the oxide film that forms as polished steel is reheated after quenching: pale straw is hardest (edges), through purple and blue (springs), to grey. Read the colour off bright metal under good light and quench when it reaches your target — it moves fast.",
        "inputs": {
            "temp_c": 300
        },
        "typical_use": "springs, screwdrivers",
        "nearest_color": "blue",
        "nearest_temp_c": 304
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:40.407Z",
        "request_id": "71f49e17-a56c-45e6-9949-daf22da2e659"
    },
    "status": "ok",
    "message": "Tempering",
    "success": true
}