Naar de inhoud
GET /v1/development

Development time ratio

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/coffeeroast-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}