{"uid":"cap_-v4afwAuXngRC1-e4T2f_","slug":"qty-recipe-scaler-3e9f02cf","name":"Qty Recipe Scaler","description":"Qty converts known units for free and interprets messy quantities, prices, recipes, sizes, and dates in code. It never invents a number.","url":"https://qty.vercel.app/v1/scale-recipe?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"path":{"type":"string"},"price":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"path":{"type":"string"},"price":{"type":"string"},"method":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"see":{"mcp":"/mcp","docs":"/docs","llms":"/llms.txt","x402":"/.well-known/x402.json","openapi":"/openapi.json","llmsFull":"/llms-full.txt","agentCard":"/.well-known/agent-card.json"},"recipe":{"factor":1.5,"definitionId":"recipe.scale.servings.v1"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cjKoka6uDVLF9tBoG4iq9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 quantities by a deterministic factor to serve a different number of people","exampleAgentPrompt":"I have a pasta recipe that serves 4 — can you scale it up to serve 6 people and tell me the exact scaling factor I need to multiply all the ingredients by?","exampleUseCases":[{"title":"Scaling dinner party recipe","prompt":"I have a lasagna recipe that serves 4 people but I'm cooking for 10 at my dinner party this Saturday — what factor do I multiply all the ingredients by?"},{"title":"Halving a baking recipe","prompt":"My banana bread recipe makes 2 loaves but I only want 1 loaf tonight — scale it down and give me the exact factor to apply to each ingredient."},{"title":"Meal prep bulk cooking","prompt":"I have a soup recipe that serves 2 but I need to meal prep enough for 14 servings across the week — give me the precise scaling factor so I don't mess up the quantities."}],"resultDescription":"Returns a JSON object containing a numeric scaling factor (e.g. 1.5) and a definition ID (e.g. 'recipe.scale.servings.v1') confirming the computation type used. The agent can multiply each ingredient quantity by the factor to obtain the scaled recipe.","failureModes":["Missing or invalid 'path' query parameter returns an error","Unsupported recipe format or path may return no result","Invalid HTTP method (POST, PUT) returns 405","Malformed query parameters may result in a 400 bad request","Payment failure via x402 returns 402 if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, hallucination-free scaling factor for recipe quantities rather than asking an LLM to guess. It is ideal for cooking apps, meal planners, or any agent workflow that must reliably transform ingredient amounts without inventing numbers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:30:35.865Z","isFirstParty":false,"canonicalSlug":"qty-recipe-scaler-3e9f02cf"}