/v1/development
Development time ratio
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}