/v1/extraction
Extraction yield
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/coffee-api/v1/extraction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/coffee-api/v1/extraction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/coffee-api/v1/extraction");
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/coffee-api/v1/extraction",
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": "Extraction yield % = (beverage mass × TDS%) ÷ dose. SCA targets 18–22 % extraction at 1.15–1.35 % TDS. Beverage mass ≈ water − 2 g per g of coffee if not measured.",
"inputs": {
"dose_g": 60,
"tds_pct": 1.35,
"beverage_mass_g": 940
},
"strength_label": "ideal",
"extraction_label": "ideal",
"extraction_yield_pct": 21.15
},
"meta": {
"timestamp": "2026-06-04T18:38:08.091Z",
"request_id": "011f793b-b72d-4335-a973-db31fbf8ddd0"
},
"status": "ok",
"message": "Extraction yield",
"success": true
}