/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/candytemp-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/candytemp-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/candytemp-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/candytemp-api/v1/meta",
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": {
"notes": "Stages °F: thread 223–234, soft-ball 235–240, firm-ball 242–248, hard-ball 250–266, soft-crack 270–290, hard-crack 300–310, caramel 320–350. Subtract 1 °F per 500 ft of altitude. Use a calibrated thermometer.",
"service": "candytemp-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/range": "The temperature range and uses of a named stage.",
"GET /v1/stage": "The candy stage (thread … caramel) for a temperature.",
"GET /v1/altitude": "Altitude-adjusted target temperature (−1 °F per 500 ft)."
},
"description": "Candy-making maths: the sugar-syrup stage for a temperature, a stage's temperature range, and the altitude adjustment."
},
"meta": {
"timestamp": "2026-06-06T15:30:53.026Z",
"request_id": "3fb8c590-d31a-473f-ba6b-49b6c1c32eac"
},
"status": "ok",
"message": "Meta",
"success": true
}