Open Brewery DB API

Beginner's Pick Food & Drink / No Auth Required Beginner HTTPS CORS
Free to Use 120 per window (113 remaining at test time)
88 A
Measured Score 0 50 100 Speed 26/30 Consistency 17/20 Security 20/20 Browser access 10/15 Transparency 15/15 TESTED 2026-08-10

Overview

Open Brewery DB is a free, open-source API that provides data on breweries, cideries, and bottle shops across multiple countries. No authentication is required, making it one of the easiest APIs to start with. You can search by city, state, type, or name and get back address, coordinates, and website details.

Beginner Tip

Use the by_city or by_state query parameters to narrow results — calling the list endpoint without filters returns thousands of records and will slow down your app.

Measurement Record

What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.

Request
GET https://api.openbrewerydb.org/v1/breweries?by_city=denver&per_page=5
Result
HTTP 200 · application/json · 2,060 bytes · compressed
Response time
40 ms (median of 3) · fastest 37 ms
Transport
TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Google Trust Services
Browser CORS
Allowed — Access-Control-Allow-Origin: https://apisscore.com
Rate limit
120 per window (113 remaining at test time)
Served by
cloudflare
Recorded
2026-08-10

Fields Returned

Top-level fields present in the response we captured, with the type and value we actually received.

Field Type Value received
id string 1988eb86-f0a2-4674-ba04-02454efa0d31
name string 10 Barrel Brewing Co - Denver
brewery_type string large
address_1 string 2620 Walnut St
address_2 null null
address_3 null null
city string Denver
state_province string Colorado
postal_code string 80205-2231
country string United States
longitude number -104.9853655
latitude number 39.7592508
phone string 7205738992
website_url null null

Captured Response

Captured from a real request to https://api.openbrewerydb.org/v1/breweries?by_city=denver&per_page=5 on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
[
  {
    "id": "1988eb86-f0a2-4674-ba04-02454efa0d31",
    "name": "10 Barrel Brewing Co - Denver",
    "brewery_type": "large",
    "address_1": "2620 Walnut St",
    "address_2": null,
    "address_3": null,
    "city": "Denver",
    "state_province": "Colorado",
    "postal_code": "80205-2231",
    "country": "United States",
    "longitude": -104.9853655,
    "latitude": 39.7592508,
    "phone": "7205738992",
    "website_url": null,
    "…": "(2 more fields)"
  }
]

Field Reference

id Unique UUID identifying the brewery record.
name Official name of the brewery, cidery, or bottle shop.
brewery_type Classification such as "micro", "nano", "regional", "brewpub", "large", or "closed".
city City where the brewery is located.
latitude GPS latitude as a string; may be null if coordinates are unavailable.
website_url Official website URL of the brewery; may be null.

Implementation Example

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://api.openbrewerydb.org/v1/breweries?by_city=denver&per_page=5";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

How This API Fails

We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.

HTTP 404 Requesting a path that does not exist application/json
{
  "message": "No query results for model [App\\Models\\Brewery] apisscore-nonexistent-path"
}

Common Errors & Troubleshooting

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

Too many results or slow response The breweries list endpoint can return up to 200 results per page by default.
Add per_page=10 to limit results and use the page parameter to paginate: ?per_page=10&page=2.
latitude and longitude fields are null Not all brewery records have GPS coordinates in the database.
Always null-check latitude and longitude before passing them to a map library. Use the address fields as a fallback for geocoding.
404 on brewery lookup by ID Brewery IDs are UUIDs (not sequential integers) and may change when records are merged or corrected.
Store the full UUID returned by the API rather than an index number, and re-fetch if a 404 occurs.

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 26/30
Consistency 17/20
Security 20/20
Browser access 10/15
Transparency 15/15
Endpoint Response Time 40ms

Fully tested on Aug 10, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS YES
Category Food & Drink
Difficulty Beginner
Endpoint last called: 2026-08-10

Related Tags

Similar APIs

View All →