{"uid":"cap_9D90z8N3DoZ068A2JeoF9","slug":"centralcity-ai-unit-converter-ce7c4d8e","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_4wpm5fcsftn3nffv?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_vlFosNwYmoQjGWKmC-76i","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 between units of length, mass, volume, or temperature.","exampleAgentPrompt":"Convert 26.2 miles to kilometers for me.","exampleUseCases":[{"title":"Recipe ingredient scaling","prompt":"I have a recipe that calls for 250 ml of milk, but I only have a measuring cup in fluid ounces — how much is that?"},{"title":"International shipping weight check","prompt":"I need to know how many pounds 4.5 kilograms is so I can fill out the shipping form."},{"title":"Body temperature fever check","prompt":"My thermometer reads 38.5 degrees Celsius — what is that in Fahrenheit?"}],"resultDescription":"Returns the numeric converted value in the target unit. The agent receives the computed result as a number corresponding to the input value expressed in the requested destination unit.","failureModes":["Mismatched unit kinds (e.g. converting meters to kilograms) — the API may return an error since 'from' and 'to' must be the same kind","Value out of allowed range (beyond ±1,000,000,000,000,000) returns a validation error","Invalid or unsupported unit enum values result in a schema validation error","Network or payment failure (HTTP 402 if payment not properly provided) prevents the call from completing"],"whenToPreferThis":"Use this endpoint when you need a quick, reliable, single-value unit conversion across length, mass, volume, or temperature without building your own conversion logic. It is ideal for agents that encounter user-specified measurements in unfamiliar units and need an authoritative numeric result. Prefer it over general-purpose LLM estimation when precision matters or when the conversion involves non-trivial factors (e.g. temperature scales, imperial/metric mass).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:37:32.451Z","isFirstParty":false,"canonicalSlug":"centralcity-ai-unit-converter-ce7c4d8e"}