{"uid":"cap_kRW6QQlVTeklQP3ISrWV-","slug":"cooking-unit-converter-90792616","name":"Cooking Unit Converter","description":"Convert cooking measures: cups, tablespoons, teaspoons, ml, ounces and grams, with weight for flour, sugar, butter and more.","url":"https://units-convert.x402tookit.com/cooking-convert?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":["value","from","to"],"properties":{"to":{"type":"string","description":"cup, tbsp, tsp, ml, l, floz, oz, g, kg, lb"},"from":{"type":"string","description":"cup, tbsp, tsp, ml, l, floz, oz, g, kg, lb"},"value":{"type":"number","description":"Amount"},"ingredient":{"type":"string","description":"Needed to cross between volume and weight, e.g. flour, sugar, butter, honey"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"to":{"type":["null","string"]},"asOf":{"type":["null","string"]},"from":{"type":["null","string"]},"basis":{"type":["null","string"]},"result":{"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"]},"ingredient":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"gramsPerCup":{"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_F8bIjYlUZMJo1JHoI7neK","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":"Converts cooking measurements between volume and weight units (cups, tablespoons, teaspoons, ml, oz, grams, etc.) with ingredient-aware density for flour, sugar, butter, and more.","exampleAgentPrompt":"How many grams is 1.5 cups of flour? Convert from cups to grams using flour as the ingredient.","exampleUseCases":[{"title":"Recipe scaling by weight","prompt":"I'm following a recipe that calls for 3 cups of sugar but I want to weigh it instead — how many grams is that?"},{"title":"Metric to US volume conversion","prompt":"My recipe says 250ml of milk — how many cups is that?"},{"title":"Tablespoons to grams for butter","prompt":"How many grams is 4 tablespoons of butter?"}],"resultDescription":"Returns the converted numeric result along with the source and target units, a human-readable summary, the ingredient used (if any), the grams-per-cup density basis, and an optional disclaimer about approximation accuracy.","failureModes":["Missing required 'value', 'from', or 'to' query parameters returns an error","Cross-unit conversion between volume and weight without specifying an ingredient fails or returns degraded result","Unsupported unit strings (not in allowed enum) return an error","Unknown ingredient names may fall back to a generic or degraded density estimate"],"whenToPreferThis":"Use this endpoint when you need precise cooking measurement conversions, especially cross-domain conversions between volume and weight that require ingredient-specific density (e.g. cups of flour to grams). Prefer this over general unit converters when the context is culinary and ingredient identity matters for accuracy.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:19:27.292Z","isFirstParty":false,"canonicalSlug":"cooking-unit-converter-90792616"}