商
Open Brewery DB API
8 endpointsCommerce & MarketplacesUSsocial:read8 real examples
Returns breweries by list, search, id, city or state, with address, coordinates, phone and website.
View as Markdown| GET | /openbrewerydb/list | A page of breweries, optionally of one type such as micro or brewpub. |
| GET | /openbrewerydb/search | Breweries whose name, city or type matches the query. |
| GET | /openbrewerydb/brewery | One brewery by its id: address, coordinates, phone and website. |
| GET | /openbrewerydb/random | Random breweries from the whole database, one to fifty of them. |
| GET | /openbrewerydb/byCity | Breweries of one city, paged. |
| GET | /openbrewerydb/byState | Breweries of one state or province, paged. |
| GET | /openbrewerydb/byCountry | Breweries of one country, paged. |
| GET | /openbrewerydb/meta | How many breweries the database holds, overall and by type, state and country. |
list
GET
/v1/openbrewerydb/listA page of breweries, optionally of one type such as micro or brewpub.
scope social:read1 unitcached 24 hpaginated
Parameters
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 50. default 20 |
typestring | Only breweries of this type: micro, nano, regional, brewpub, large, planning, bar, contract, proprietor or closed.micronanoregionalbrewpublargeplanningbarcontractproprietorclosede.g. micro |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
city | string |
country | string |
id | string |
latitude | number (double) |
longitude | number (double) |
name | string |
phone | string |
postalCode | string |
state | string |
street | string |
type | string |
website | string |
curl "https://api.hoshime.com/v1/openbrewerydb/list?type=micro" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbrewerydb/list?type=micro", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbrewerydb/list?type=micro", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "city": "Mol", "country": "Belgium", "id": "aa7cbe9b-3a0f-4888-9884-6186b0042b55", "latitude": 51.1762578, "longitude": 5.0569549, "name": "’t Drankorgel", "phone": "+32 496 76 40 63", "postalCode": "2400", "state": "Vlaanderen", "street": "31a Geelsebaan", "type": "micro", "website": "http://tdrankorgel.be/" }, { "city": "Lebbeke", "country": "Belgium", "id": "1034754f-abf9-4b42-bd6d-37e110ba4b1a", "latitude": 51.0078878, "longitude": 4.0913928, "name": "'T Kroontje", "phone": "+32 495 43 33 25", "postalCode": "9280", "state": "Vlaanderen", "street": "62 Hogebrug", "type": "micro", "website": "http://www.tkroontje.be/" } ], "meta": { "cached": false, "endpoint": "list", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "openbrewerydb", "requestId": "req_2Xb9kQ…", "units": 1 } }
search
GET
/v1/openbrewerydb/searchBreweries whose name, city or type matches the query.
scope social:read1 unitcached 6 hpaginated
Parameters
querystring required | Words to search for, such as sierra nevada or portland. e.g. sierra nevada |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
city | string |
country | string |
id | string |
latitude | number (double) |
longitude | number (double) |
name | string |
phone | string |
postalCode | string |
state | string |
street | string |
type | string |
website | string |
curl "https://api.hoshime.com/v1/openbrewerydb/search?query=sierra+nevada" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbrewerydb/search?query=sierra+nevada", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbrewerydb/search?query=sierra+nevada", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "city": "Chico", "country": "United States", "id": "70e66be3-fd92-4db0-86f3-0f05807cc4e2", "latitude": 39.7257632, "longitude": -121.8098801, "name": "Sierra Nevada Brewing Co", "phone": "5308933520", "postalCode": "95928-6722", "state": "California", "street": "1075 E 20th St", "type": "regional", "website": "http://www.sierranevada.com" }, { "city": "Mills River", "country": "United States", "id": "91799fbb-6b2d-449b-a0aa-0ac579692489", "latitude": 0, "longitude": 0, "name": "Sierra Nevada Brewing Co", "phone": "", "postalCode": "28732-8608", "state": "North Carolina", "street": "100 Sierra Nevada Way", "type": "regional", "website": "http://www.sierranevada.com" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "openbrewerydb", "requestId": "req_2Xb9kQ…", "units": 1 } }
brewery
GET
/v1/openbrewerydb/breweryOne brewery by its id: address, coordinates, phone and website.
scope social:read1 unitcached 24 h
Parameters
idstring required | Brewery id (a UUID), such as 70e66be3-fd92-4db0-86f3-0f05807cc4e2. e.g. 70e66be3-fd92-4db0-86f3-0f05807cc4e2 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
city | string |
country | string |
id | string |
latitude | number (double) |
longitude | number (double) |
name | string |
phone | string |
postalCode | string |
state | string |
street | string |
type | string |
website | string |
curl "https://api.hoshime.com/v1/openbrewerydb/brewery?id=70e66be3-fd92-4db0-86f3-0f05807cc4e2" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbrewerydb/brewery?id=70e66be3-fd92-4db0-86f3-0f05807cc4e2", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbrewerydb/brewery?id=70e66be3-fd92-4db0-86f3-0f05807cc4e2", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "city": "Chico", "country": "United States", "id": "70e66be3-fd92-4db0-86f3-0f05807cc4e2", "latitude": 39.7257632, "longitude": -121.8098801, "name": "Sierra Nevada Brewing Co", "phone": "5308933520", "postalCode": "95928-6722", "state": "California", "street": "1075 E 20th St", "type": "regional", "website": "http://www.sierranevada.com" }, "meta": { "cached": false, "endpoint": "brewery", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "openbrewerydb", "requestId": "req_2Xb9kQ…", "units": 1 } }
random
GET
/v1/openbrewerydb/randomRandom breweries from the whole database, one to fifty of them.
scope social:read1 unitpaginated
Parameters
limitinteger | Items per page, 1 to 50. default 5e.g. 2 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
city | string |
country | string |
id | string |
latitude | number (double) |
longitude | number (double) |
name | string |
phone | string |
postalCode | string |
state | string |
street | string |
type | string |
website | string |
curl "https://api.hoshime.com/v1/openbrewerydb/random?limit=2" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbrewerydb/random?limit=2", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbrewerydb/random?limit=2", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "city": "Nattheim", "country": "Germany", "id": "d73bbe10-425b-4f7e-a3e7-4c5d6bb2e05b", "latitude": 48.6995845, "longitude": 10.2401356, "name": "Nattheimer", "phone": "+49 7321 97980", "postalCode": "89564", "state": "Baden-Württemberg", "street": "Heidenheimer Straße 7", "type": "brewpub", "website": "http://www.nattheimer.de" }, { "city": "Frankfurt am Main", "country": "Germany", "id": "80e9b35a-d269-4b0b-b103-68849afb477e", "latitude": 50.1332285, "longitude": 8.7680832, "name": "Bier Hannes", "phone": "+49 69 412890", "postalCode": "60386", "state": "Hessen", "street": "Hanauer Landstraße 568", "type": "brewpub", "website": "http://www.bier-hannes.de" } ], "meta": { "cached": false, "endpoint": "random", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "openbrewerydb", "requestId": "req_2Xb9kQ…", "units": 1 } }
byCity
GET
/v1/openbrewerydb/byCityBreweries of one city, paged.
scope social:read1 unitcached 6 hpaginated
Parameters
citystring required | City name, such as San Diego. e.g. san diego |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 50. default 20e.g. 2 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
city | string |
country | string |
id | string |
latitude | number (double) |
longitude | number (double) |
name | string |
phone | string |
postalCode | string |
state | string |
street | string |
type | string |
website | string |
curl "https://api.hoshime.com/v1/openbrewerydb/byCity?city=san+diego&limit=2" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbrewerydb/byCity?city=san+diego&limit=2", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbrewerydb/byCity?city=san+diego&limit=2", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "city": "San Diego", "country": "United States", "id": "ef970757-fe42-416f-931d-722451f1f59c", "latitude": 32.714813, "longitude": -117.129593, "name": "10 Barrel Brewing Co", "phone": "6195782311", "postalCode": "92101-6618", "state": "California", "street": "1501 E St", "type": "large", "website": "http://10barrel.com" }, { "city": "San Diego", "country": "United States", "id": "5fdcc498-f9df-4fa5-b35d-487a59f0fecc", "latitude": 32.896584, "longitude": -117.137429, "name": "2Kids Brewing Company", "phone": "8584805437", "postalCode": "92126-6391", "state": "California", "street": "8680 Miralani Dr Ste 123", "type": "micro", "website": "http://www.2kidsBrewing.com" } ], "meta": { "cached": false, "endpoint": "byCity", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "openbrewerydb", "requestId": "req_2Xb9kQ…", "units": 1 } }
byState
GET
/v1/openbrewerydb/byStateBreweries of one state or province, paged.
scope social:read1 unitcached 6 hpaginated
Parameters
statestring required | State or province name, such as Ohio. e.g. ohio |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 50. default 20e.g. 2 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
city | string |
country | string |
id | string |
latitude | number (double) |
longitude | number (double) |
name | string |
phone | string |
postalCode | string |
state | string |
street | string |
type | string |
website | string |
curl "https://api.hoshime.com/v1/openbrewerydb/byState?state=ohio&limit=2" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbrewerydb/byState?state=ohio&limit=2", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbrewerydb/byState?state=ohio&limit=2", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "city": "Cincinnati", "country": "United States", "id": "950180bd-29c9-46b3-ad0c-e6f09799ec7f", "latitude": 39.12639764, "longitude": -84.70634815, "name": "13 Below Brewery", "phone": "5139750613", "postalCode": "45233-1013", "state": "Ohio", "street": "7391 Forbes Rd", "type": "micro", "website": "http://www.13belowbrewery.com" }, { "city": "Mason", "country": "United States", "id": "85192a9c-58a4-48c3-bd9d-496d09d22aa3", "latitude": 39.3545967, "longitude": -84.3183801, "name": "16 Lots Brewing", "phone": "5134863672", "postalCode": "45040-1303", "state": "Ohio", "street": "753 Reading Rd", "type": "brewpub", "website": "http://www.16lots.com" } ], "meta": { "cached": false, "endpoint": "byState", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "openbrewerydb", "requestId": "req_2Xb9kQ…", "units": 1 } }
byCountry
GET
/v1/openbrewerydb/byCountryBreweries of one country, paged.
scope social:read1 unitcached 6 hpaginated
Parameters
countrystring required | Country name, such as ireland. e.g. ireland |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
limitinteger | Items per page, 1 to 50. default 20e.g. 2 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
city | string |
country | string |
id | string |
latitude | number (double) |
longitude | number (double) |
name | string |
phone | string |
postalCode | string |
state | string |
street | string |
type | string |
website | string |
curl "https://api.hoshime.com/v1/openbrewerydb/byCountry?country=ireland&limit=2" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbrewerydb/byCountry?country=ireland&limit=2", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbrewerydb/byCountry?country=ireland&limit=2", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "city": "Killeshin", "country": "Ireland", "id": "e5f3e72a-fee2-4813-82cf-f2e53b439ae6", "latitude": 52.84930763, "longitude": -6.979343891, "name": "12 Acres Brewing Company", "phone": "353599107299", "postalCode": "R93 X3X8", "state": "Laois", "street": "Unnamed Street", "type": "micro", "website": "https://12acresbrewing.ie/" }, { "city": "Dublin", "country": "Ireland", "id": "75eff8e1-7c25-483a-a2b2-49ecdbf16d31", "latitude": 53.33596635, "longitude": -6.26585621, "name": "5 Lamps Brewery", "phone": "", "postalCode": "D02 DH36", "state": "Dublin", "street": "84-87 Camden St.", "type": "regional", "website": "https://the5lampsbrewery.com/home/" } ], "meta": { "cached": false, "endpoint": "byCountry", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "openbrewerydb", "requestId": "req_2Xb9kQ…", "units": 1 } }
meta
GET
/v1/openbrewerydb/metaHow many breweries the database holds, overall and by type, state and country.
scope social:read1 unitcached 1 h
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
countries | Count[] |
count | integer (int64) |
name | string |
states | Count[] |
count | integer (int64) |
name | string |
total | integer (int64) |
types | Count[] |
count | integer (int64) |
name | string |
curl "https://api.hoshime.com/v1/openbrewerydb/meta" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/openbrewerydb/meta", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/openbrewerydb/meta", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "countries": [ { "count": 8337, "name": "United States" }, { "count": 1445, "name": "Germany" } ], "states": [ { "count": 919, "name": "California" }, { "count": 597, "name": "Bayern" } ], "total": 12727, "types": [ { "count": 6273, "name": "micro" }, { "count": 3949, "name": "brewpub" } ] }, "meta": { "cached": false, "endpoint": "meta", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "openbrewerydb", "requestId": "req_2Xb9kQ…", "units": 1 } }