{"uid":"cap_H83oRRfw4m1kt35HooQsH","slug":"agent-data-tools-unit-conversion-4d75376a","name":"Agent Data Tools: Unit Conversion","description":"Convert between units of length, mass, volume (incl. US cups and gallons), temperature (c, f, k), speed, area, data size (kB vs KiB), time, energy and pressure. Example units: km, mi, lb, kg, floz, ml, mph, kn, acre, gib, kwh, psi. Use when exact conversions matter.","url":"https://agent-data-tools.revmesh2074.workers.dev/units/convert?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["value","from","to"],"properties":{"to":{"type":"string","description":"Unit to convert to"},"from":{"type":"string","description":"Unit to convert from"},"value":{"type":"number","description":"The amount"}}},"responseSchema":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"kind":{"type":"string"},"value":{"type":"number"},"result":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sSxurHbGOG8FiUvvTGyB7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 of measurement to another (e.g. km to miles, kg to lbs)","exampleAgentPrompt":"Convert 10 kilometers to miles for me.","exampleUseCases":[{"title":"Distance unit conversion for navigation","prompt":"I need to convert 42.195 kilometers to miles — what is that in miles?"},{"title":"Weight conversion for recipe scaling","prompt":"Convert 250 grams to ounces so I can follow this American recipe."},{"title":"Temperature conversion for weather reporting","prompt":"What is 37 degrees Celsius in Fahrenheit?"}],"resultDescription":"Returns a JSON object with the original value, source unit, target unit, the unit kind (e.g. 'length', 'mass', 'temperature'), and the converted result as a number. Example: {from:'km', to:'mi', kind:'length', value:10, result:6.2137119224}","failureModes":["Unsupported unit pair returns an error (e.g. converting incompatible unit types like length to mass)","Missing required query parameters (value, from, to) return a 400 error","Misspelled or unrecognized unit abbreviations may return an error or null result","Network/worker failures on the Cloudflare edge may return 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a quick, reliable, pay-per-call unit conversion without setting up an API key or account. It is ideal for AI agents that need to convert physical measurements (length, weight, temperature, volume, speed, area, etc.) on-demand at $0.001 per call. Prefer this over general-purpose math tools when you specifically need unit-aware conversion with named unit categories returned in the response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T06:40:10.011Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-unit-conversion-4d75376a"}