Punk API
Punk API is a free, no-auth REST API exposing BrewDog's "DIY Dog" open-source beer recipe collection — 325 detailed homebrew recipes crowdsourced and transcribed from the BrewDog DIY Dog PDF. The v2 surface (api.punkapi.com/v2) offered three read-only endpoints: list beers (with rich query filtering on ABV, IBU, EBC, brew date, beer name, hops, malt, yeast, and food pairing), get a beer by id, and get a random beer. Each beer carries a full recipe — ABV, IBU, EBC/SRM colour, target gravities, mash temperature schedule, fermentation temperature, twist, malt and hop bills, yeast strain, food pairings, brewer's tips, and contributor attribution. STATUS — DEPRECATED. BrewDog decommissioned the public api.punkapi.com endpoint in 2023 and the source repositories (sammdec/punkapi-db, sammdec/punkapi-server) were archived on 2023-06-28. The dataset and server source remain MIT-licensed and available; community-hosted mirrors and the `punkapi-db` npm package preserve the contract documented here.
APIs
Punk API — Beers
Read-only REST surface over the 325 BrewDog DIY Dog beer recipes. Three operations — list (with ABV/IBU/EBC/date/ingredient filters and page/per_page pagination up to 80 items),...
Collections
Pricing Plans
Rate Limits
Features
Crowdsourced transcription of the complete BrewDog DIY Dog PDF — every recipe from Punk IPA (#001) through the final published batch.
Each beer carries ABV, IBU, EBC, SRM, target gravities, mash schedule, fermentation temperature, malt bill, hop bill, yeast strain, food pairings, and brewer's tips.
List endpoint supports filters on ABV (gt/lt), IBU (gt/lt), EBC (gt/lt), brewed-before/after dates, and substring search on beer name, hops, malt, yeast, and food pairing.
page (>=1) and per_page (1-80, default 25) on the list endpoint.
/beers/random returns a uniformly random recipe — useful for "beer of the day" demos.
Fully public — no API keys, OAuth, or signup required.
Best-effort public service while it was live. Only the per_page ceiling of 80 is enforced.
Both punkapi-db (dataset) and punkapi-server (Express app) are MIT-licensed — self-host or fork freely.
The complete dataset is published as the `punkapi-db` package for direct in-process use without HTTP.
Use Cases
Look up a recipe by ABV, hop, or malt to replicate or adapt a BrewDog beer at home-batch scale.
Front-end and mobile tutorials use Punk API as a fun, schema-rich, no-auth REST target.
Power beer recommendation apps, food-pairing tools, and BrewDog fan sites.
Filter by hop (e.g. `hops=simcoe`) or malt (e.g. `malt=maris_otter`) to discover recipes using a specific ingredient.
Filter by `food=spicy_food` to find beers explicitly recommended for spicy cuisine.
Stable, well-defined schema makes Punk API a good fixture for codegen tools, OpenAPI tooling, and SDK builders.
Integrations
The upstream source of every recipe — BrewDog's open-source DIY Dog homebrew PDF.
The recipe dataset packaged for direct npm install — no HTTP needed.
The reference Express + node server that exposes the dataset as the v2 REST API.
Several community-run instances of punkapi-server keep the v2 contract reachable after BrewDog's 2023 decommission.
Listed in github.com/public-apis/public-apis under the Food & Drink category.
Solutions
Clone sammdec/punkapi-server, run `npm i` then `npm run dev` — get the full v2 contract on http://localhost:3333.
Run `npm i --save punkapi-db` to pull the full 325-recipe data.json into your application without HTTP.
For purely read use cases, host data.json on a CDN and serve clients directly.