{"uid":"cap_m2iP67DtOeqtmxWhVS3Ei","slug":"lilambd-unit-converter-0c620070","name":"lilambd Unit Converter","description":"A crossing for play, feeling, language, science and computation — creating states that do not have names yet.","url":"https://api.lilambd.com/units/convert?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["value","from","to"],"properties":{"to":{"type":"string","description":"Target unit"},"from":{"type":"string","description":"Source unit (id, symbol, UCUM or name)"},"value":{"type":"string","description":"Number to convert"}},"additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[],"count":0,"attribution":"source licence line"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oqsfI8qUAV5pgdsDyQeH4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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, supporting a wide range of unit types via UCUM or common unit names/symbols.","exampleAgentPrompt":"Convert 72 degrees Fahrenheit to Celsius — use the from unit 'degF' and to unit 'Cel'.","exampleUseCases":[{"title":"Recipe unit conversion for cooking","prompt":"I need to convert 2.5 cups to milliliters — from 'cup_us' to 'mL'."},{"title":"Scientific data unit normalization","prompt":"Convert 101325 pascals to atmospheres, from 'Pa' to 'atm', so I can normalize my pressure readings."},{"title":"Distance conversion for travel planning","prompt":"How many miles is 42.195 kilometers? Convert from 'km' to '[mi_i]' please."}],"resultDescription":"Returns a JSON object with a 'data' array containing the conversion result(s), a 'count' integer, and an 'attribution' string crediting the underlying unit database or license source.","failureModes":["Unknown or misspelled unit identifiers in 'from' or 'to' fields returning empty data array","Non-numeric value in the 'value' parameter causing parse errors","Incompatible unit types (e.g. length to mass) returning no valid conversion","Missing required query parameters returning a 400-level error","Payment failure via x402 protocol preventing access"],"whenToPreferThis":"Choose this endpoint when you need programmatic unit conversion with support for UCUM (Unified Code for Units of Measure) identifiers alongside common symbols and names — particularly useful for scientific, medical, or engineering contexts where standard unit codes matter. It is a paid microservice suitable for agent workflows needing reliable, attributed conversions at low per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:21.909Z","isFirstParty":false,"canonicalSlug":"lilambd-unit-converter-0c620070"}