{"uid":"cap_PVkPAeoZxINb6kKLizaVY","slug":"units-and-conversions-physical-unit-converter-663c5781","name":"Units and Conversions – Physical Unit Converter","description":"Convert a value between units of length, mass, volume, area, speed, pressure, energy, power, time or temperature, exactly.","url":"https://units-convert.x402tookit.com/unit-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":"Target unit of the same kind"},"from":{"type":"string","description":"Unit, e.g. mi, km, lb, kg, gal_us, c, f, psi, kwh"},"value":{"type":"number","description":"The number to convert"}}}},"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"]},"input":{"type":["null","number"]},"result":{"type":["null","number"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"category":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"resultRounded":{"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_5pD9rzblz6yJSinpcbyQs","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 a numeric value from one physical unit to another across length, mass, volume, area, speed, pressure, energy, power, time, and temperature.","exampleAgentPrompt":"Can you convert 26.2 miles to kilometers for me?","exampleUseCases":[{"title":"Recipe unit conversion for cooking","prompt":"I have a recipe that calls for 2.5 cups of flour but my scale only does grams — can you convert 2.5 cups to grams? Wait, actually just convert 500 ml to fluid ounces for the liquid part."},{"title":"Travel speed limit translation","prompt":"The speed limit on the highway here is 130 km/h — what is that in mph?"},{"title":"Engineering pressure unit conversion","prompt":"I need to convert 14.7 psi to bar for a spec sheet I'm filling out — what's the exact value?"}],"resultDescription":"Returns the converted numeric result along with a rounded version, the source and target unit labels, the measurement category (e.g. length, temperature), a human-readable summary, and optional disclaimer or degraded-quality flags.","failureModes":["Incompatible units (e.g. converting length to mass) returns an error or null result","Unrecognized unit abbreviation causes a failed lookup","Missing required query parameters (value, from, to) results in a 400-level error","Payment not attached or insufficient USDC balance causes a 402 payment required response"],"whenToPreferThis":"Use this endpoint when you need exact, deterministic physical unit conversions across standard measurement categories (length, mass, volume, area, speed, pressure, energy, power, time, temperature). Prefer it over general-purpose LLM math when precision and structured output (rounded result, category label, summary) are required. Not suited for cooking-specific measures (use the cooking converter sibling), data sizes, fuel economy, or Roman numeral conversions — those have dedicated sibling endpoints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:18:53.562Z","isFirstParty":false,"canonicalSlug":"units-and-conversions-physical-unit-converter-663c5781"}