Skip to content
GET /v1/tempering

Temper colour and temperature

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/heattreat-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest 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
}