Naar de inhoud
GET /v1/stage

Stage for a 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/candytemp-api

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "note": "238 °F is the soft-ball stage (235–240 °F) — for fudge, fondant, pralines, buttercreams. The classic cold-water test: a drop of syrup forms a soft ball you can feel.",
        "stage": "soft-ball",
        "inputs": {
            "unit": "f",
            "temperature": 238
        },
        "temperature_c": 114.4,
        "temperature_f": 238
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:52.937Z",
        "request_id": "b46c9447-9163-41ff-8d0b-279dd071ceda"
    },
    "status": "ok",
    "message": "Candy stage",
    "success": true
}