/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/coffeeroast-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/coffeeroast-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/coffeeroast-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/coffeeroast-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": "Weights in grams (or any consistent unit); times as seconds or mm:ss. This is roast-profile maths; for brewing ratios use a coffee-brewing API.",
"service": "coffeeroast-api",
"endpoints": {
"GET /v1/loss": "Weight loss % from any two of green, roasted, loss% — including green needed for a target yield.",
"GET /v1/meta": "This document.",
"GET /v1/development": "Development time and DTR from the total roast time and first-crack time."
},
"description": "Coffee-roasting maths: weight loss (green↔roasted), development-time ratio (DTR), and batch sizing."
},
"meta": {
"timestamp": "2026-06-06T07:14:12.484Z",
"request_id": "6312630b-bcaf-41ca-a8de-2898941d7d1c"
},
"status": "ok",
"message": "Meta",
"success": true
}