Vai al contenuto
GET /v1/development

Development time ratio

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/coffeeroast-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Development Time Ratio (DTR) = (total − first crack) / total × 100. Most roasters target ~20–25%; lower can taste underdeveloped, higher can flatten acidity.",
        "inputs": {
            "total_time": "10:00",
            "first_crack": "8:00"
        },
        "total_seconds": 600,
        "development_time": "2:00",
        "development_seconds": 120,
        "first_crack_seconds": 480,
        "development_ratio_percent": 20
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:12.308Z",
        "request_id": "6d3dc603-9746-4b78-bcd1-c49fb95753a4"
    },
    "status": "ok",
    "message": "Development ratio",
    "success": true
}