{"uid":"cap_BLBG_z1fMeu0xamABuROg","slug":"coffee-brew-calculator-3f18bbf7","name":"Coffee Brew Calculator","description":"Coffee grams for your water (or water for your grams) by method: drip, pour-over, press, espresso, cold brew; rough caffeine.","url":"https://cooking-calc.x402tookit.com/coffee-brew?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["method"],"properties":{"method":{"type":"string","description":"drip, pour-over, french-press, aeropress, moka, cold-brew, cold-brew-concentrate, sca-golden-cup or espresso"},"coffeeG":{"type":"number","description":"Or ground coffee in grams, 1 to 2000"},"waterMl":{"type":"number","description":"Water in mL, 10 to 20000 (give this or coffeeG)"},"espressoYieldRatio":{"type":"number","description":"espresso only: liquid out per gram in, 1.5 to 3 (default 2)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"ratio":{"type":["null","string"]},"method":{"type":["null","string"]},"source":{"type":["null","string"]},"coffeeG":{"type":["null","number"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"waterMl":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"gramsPerLitre":{"type":["null","number"]},"caffeineMgEstimate":{"type":["null","object"],"properties":{"low":{"type":["null","number"]},"high":{"type":["null","number"]},"typical":{"type":["null","number"]}}},"caffeineMgPer240Ml":{"type":["null","number"]},"approxBrewedLiquidMl":{"type":["null","number"]},"fdaDailyGuidanceMgHealthyAdults":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MNUf46TL020WoV6DJFGis","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates coffee-to-water ratios, water or coffee grams, and rough caffeine estimates for multiple brew methods including drip, pour-over, French press, espresso, and cold brew.","exampleAgentPrompt":"How many grams of coffee do I need to brew 600ml of water using a pour-over method, and roughly how much caffeine will that have?","exampleUseCases":[{"title":"Home barista pour-over planning","prompt":"I'm making a pour-over with 350ml of water — how many grams of coffee should I use, and what's the caffeine estimate?"},{"title":"Cold brew batch prep","prompt":"I want to make a big batch of cold brew with 2000ml of water — how much ground coffee do I need and how much caffeine will it have?"},{"title":"Espresso dose and yield check","prompt":"For an espresso with 18 grams of coffee and a yield ratio of 2, how much liquid will I get and what's the caffeine range?"}],"resultDescription":"Returns the calculated coffee grams and/or water volume in mL for the chosen brew method, the ratio string and grams-per-litre figure, approximate brewed liquid volume, a low/typical/high caffeine estimate in mg, caffeine per 240ml serving, and the FDA daily guidance for healthy adults. May include a source citation, disclaimer, and any degraded-mode flags.","failureModes":["Missing required 'method' query parameter returns an error","Neither coffeeG nor waterMl provided — endpoint requires at least one","coffeeG or waterMl out of allowed range (coffeeG 1-2000g, waterMl 10-20000mL) causes rejection","espressoYieldRatio outside 1.5-3 range for espresso method","Invalid brew method enum value causes an error","Payment not completed (x402) results in 402 response before calculation"],"whenToPreferThis":"Choose this endpoint when you need precise coffee-to-water ratio calculations for a specific brew method with caffeine context. It covers a wide range of methods (drip, pour-over, french press, aeropress, moka, cold brew, cold brew concentrate, SCA golden cup, espresso) in a single call, and returns both volume math and nutrition-adjacent caffeine estimates — making it ideal for recipe planning, barista tooling, or health-conscious brewing apps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:13:47.380Z","isFirstParty":false,"canonicalSlug":"coffee-brew-calculator-3f18bbf7"}