{"uid":"cap_QqpIhym3bVnhm-iAiQU7L","slug":"centralcity-ai-unit-converter-621f5b03","name":"centralcity.ai Unit Converter","description":"Converts a value between two units of length, mass, volume or temperature.","url":"https://centralcity.ai/api/public/x402/off_rtu7yptpionf5y2k?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"enum":["mm","cm","m","km","in","ft","yd","mi","mg","g","kg","oz","lb","ml","l","floz","gal","c","f","k"],"type":"string","description":"The unit to convert to, of the same kind as from."},"from":{"enum":["mm","cm","m","km","in","ft","yd","mi","mg","g","kg","oz","lb","ml","l","floz","gal","c","f","k"],"type":"string","description":"The unit of value: mm, cm, m, km, in, ft, yd, mi, mg, g, kg, oz, lb, ml, l, floz, gal, c, f, k."},"value":{"type":"number","maximum":1000000000000000,"minimum":-1000000000000000,"description":"The value to convert."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Qe3Sxkaf-equN6NzDIQXT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a numeric value from one unit to another across length, mass, volume, or temperature domains.","exampleAgentPrompt":"Can you convert 212 Fahrenheit to Celsius for me?","exampleUseCases":[{"title":"Recipe unit conversion for cooking","prompt":"I need to convert 2.5 cups — wait, 600 ml — to fluid ounces for this recipe. Can you do that conversion for me?"},{"title":"International distance conversion","prompt":"I'm reading a trail map that says 8 miles — can you convert that to kilometers?"},{"title":"Shipping weight unit conversion","prompt":"The package weighs 4.5 pounds and I need that in kilograms for the customs form. Can you convert it?"}],"resultDescription":"A converted numeric value expressed in the target unit, computed from the input value and the specified source and destination units across length (mm, cm, m, km, in, ft, yd, mi), mass (mg, g, kg, oz, lb), volume (ml, l, floz, gal), or temperature (c, f, k) domains.","failureModes":["Mismatched unit kinds (e.g. converting meters to kilograms) — API likely returns an error since units must be of the same measurement type","Value out of supported range (beyond ±1,000,000,000,000,000) returns a validation error","Invalid or unrecognized unit codes outside the supported enum return an error","Missing required fields (value, from, or to) result in a bad request error"],"whenToPreferThis":"Use this endpoint when an agent needs a quick, reliable unit conversion for a single value across common measurement systems (length, mass, volume, temperature). It is ideal for inline computations during recipe scaling, travel planning, scientific calculations, or shipping/customs workflows. Prefer this over manual formula application when accuracy and speed matter and the units involved are within the supported enum set.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:38:10.239Z","isFirstParty":false,"canonicalSlug":"centralcity-ai-unit-converter-ce7c4d8e"}