Aller au contenu
GET /v1/range

Temperature range of a stage

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/candytemp-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "The hard-ball stage is 250–266 °F (121–130 °C). Use a calibrated candy thermometer; even a few degrees changes the texture.",
        "max_c": 130,
        "max_f": 266,
        "min_c": 121.1,
        "min_f": 250,
        "inputs": {
            "stage": "hard-ball"
        },
        "used_for": "nougat, marshmallows, divinity, gummies"
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:52.843Z",
        "request_id": "687aa1f0-b7f7-4182-aa6b-6d7815ddbbfe"
    },
    "status": "ok",
    "message": "Stage range",
    "success": true
}