啤酒数据API提供关于全球多种啤酒、风格和生产者的结构化、准确和最新的信息。其主要目的是作为一个可靠的数据来源,供专注于啤酒文化的应用、网站、推荐系统或电子商务平台使用。通过其不同的端点,用户可以访问特定的细节,如啤酒名称、制造商、原产国、酒精含量(ABV)、苦味程度(IBU)、主要风格和子风格、品尝笔记、推荐搭配以及理想饮用温度。还包括全面的描述,以帮助从感官和技术的角度为每个产品提供背景。API的响应结构设计清晰,易于整合。通常,每个请求返回一个状态码(例如,成功为200或错误为404)、一个错误控制字段,以及一个包含所请求信息的数据对象。这使得开发者能够有效地处理系统之间的通信,并构建以视觉吸引的方式显示啤酒信息的动态界面。此外,这个API可以用于多种目的:从个性化推荐移动应用和在线目录到比较风格、地区或消费趋势的分析仪表板。其灵活性也使其在教育项目、协作数据库或酿酒厂库存管理系统中非常有用。简而言之,啤酒数据API不仅集中全球啤酒信息,还推动这一领域的数字创新。得益于其可访问和可扩展的架构,它通过组织良好且易于搜索的数据连接消费者、生产者和开发者,促进了更有信息量、更互动和更具全球性的啤酒体验
{"code":200,"error":false,"data":[{"sku":"103274","name":"Berkshire Brewing Company Green Gown DIPA","brewery":"Berkshire Brewing Company","rating":"","category":"Beer","sub_category_1":"Ale","sub_category_2":"IPA","sub_category_3":"Imperial \/ Double IPA","description":"A high gravity New England style IPA featuring Citra, Simcoe, Centennial and Experimental 431 hop varieties. This quarterly release is the shade of a hazy sunset, and is the perfect pairing for any season in New England. The alcohol is substantial enough to warm you in the winter, the aromatics welcome spring with bright floral and fruit, in summer the hop flavors of citrus and melon are reminiscent of fruit salad, and in fall the malt backbone and bready accents complement the cool autumn breezes. Coming in at 8.5% ABV, this beer drinks deviously smooth while provoking the olfactory with a tropical bouquet of blood orange flesh, grapefruit rind and melon. 2 row pale malt and German pilsner malt create a canvas for the hops to shine while providing enough body for a great drinking experience.","region":"Massachusetts","country":"United States","abv":"8.50%","ibu":"80","calories_per_serving_12oz":"","carbs_per_serving_12oz":"","tasting_notes":"","food_pairing":"Spicy Thai curry, Grilled steak, Dark chocolate.","suggested_glassware":"Snifter\/Goblet\/Chalice","serving_temp_f":"45-50\u00b0 F","serving_temp_c":"7.2-10.0\u00b0 C","beer_type":"","features":""},{"sku":"103278","name":"Berkshire Brewing Company Easy Like Mosaic NEIPA","brewery":"Berkshire Brewing Company","rating":"","category":"Beer","sub_category_1":"Ale","sub_category_2":"IPA","sub_category_3":"New England \/ Hazy IPA","description":"What is New England \/ Hazy IPA?\n\nNew England \/ Hazy IPA is a style of beer that has become increasingly popular in recent years. The New England \/ Hazy IPA (India Pale Ale, for the long version) is characterized by a hazy, slightly opaque appearance and a smooth, creamy mouthfeel. There's a number of beers in this category that are lovingly called juice bombs, because they flavor feels like the perfect combination of orange juice and beer. Thank us later. The flavor is a complex balance of hop bitterness and hop aromas of tropical and citrus fruits, with a hint of malt sweetness. The malt in this beer variety provides a light body and smooth finish that is complemented by light bitterness that doesn't overly linger. You'll find that many, if not most NEIPAs have a higher ABV than other IPA varietals, usually between 5.5% - 7.5% ABV.","region":"South Deerfield, Massachusetts","country":"United States","abv":"6.80%","ibu":"35","calories_per_serving_12oz":"","carbs_per_serving_12oz":"","tasting_notes":"","food_pairing":"Spicy Thai curry, Grilled chicken, Citrus salad","suggested_glassware":"Snifter\/Goblet\/Chalice","serving_temp_f":"45-50\u00b0 F","serving_temp_c":"7.2-10.0\u00b0 C","beer_type":"","features":""},{"sku":"114454","name":"Berkshire Brewing Company Dandy Lion Haze NEIPA","brewery":"Berkshire Brewing Company","rating":"","category":"Beer","sub_category_1":"Ale","sub_category_2":"IPA","sub_category_3":"New England \/ Hazy IPA","description":"","region":"South Deerfield, Massachusetts","country":"United States","abv":"6.80%","ibu":"45","calories_per_serving_12oz":"","carbs_per_serving_12oz":"","tasting_notes":"","food_pairing":"Spicy Thai food, Grilled chicken, Citrus salad","suggested_glassware":"Snifter\/Goblet\/Chalice","serving_temp_f":"45-50\u00b0 F","serving_temp_c":"7.2-10.0\u00b0 C","beer_type":"","features":""},{"sku":"117275","name":"Berkshire Brewing Company Gold Spike Kolsch Style Ale","brewery":"Berkshire Brewing Company","rating":"","category":"Beer","sub_category_1":"Ale","sub_category_2":"Kolsch","sub_category_3":"","description":"","region":"Massachusetts","country":"United States","abv":"4.80%","ibu":"20","calories_per_serving_12oz":"","carbs_per_serving_12oz":"","tasting_notes":"","food_pairing":"Seafood, Salad, Chicken","suggested_glassware":"","serving_temp_f":"","serving_temp_c":"","beer_type":"","features":""},{"sku":"132274","name":"Berkshire Brewing Company Life On Marzen Oktoberfest","brewery":"Berkshire Brewing Company","rating":"","category":"Beer","sub_category_1":"Lager","sub_category_2":"Dark Lager","sub_category_3":"Oktoberfest","description":"","region":"South Deerfield, Massachusetts","country":"United States","abv":"5.50%","ibu":"22","calories_per_serving_12oz":"","carbs_per_serving_12oz":"","tasting_notes":"","food_pairing":"Pork, Pretzels, Apple Pie","suggested_glassware":"","serving_temp_f":"","serving_temp_c":"","beer_type":"","features":""}]}
curl --location --request GET 'https://zylalabs.com/api/11131/beers+data+api/20986/beers+by+brewery?name=Berkshire brewing company' --header 'Authorization: Bearer YOUR_API_KEY'
{"code":200,"error":false,"data":{"sku":"100001","name":"Berkshire Easy Lite","brewery":"Berkshire Brewing Company","rating":"","category":"Beer","sub_category_1":"Ale","sub_category_2":"IPA","sub_category_3":"New England \/ Hazy IPA","description":"Everybody likes easy, so we made this NEIPA easy to like with Citra, Amarillo and Simcoe hops, a medium body and fermented it with a German style ale yeast. This double dry-hopped brew has a hazy straw color and a clean finish to make Easy Like a session-able NEIPA, easy for you to enjoy any time. #EasyLikeNEIPA","region":"Massachusetts","country":"United States","abv":"4.50%","ibu":"20","calories_per_serving_12oz":"","carbs_per_serving_12oz":"","tasting_notes":"","food_pairing":"Grilled chicken, Salad, Light pasta dishes","suggested_glassware":"Snifter\/Goblet\/Chalice","serving_temp_f":"45-50\u00b0 F","serving_temp_c":"7.2-10.0\u00b0 C","beer_type":"","features":""}}
curl --location --request GET 'https://zylalabs.com/api/11131/beers+data+api/20987/beers+information?name=Berkshire Easy Lite' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
每个端点返回关于啤酒的详细信息,包括名称、酿酒厂、风格、酒精含量(ABV)、苦味等级(IBU)、食物搭配和描述等属性。这些数据帮助用户理解每种啤酒的特性和背景
响应数据中的关键字段包括"sku"、"名称"、"酿酒厂"、"描述"、"酒精度"、"苦味值"、"食物搭配"和"饮用温度" 这些字段提供了识别和理解每种啤酒的基本细节
响应数据采用 JSON 格式结构,通常包含一个表示状态的 "code",一个 "error" 标志和一个 "data" 对象。"data" 对象包括具体的啤酒细节,便于解析和集成到应用程序中
每个端点提供有关啤酒的全面信息,包括它们的名称、酿酒厂、风格、酒精含量、苦味、品尝笔记、食物搭配和理想的饮用温度,以满足各种用户需求
用户可以通过指定参数如啤酒名称、酿酒厂或风格来自定义他们的请求。这允许针对性查询以根据用户偏好或要求检索特定的啤酒信息
典型的用例包括开发啤酒推荐的移动应用程序 创建酿酒厂的在线目录 构建消费趋势的分析仪表板 以及专注于啤酒文化的教育项目
通过定期更新和质量检查来保持数据的准确性,确保提供的信息可靠并反映全球酿酒厂的最新产品
在处理部分或空结果时,用户应检查响应中的“错误”字段。如果为真,则表示请求存在问题。用户可以实现回退机制或提示以优化查询以获得更好的结果
服务级别:
100%
响应时间:
157ms
服务级别:
100%
响应时间:
179ms
服务级别:
100%
响应时间:
348ms
服务级别:
100%
响应时间:
472ms
服务级别:
100%
响应时间:
168ms
服务级别:
100%
响应时间:
367ms
服务级别:
100%
响应时间:
461ms
服务级别:
100%
响应时间:
253ms
服务级别:
100%
响应时间:
67ms
服务级别:
100%
响应时间:
52ms