latestOpenAPI 3.1.02026-08-105025.1 KB

570ed1487f49

Endpoints

Get a random brewery.

get/v1/breweries/random

Request body

sizeinteger

Must be at least 1. Must not be greater than 50.

Example request

{
  "size": 1
}

Response

idstring
namestring
brewery_typestring
address_1string
address_2string nullable
address_3string nullable
citystring
state_provincestring
postal_codestring
countrystring
longitudenumber
latitudenumber
phonestring nullable
website_urlstring
statestring
streetstring

Example response

[
  {
    "id": "5895ab5b-ba99-44f5-b9f1-48e332e7f20e",
    "name": "Modern Brewery",
    "brewery_type": "micro",
    "address_1": "5231 Manchester Ave # E",
    "address_2": null,
    "address_3": null,
    "city": "Saint Louis",
    "state_province": "Missouri",
    "postal_code": "63110-2092",
    "country": "United States",
    "longitude": -90.273784,
    "latitude": 38.625149,
    "phone": null,
    "website_url": "http://www.mb314.com",
    "state": "Missouri",
    "street": "5231 Manchester Ave # E"
  }
]