{"uid":"cap_64Eb2HaWeLMAalwkSkb5Q","slug":"convert-agentutil-net-0cbc7c5e","name":"AgentUtil Unit Converter","description":"Convert between units of measurement","url":"https://convert.agentutil.net/v1/units","method":"POST","headers":{},"bodySchema":{"type":"object","required":["from","to","value"],"properties":{"to":{"type":"string","description":"Target unit abbreviation (e.g. mi, kg, F)"},"from":{"type":"string","description":"Source unit abbreviation (e.g. km, lb, C)"},"value":{"type":"number","description":"The numeric value to convert"}}},"responseSchema":{"type":"object","required":["result","from","to","value","formula","request_id","service","related_services"],"properties":{"to":{"type":"string"},"from":{"type":"string"},"value":{"type":"number"},"result":{"type":"number"},"formula":{"type":"string"},"service":{"type":"string"},"request_id":{"type":"string"},"related_services":{"type":"array","items":{"type":"object","required":["name","url","description"],"properties":{"url":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}}}}},"example":{"request":{"to":"mi","from":"km","value":100},"response":{"to":"mi","from":"km","value":100,"result":62.13711922,"formula":"100 km = 62.13711922 mi","service":"https://convert.agentutil.net","request_id":"103efe29-e7c6-49e7-a881-292fde27ef75","related_services":[{"url":"https://verify.agentutil.net","name":"verify","description":"Fact verification against live data sources -- exchange rates, crypto, stocks, entities, geography"},{"url":"https://docs.agentutil.net","name":"docs","description":"Search pre-indexed platform documentation -- semantic vector search across 10+ platforms"},{"url":"https://think.agentutil.net","name":"think","description":"Intent security -- pre-flight safety checklists, instruction expansion, and post-action review for autonomous agents"},{"url":"https://weather.agentutil.net","name":"weather","description":"Current conditions and multi-day forecasts for any location worldwide via Open-Meteo"},{"url":"https://validate.agentutil.net","name":"validate","description":"Validate emails (RFC 5322), URLs, phone numbers (E.164), credit cards (Luhn), and JSON schemas"},{"url":"https://time.agentutil.net","name":"time","description":"Timezone conversion, current time in any timezone, date arithmetic, and epoch conversions"},{"url":"https://hash.agentutil.net","name":"hash","description":"Hash with MD5/SHA-256/SHA-512, encode/decode base64/hex/URL, generate UUIDs, identify hash algorithms"},{"url":"https://text.agentutil.net","name":"text","description":"Regex match/replace/extract, text diff, slugify, word count, and markdown/HTML/JSON transforms"},{"url":"https://math.agentutil.net","name":"math","description":"Safe expression evaluation, statistics (mean/median/stddev/percentiles), percentages, and rounding"},{"url":"https://geocode.agentutil.net","name":"geocode","description":"Forward geocoding (address to lat/lon), reverse geocoding (lat/lon to address), and haversine distance"},{"url":"https://dns.agentutil.net","name":"dns","description":"DNS record lookups (A/MX/TXT/NS), reverse DNS, WHOIS/RDAP domain data, and IP geolocation"},{"url":"https://undo.agentutil.net","name":"undo","description":"Reversibility intelligence -- check if actions can be undone, find safer alternatives, batch safety warnings"},{"url":"https://norm.agentutil.net","name":"norm","description":"Baseline reality checks -- statistical anomaly detection for values against published industry benchmarks"},{"url":"https://context.agentutil.net","name":"context","description":"Situational awareness -- timezone, holiday, business calendar, and platform status checks before taking action"}]}},"exampleRequest":{"to":"mi","from":"km","value":100},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","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__HhE2Wvha8d5t1o-iTnnS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a numeric value from one unit of measurement to another, returning the result and the conversion formula used","exampleAgentPrompt":"Convert 100 kilometers to miles and show me the formula used.","exampleUseCases":null,"resultDescription":"Returns the converted numeric result (e.g. 62.137), the source and target units, the original value, a human-readable formula string (e.g. '100 km = 62.13711922 mi'), and a request ID for tracking. Also includes related AgentUtil services.","failureModes":["Unrecognized unit abbreviation causes error — e.g. passing an invalid or ambiguous unit string","Incompatible unit types (e.g. converting kg to miles) result in an error or nonsensical result","Missing required fields (to, from, or value) return a validation error","Very large or very small numbers may lose precision in the result"],"whenToPreferThis":"Use this endpoint when an AI agent needs a reliable, programmatic unit conversion with the formula included — especially for physical measurements like distance, weight, temperature, volume, and speed. Prefer this over prompting an LLM to compute conversions when accuracy and auditability matter, or when the conversion result needs to be passed to downstream tools.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:33:19.828Z","isFirstParty":false}