Zum Inhalt springen
GET /v1/stage

Stage for a temperature

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/candytemp-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}