/v1/extraction
Extraction yield
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
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_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"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
}