{"uid":"cap_7rzOXWKARhJt25vJPVPtH","slug":"kitchen-pass-chef-api-how-much-to-buy-2e0c89f8","name":"Kitchen Pass Chef API – How Much to Buy","description":"How much to buy: e.g. how much brisket for 120 people at 180 g cooked each. Send ingredient, portions and portion size (g, kg, lb, oz); get the weight to buy (best/mid/worst, rounded up) from head chef Cristopher's verified trim and cook-loss ranges. Add price per kg/lb and menu price ex GST/VAT for total cost, cost per portion and that ingredient's food cost %, with workings. Refused, never guessed: allergen, curing and preserving terms. Only a 200 answer is charged; refusals and 404s are free.","url":"https://kitchen-pass.netlify.app/v1/how-much-to-buy?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"currency":{"type":"string"},"portions":{"type":"integer"},"sellPrice":{"type":"number"},"ingredient":{"type":"string"},"pricePerKg":{"type":"number"},"pricePerLb":{"type":"number"},"portionSize":{"type":"object","required":["qty","unit"],"properties":{"qty":{"type":"number"},"unit":{"enum":["g","kg","lb","oz"]}}}}},"responseSchema":{"type":"json","example":{"cost":{"perPortion":{"mid":6.71,"best":6.27,"worst":7.2}},"basis":"cooked","status":"ok","neededG":21600,"buyDisplay":{"mid":"41.3 kg","best":"38.6 kg","worst":"44.4 kg"},"ingredient":"whole brisket","provenance":{"label":"Chef-verified by Cristopher"},"foodCostPct":{"mid":21,"best":19.6,"worst":22.5}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_83bOsMcLIzDXcCOHi4aAM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the raw weight of an ingredient to purchase for a given number of portions, accounting for trim and cook-loss ranges, with optional food cost analysis.","exampleAgentPrompt":"I'm catering a dinner for 80 people and each person gets 180g of cooked brisket — how much raw brisket do I need to buy? The brisket costs $22 per kg and I'm selling the dish at $45 per portion ex GST.","exampleUseCases":[{"title":"Wedding catering quantity planning","prompt":"We're cooking lamb shoulder for 150 wedding guests, each getting a 200g cooked portion. Lamb costs $18 per kg and we're charging $38 per portion ex GST — how much raw lamb do I need to order and what's the food cost percentage?"},{"title":"Restaurant menu cost analysis","prompt":"I need to work out how much raw salmon fillet to buy for a 50-cover dinner service, with each plate getting a 160g cooked portion. Salmon is $32 per kg and I'm selling it at $42 per main ex VAT — give me the best, mid and worst-case purchase weights and the food cost."},{"title":"Food truck batch purchase calculation","prompt":"For my food truck I'm doing 120 portions of pulled pork at 150g each cooked. Pork shoulder is $8.50 per kg and I'm selling each portion for $15 ex GST — how many kg should I buy to cover trim and cook loss, and what will it cost me?"}],"resultDescription":"Returns best-case, mid-case, and worst-case raw purchase weights (rounded up) based on verified trim and cook-loss ranges, along with total ingredient cost, cost per portion, food cost percentage as a decimal or %, and a breakdown of the calculation workings. Allergen identification, curing, and preserving queries are refused without charge. Only successful 200 responses incur the $0.01 USDC charge.","failureModes":["Allergen-related queries refused (no charge)","Curing or preserving technique queries refused (no charge)","Unrecognised ingredient may return a 404 (no charge)","Missing required fields (ingredient, portions, portionSize) returns an error","Providing both pricePerKg and pricePerLb may cause ambiguity; use one"],"whenToPreferThis":"Choose this endpoint when you need chef-verified, loss-adjusted purchase quantity calculations for a specific ingredient and portion count — especially when you also want integrated food cost and menu pricing analysis. It is more accurate than generic catering calculators because it uses verified trim and cook-loss ranges rather than rule-of-thumb percentages. Use it when planning catering events, costing restaurant menus, or ordering stock for a specific service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:40:36.747Z","isFirstParty":false,"canonicalSlug":"kitchen-pass-chef-api-how-much-to-buy-2e0c89f8"}