/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/coffee-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/coffee-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/coffee-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"notes": "Masses in grams (water ≈ ml). Golden ratio ≈ 1:16–1:17; espresso ≈ 1:2; SCA targets 18–22 % extraction at 1.15–1.35 % TDS.",
"service": "coffee-api",
"formulae": {
"brew_ratio": "water = coffee × ratio",
"espresso_ratio": "yield = dose × brew_ratio",
"extraction_yield": "EY% = (beverage_mass × TDS%) / dose"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/ratio": "Brew ratio — any two of coffee, water and ratio give the third, plus cups.",
"GET /v1/espresso": "Espresso ratio — any two of dose, yield and brew ratio.",
"GET /v1/extraction": "Extraction yield % and strength from dose, beverage mass (or water) and TDS."
},
"description": "Coffee brewing calculator: brew ratio (coffee/water/ratio), espresso ratio (dose/yield/brew ratio), and extraction yield from dose, beverage mass and TDS."
},
"meta": {
"timestamp": "2026-06-04T18:38:08.312Z",
"request_id": "9d5a474e-9622-4d35-9c77-ff805c305cb0"
},
"status": "ok",
"message": "Meta",
"success": true
}