{"uid":"cap_HwtVJN1xBL_-F7136isr4","slug":"cooking-calculators-recipe-scaler-abdd535c","name":"Cooking Calculators – Recipe Scaler","description":"Scale a recipe's ingredient list by servings or factor: tidy fractions, spoon-to-cup bumping, optional grams, scaling cautions.","url":"https://cooking-calc.x402tookit.com/recipe-scale?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":["ingredients"],"properties":{"grams":{"type":"boolean","description":"true to add gram weights for volume measures of known ingredients"},"factor":{"type":"number","description":"Or a multiplier, 0.1 to 20 (instead of servings)"},"toServings":{"type":"number","description":"Servings you want"},"ingredients":{"type":"string","description":"Ingredient lines separated by semicolons or new lines, for example '2 cups flour; 1 1/2 tsp salt; 3 eggs'"},"fromServings":{"type":"number","description":"Servings the recipe makes (use with toServings)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"items":{"type":["array","null"],"items":{"type":"object","properties":{"name":{"type":["null","string"]},"unit":{"type":["null","string"]},"grams":{"type":["null","number"]},"scaled":{"type":["null","string"]},"original":{"type":["null","string"]},"quantity":{"type":["null","number"]},"gramsNote":{"type":["null","string"]},"ingredientMatched":{"type":["null","string"]}}}},"factor":{"type":["null","number"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}}}}}}}},"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_z_FybXOO8m6-U5McB4nQ-","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":"Scales a recipe's ingredient list up or down by target servings or a multiplier, returning tidy fractional quantities, unit bumping, optional gram weights, and scaling cautions.","exampleAgentPrompt":"I have a cookie recipe that makes 24 servings — 2 cups flour; 1 tsp baking soda; 1/2 tsp salt; 1 cup butter; 3/4 cup sugar — can you scale it up to 60 servings and include gram weights?","exampleUseCases":[{"title":"Scaling holiday dinner for a crowd","prompt":"My pot roast recipe serves 4 with these ingredients: 2 lbs beef chuck; 3 cups beef broth; 4 cloves garlic; 2 tbsp olive oil; 1 tsp salt. I need to make it for 20 people — can you scale all the ingredients up and give me tidy amounts?"},{"title":"Halving a baking recipe","prompt":"I only want to make half a batch of brownies. The recipe is for 16 servings: 1 cup flour; 1/2 cup cocoa powder; 2 eggs; 3/4 cup butter; 1 1/2 cups sugar. Can you scale it down to 8 servings and include gram weights for the dry ingredients?"},{"title":"Multiplying by a custom factor","prompt":"Scale this salad dressing recipe by a factor of 3.5 for a catering job: 1/4 cup olive oil; 2 tbsp lemon juice; 1 tsp dijon mustard; 1/2 tsp honey; 1/4 tsp black pepper."}],"resultDescription":"Returns a list of scaled ingredient objects, each with the original quantity string, the new scaled quantity (as a tidied fraction or whole number), the unit (bumped up when appropriate, e.g. teaspoons to tablespoons), optional gram weight and a matched ingredient name, plus a summary, the effective scaling factor, any scaling cautions or reasons, and a disclaimer.","failureModes":["Missing or unparseable ingredient lines returns an error or empty items list","Factor out of range (outside 0.1–20) may be rejected or produce unexpected results","Unknown ingredient names will not get gram weight matches (ingredientMatched will be null)","Ambiguous unit strings may not be bumped correctly","Very large batches may trigger scaling caution warnings in the reasons array"],"whenToPreferThis":"Use this endpoint when you need to programmatically scale a recipe's ingredient list to a different number of servings or by a custom multiplier, especially when you want human-friendly fractional output (e.g. '1 1/4 cups' instead of '1.25 cups'), automatic unit bumping (teaspoons to tablespoons), or optional gram weights for baking precision. Prefer it over manual math or general-purpose LLM arithmetic when accuracy and tidy formatting matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T13:21:51.384Z","isFirstParty":false,"canonicalSlug":"cooking-calculators-recipe-scaler-abdd535c"}