{"uid":"cap_cxmDMLKj4NEJbyLBsSqF0","slug":"unit-converter-f57fa546","name":"Unit Converter","description":"Convert a value between units of length, mass, volume or temperature (C/F/K).","url":"https://x402.agentindex.world/unit/convert?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"number","title":"Value"},"to_unit":{"type":"string","title":"To Unit"},"from_unit":{"type":"string","title":"From Unit"}}},"responseSchema":{"type":"json","example":{"unit":"km","value":1.609344}},"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_sCUr7u5hcgIr3DuvRDDTC","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 from one unit of measurement to another (e.g., miles to kilometers, Fahrenheit to Celsius)","exampleAgentPrompt":"Convert 26.2 miles to kilometers for me.","exampleUseCases":[{"title":"Running distance conversion","prompt":"I just ran 10 kilometers — how many miles is that?"},{"title":"Cooking recipe unit swap","prompt":"My recipe calls for 250 milliliters of milk, but I only have a measuring cup in fluid ounces — how much is that?"},{"title":"Temperature unit conversion","prompt":"It's going to be 38 degrees Celsius tomorrow — what is that in Fahrenheit?"}],"resultDescription":"Returns a JSON object with the converted numeric value and the target unit label (e.g., {\"unit\": \"km\", \"value\": 1.609344})","failureModes":["Unsupported or unrecognized unit strings return an error","Incompatible unit categories (e.g., converting miles to kilograms) return an error","Missing required parameters (value, from_unit, to_unit) result in a bad request","Malformed numeric value (non-numeric input) causes a validation failure"],"whenToPreferThis":"Use this endpoint when an agent needs to perform a quick, pay-per-call unit conversion without setting up a local library — ideal for one-off conversions in automated pipelines where accuracy and low latency matter and the x402 micropayment model is already in use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T00:36:30.965Z","isFirstParty":false,"canonicalSlug":"unit-converter-f57fa546"}