{"uid":"cap_TdkIvzJWxpyb-gJervH_x","slug":"cooking-measurement-converter-ingredient-aware-753bea60","name":"Cooking Measurement Converter (Ingredient-Aware)","description":"Cooking conversion API: cups↔grams↔tablespoons↔ml with ingredient-aware densities for 40+ ingredients (a cup of flour is 120g, a cup of honey is 340g). The kitchen math LLMs get wrong.","url":"https://x402.forgemesh.io/cooking-measurements","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"amount":{"type":"string"},"ingredient":{"type":"string","description":"required for volume↔weight"}}},"responseSchema":{"type":"json","example":{"note":"using typical density for flour (~120 g/cup)","result":240}},"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_h9sHT4_87kLOVq_LGoa1A","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":"Converts cooking measurements between volume and weight units (cups, tablespoons, ml, grams, oz) using ingredient-specific densities for 40+ ingredients.","exampleAgentPrompt":"Can you convert 2.5 cups of flour to grams? I need the ingredient-aware weight, not just a generic volume conversion.","exampleUseCases":[{"title":"Baking recipe unit conversion","prompt":"My cake recipe calls for 3 cups of all-purpose flour but my scale only does grams — how many grams is that?"},{"title":"Scaling down a honey glaze","prompt":"I need to use 85 grams of honey but my measuring spoons are in tablespoons — how many tablespoons of honey is that?"},{"title":"Converting a foreign recipe to US measures","prompt":"This recipe says 200ml of olive oil — can you tell me how many tablespoons that is?"}],"resultDescription":"Returns the converted measurement value in the requested target unit, adjusted for the actual density of the specified ingredient (e.g. acknowledging that a cup of flour is 120g while a cup of honey is 340g).","failureModes":["Unknown ingredient — ingredient not in the 40+ supported list, conversion fails or falls back to generic density","Missing ingredient field when converting between volume and weight — required for volume↔weight conversions","Invalid unit strings in 'from' or 'to' fields — unsupported unit names cause errors","Malformed amount string — non-numeric or unparseable amount values","Network or payment failure — x402 micropayment of $0.002 USDC not processed"],"whenToPreferThis":"Choose this endpoint when you need cooking-specific volume-to-weight or weight-to-volume conversions that depend on ingredient density (e.g. cups of flour vs cups of honey weigh very differently). Prefer it over generic unit converters for kitchen and recipe tasks where ingredient type matters. Use the sibling metric-imperial converter for non-food unit conversions like km to miles.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:01:49.162Z","isFirstParty":false}