Zum Inhalt springen
GET /v1/development

Development time ratio

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/coffeeroast-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}