{"uid":"cap_40hyoXQW4mIlHwEJ9YgNi","slug":"compute-api-unit-converter-31021747","name":"Compute API – Unit Converter","description":"Pure computation endpoints paid per call via x402 ($0.001 USDC on Base).","url":"https://compute-api-production-245d.up.railway.app/convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["to","from","value"],"properties":{"to":{"enum":["fahrenheit","celsius","kelvin","meters","kilometers","feet","miles","grams","kilograms","ounces","pounds"],"type":"string"},"from":{"enum":["fahrenheit","celsius","kelvin","meters","kilometers","feet","miles","grams","kilograms","ounces","pounds"],"type":"string"},"value":{"type":"number"}}},"responseSchema":{"type":"object","properties":{"unit":{"type":"string"},"result":{"type":"number"}}},"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_8aM4WEskJnllo0c3isCMx","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 temperature, length, or mass units, returning the converted result and target unit label.","exampleAgentPrompt":"Convert 98.6 from fahrenheit to celsius for me.","exampleUseCases":[{"title":"Recipe ingredient weight conversion","prompt":"I have a recipe that calls for 400 grams of flour — how many ounces is that?"},{"title":"Running distance unit swap","prompt":"I ran 10 kilometers today, what's that in miles?"},{"title":"Body temperature fever check","prompt":"My thermometer reads 39.5 degrees Celsius — what is that in Fahrenheit?"}],"resultDescription":"Returns a JSON object with 'result' (the converted numeric value as a float) and 'unit' (a string label for the target unit, e.g. 'celsius').","failureModes":["Invalid or unsupported unit enum value returns an error — only the listed enums are accepted (e.g. 'celcius' misspelled will fail)","Incompatible unit categories (e.g. converting meters to kilograms) will likely return an error or nonsensical result","Missing required fields ('to', 'from', or 'value') will cause a 4xx validation error","Payment failure or insufficient USDC balance will result in a 402 Payment Required response","Extremely large or small numeric values may produce floating-point precision issues"],"whenToPreferThis":"Choose this endpoint when you need a quick, programmatic, pay-per-use unit conversion for temperature (fahrenheit, celsius, kelvin), length (meters, kilometers, feet, miles), or mass (grams, kilograms, ounces, pounds) with no rate limits or API keys — just micro-payments via x402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:38:19.608Z","isFirstParty":false,"canonicalSlug":"compute-api-unit-converter-31021747"}