Naar de inhoud
GET /v1/meta

Spec

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

Voorbeeldrespons

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

{
    "data": {
        "notes": "A1=727 °C, A3≈910−203·√(%C); harden above A3 (hypo) or A1 (hyper) then quench. Temper colours 176–371 °C; tensile ≈ 3.45×HB MPa. Plain-carbon-steel estimates — alloy steels and a tested chart differ.",
        "service": "heattreat-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/hardness": "Convert between Rockwell C, Brinell and tensile strength.",
            "GET /v1/tempering": "Temper colour ↔ temperature with typical uses.",
            "GET /v1/critical-temp": "A1/A3 critical and hardening/normalizing temperatures from carbon content."
        },
        "description": "Steel heat-treatment maths: critical/hardening temperatures from carbon content, temper-colour ↔ temperature, and HRC/Brinell/tensile hardness conversion."
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:40.497Z",
        "request_id": "677cb364-901f-431a-9055-4a469b6c4c04"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}