{"uid":"cap_U77xau8mv9z2XczXR9niB","slug":"agishub-units-converter-b81491cc","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/paid/units-convert","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"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},"type":{"enum":["http"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"enum":["json"],"type":"string"},"example":{"type":"object"}},"additionalProperties":false}}},"responseSchema":null,"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_fCFNahuL54mW6gPMJqqFP","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 category (length, mass, volume, speed, area, digital storage, time, or temperature).","exampleAgentPrompt":"Can you convert 72 degrees Fahrenheit to Celsius for me?","exampleUseCases":[{"title":"Recipe unit conversion for cooking","prompt":"I'm following a US recipe that says 2 cups of flour — can you convert that to milliliters for me?"},{"title":"Distance conversion for travel planning","prompt":"How many miles is 150 kilometers? I need to know the equivalent for a road trip I'm planning."},{"title":"Data storage conversion for tech spec","prompt":"Our server has 512 GB of storage — can you tell me how many terabytes that is?"}],"resultDescription":"A JSON object containing the converted numeric result for the given value, source unit, and target unit. Typically includes the output value and may include unit labels.","failureModes":["Mismatched unit categories (e.g. converting km to kg) returns an error","Unsupported unit abbreviations return a 400-level error","Non-numeric value input causes a validation failure","Missing required query parameters (value, from, or to) returns a 422 or 400 error"],"whenToPreferThis":"Choose this endpoint when you need a quick, reliable, single-value unit conversion across common categories like length, mass, volume, speed, area, digital storage, time, or temperature. It's ideal for inline conversions inside agent workflows without requiring a full math library or external computation service. Prefer it over general-purpose LLM arithmetic when precision and categorical correctness (e.g. Celsius/Fahrenheit/Kelvin handling) matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:53:24.795Z","isFirstParty":false}