Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/brewing-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/brewing-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/brewing-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/brewing-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/brewing-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "notes": "Gravities are specific gravity (e.g. 1.050); alpha acid in %, hop weight in grams, boil time in minutes, volume in litres.",
        "service": "brewing-api",
        "formulae": {
            "abv": "(OG − FG)·131.25",
            "ibu": "alpha mg/L × (1.65·0.000125^(OG−1)) × (1 − e^(−0.04·t))/4.15",
            "attenuation": "(OG − FG)/(OG − 1)"
        },
        "endpoints": {
            "GET /v1/abv": "ABV, attenuation and calories from original and final gravity.",
            "GET /v1/ibu": "Hop bitterness (IBU) by the Tinseth formula.",
            "GET /v1/meta": "This document.",
            "GET /v1/gravity": "Convert between specific gravity, degrees Plato and Brix."
        },
        "description": "Homebrewing calculator: alcohol by volume and attenuation from gravities, specific-gravity/Plato/Brix conversion, and hop bitterness in IBU by the Tinseth formula."
    },
    "meta": {
        "timestamp": "2026-06-05T03:09:02.018Z",
        "request_id": "4b4a399f-3265-4333-adb7-733ad9da2268"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}