/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/draftbeer-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/draftbeer-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/draftbeer-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/draftbeer-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": "Dispense side only (not brewing). Carbonation uses the standard volumes/temperature/pressure regression. Balance: length = (pressure − 0.5·rise − residual) ÷ resistance/ft; 3/16\" vinyl ≈ 3 psi/ft. For ABV, gravity or IBU use a homebrewing API.",
"service": "draftbeer-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/balance": "Beer-line length to balance a system from pressure, rise and line resistance.",
"GET /v1/carbonation": "Regulator CO₂ pressure for a target carbonation (volumes) at serving temperature."
},
"description": "Draft-beer dispense maths: CO₂ head pressure for a target carbonation at temperature, and beer-line balancing."
},
"meta": {
"timestamp": "2026-06-06T07:14:00.312Z",
"request_id": "01ad6cb6-eea3-493b-a72f-7e462f5ce7a0"
},
"status": "ok",
"message": "Meta",
"success": true
}