freeapis

Open Brewery DB

啤酒厂、苹果酒厂和精酿啤酒瓶装店

认证方式
No auth
HTTPS
Yes
CORS
Yes
分类
餐饮
数据来源
public-apis + marcelscruz

简介

Open Brewery DB 收录精酿酒厂、苹果酒厂和精酿瓶装店——8,000+ 地点,带名称、地址、坐标和类型。免密钥、支持 CORS(实测可用),是经典教学 API。

快速开始

酒厂列表(实测可用):

curl "https://api.openbrewerydb.org/v1/breweries?per_page=3"
[
  {
    "id": "bnaf-llc",
    "name": "Bnaf, LLC",
    "brewery_type": "planning",
    "city": "Austin",
    "state": "Texas",
    "latitude": "30.267153",
    "longitude": "-97.7430608",
    "website_url": "",
    "phone": ""
  }
]

按名称搜索:

curl "https://api.openbrewerydb.org/v1/breweries/search?query=dog"

按州/类型:

curl "https://api.openbrewerydb.org/v1/breweries?by_state=california&by_type=micro&per_page=5"

随机:

curl "https://api.openbrewerydb.org/v1/breweries/random"

认证方式

无需认证——免密钥。

速率限制与注意事项

  • 免费;没有文档化的硬性限制——请礼貌使用。
  • 通过 per_page(最大 200)和 page 分页;或 by_* 筛选(by_city、by_state、by_type、by_country、by_tag)。
  • brewery_type 取值:micro、nano、regional、brewpub、large、planning、contract、closed。
  • 字段含 website_url、phone、street、postal_code 和坐标。

常见问题

Open Brewery DB 免费吗? 是的——免费、免密钥、支持 CORS。

如何筛选酒厂? by_state=california&by_type=micro 等。

有多少酒厂? 数据库 8,000+ 地点。

餐饮 分类更多

APIAuthHTTPSCORS
BaconMockup

Resizable bacon placeholder images

No authYesYes↗
Chomp

Data about various grocery products and foods

API KeyYesUnknown↗
Coffee

Random pictures of coffee

No authYesUnknown↗
DietlyAPI

Food & nutrition API with 4.2M+ foods (Open Food Facts + community, normalized and confidence-ranked): calories, macros, micronutrients, barcode lookup, ~40ms s

API KeyYesUnknown↗
Edamam nutrition

Nutrition Analysis

API KeyYesUnknown↗