{"uid":"cap_QUzyKXhblnbxVSN65OsR8","slug":"agishub-units-converter-850217f9","name":"AGISHub Units Converter","description":"Convert a value between units of the same category: length, mass, volume, speed, area, digital storage, time, and temperature (Celsius/Fahrenheit/Kelvin).","url":"https://api.agishub.com/v1/units-convert","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"enum":["http"],"type":"string"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["value","from","to"],"properties":{"to":{"type":"string","description":"Target unit in the SAME category as 'from', e.g. 'mi', 'km', 'lb', 'F'."},"from":{"type":"string","description":"Source unit, e.g. 'km', 'mi', 'kg', 'lb', 'C', 'F', 'GB', 'm/s'."},"value":{"type":"number","description":"The numeric value to convert."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"enum":["json"],"type":"string"},"example":{"type":"object"}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"result":"Convert a value between units of the same category: length, mass, volume, speed, area, digital storage, time, and temper"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_SmrN4BhAlsv0lo2Vel9Ql","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 to another within the same measurement category (length, mass, volume, speed, area, digital storage, time, or temperature).","exampleAgentPrompt":"Can you convert 100 kilometers to miles for me?","exampleUseCases":[{"title":"Recipe unit conversion","prompt":"I have a recipe that calls for 250 grams of flour but my kitchen scale only measures ounces — how many ounces is 250 grams?"},{"title":"Temperature unit conversion","prompt":"What is 98.6 degrees Fahrenheit in Celsius? I need to know for a medical reference."},{"title":"Data storage size conversion","prompt":"My file is 2.5 GB — how many megabytes is that?"}],"resultDescription":"A JSON object containing the converted numeric result for the target unit, e.g. {\"result\": \"62.137\"} representing the value in the requested output unit.","failureModes":["Mismatched unit categories (e.g. converting km to kg) returns an error — both units must belong to the same measurement category","Unknown or misspelled unit abbreviations return an error","Missing required query parameters (value, from, to) return a 400 bad request","Extremely large or small numeric values may cause precision issues in the result"],"whenToPreferThis":"Choose this endpoint when you need a fast, serverless unit conversion across standard measurement categories (length, mass, volume, speed, area, digital storage, time, temperature) without managing a local conversion library or external API key. Ideal for AI agents that encounter unit mismatch in user requests, recipe scaling, scientific calculations, or data normalization pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:55:33.988Z","isFirstParty":false}