Zum Inhalt springen
GET /v1/brewery

Single brewery by id

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/beer-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}