Zum Inhalt springen
GET /v1/breweries

Filter breweries

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 15,
        "results": [
            {
                "id": "b7db853a-e8aa-430f-84c8-d49b72184d01",
                "city": "Portland",
                "name": "Alameda Brewing Co",
                "phone": "5034609025",
                "state": "Oregon",
                "street": "4736 SE 24th Ave",
                "country": "United States",
                "website": null,
                "latitude": 45.48882655,
                "longitude": -122.6412495,
                "postal_code": "97202-4787",
                "brewery_type": "micro"
            },
            {
                "id": "07ad4030-fb5b-4eb7-9b28-d7f5556b145d",
                "city": "Portland",
                "name": "Alameda Brewing Co",
                "phone": "5034609025",
                "state": "Oregon",
                "street": "4765 NE Fremont St",
                "country": "United States",
                "website": "http://www.alamedabrewing.com",
                "latitude": 45.54849565,
                "longitude": -122.6136209,
                "postal_code": "97213-1724",
                "brewery_type": "micro"
            },
            {
                "id": "4cc17a95-7020-43f2-bc23-b9d9ddd29a10",
                "city": "Portland",
                "name": "Arlington Club",
                "phone": "5032234141",
                "state": "Oregon",
                "street": "811 SW Salmon St",
                "country": "United States",
                "website": "http://www.thearlingtonclub.com",
                "latitude": 45.51786855,
                "longitude": -122.6818596,
                "postal_code": "97205-3094",
                "brewery_type": "micro"
            },
            {
                "id": "840d509e-f231-4722-ab4c-bf2ef7996196",
                "city": "Portland",
                "name": "Austin Street Brewery",
                "phone": "2072001994",
                "state": "Maine",
                "street": "1 Industrial Way Ste 8",
                "country": "United States",
                "website": "http://www.austinstreetbrewery.com",
                "latitude": null,
                "longitude": null,
                "postal_code": "04103-1072",
                "brewery_type": "micro"
            },
            {
                "id": "d53226dc-b8b1-494c-85f5-1c97ba255947",
                "city": "Portland",
                "name": "Back Pedal Brewing Company",
                "phone": "9714005950",
                "state": "Oregon",
                "street": "1425 NW Flanders St",
                "country": "United States",
                "website": "http://backpedalbrewing.com",
                "latitude": 45.52597595,
                "longitude": -122.6856562,
                "postal_code": "97209-2620",
                "brewery_type": "micro"
            },
            {
                "id": "10ad1074-00f1-4731-9154-878dafcb58a9",
                "city": "Portland",
                "nam
…