Vai al contenuto
GET /v1/brewery

Single brewery by id

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/beer-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "id": "5128df48-79fc-4f0f-8b52-d06be54d0cec",
        "city": "Norman",
        "name": "(405) Brewing Co",
        "type": "micro",
        "phone": "4058160490",
        "state": "Oklahoma",
        "street": "1716 Topeka St",
        "country": "United States",
        "latitude": 35.25738891,
        "longitude": -97.46818222,
        "postal_code": "73069-8224",
        "website_url": "http://www.405brewing.com"
    },
    "meta": {
        "timestamp": "2026-05-30T22:48:43.600Z",
        "request_id": "72f4ab8c-9ae2-4482-8dff-92325f73fee8"
    },
    "status": "ok",
    "message": "Brewery retrieved",
    "success": true
}