{"uid":"cap_J9isoz952Na9KOAHPJ_mr","slug":"agent402-tools-unit-converter-52735fc6","name":"agent402.tools Unit Converter","description":"Convert a value between units of length, mass, temperature, volume, area, speed, time, data, pressure, energy, power, angle, frequency - every unit the retired convert-* endpoints handled (e.g. miles, kilograms, us-gallons, fahrenheit, psi, kilowatt-hours).","url":"https://agent402.tools/api/unit-convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","description":"Target unit id - must be in the same category as `from`."},"from":{"type":"string","description":"Source unit id - any unit of length, mass, temperature, volume, area, speed, time, data, pressure, energy, power, angle, or frequency (e.g. \"miles\", \"fahrenheit\", \"us-gallons\"). Short aliases like \"km\"/\"lb\"/\"f\" also work."},"value":{"type":"number"}}},"responseSchema":{"type":"json","example":{"to":"celsius","from":"fahrenheit","result":37.7777777778}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_01PUNMOnxJDLEIwo9eVqR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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, temperature, data, time, or speed.","exampleAgentPrompt":"Convert 72 degrees Fahrenheit to Celsius for me.","exampleUseCases":null,"resultDescription":"A converted numeric result for the requested unit pair, representing the input value expressed in the target unit.","failureModes":["Unsupported unit type returns an error (e.g. converting currency or angles)","Incompatible unit categories (e.g. converting kg to km) returns an error","Missing required fields (value, from, or to) returns a validation error","Malformed unit strings return an error if not recognized"],"whenToPreferThis":"Use this endpoint when an agent needs a reliable, low-latency unit conversion across common physical or data measurement categories (length, mass, temperature C/F/K, data, time, speed) without building conversion logic in-house. Prefer this over LLM-based calculation for accuracy and determinism.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:58:13.500Z","isFirstParty":false}