{"uid":"cap_58e1ZyRt4ftNAKrXj8sQR","slug":"agentkit-unit-converter-6109cb8d","name":"Agentkit Unit Converter","description":"Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, basewatch, chainread, check-sanctions, chgwatch, company-facts, composite, edgar, feednews, pageaudit, solcheck, token-dd, txpreflight, walletcheck, webmd, webread, websearch, x402index. Each operation describes its service.","url":"https://api.firstmention.uk/s/agentkit/extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","description":"Target unit; omit to get all equivalents in the same family"},"from":{"type":"string","description":"Source unit, e.g. km, kg, F, GB, USD, Km"},"round":{"type":"integer","description":"Decimal places (default 6)"},"value":{"type":"number","description":"Amount to convert"},"values":{"type":"array","items":{"type":"number"},"description":"Optional list of values instead of a single value"}}},"responseSchema":{"type":"json","example":{"to":"mi","from":"km","round":6,"value":100,"family":"length","result":62.137119}},"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_3CNYag0hDMBpyzYCOtCDI","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 (or returns all equivalents in a family), supporting length, mass, temperature, storage, currency, and more.","exampleAgentPrompt":"Convert 100 kilometers to miles, rounded to 4 decimal places.","exampleUseCases":[{"title":"Temperature unit conversion for weather","prompt":"Convert 98.6 Fahrenheit to Celsius, rounded to 2 decimal places."},{"title":"Data storage unit normalization","prompt":"Convert 512 GB to terabytes, rounded to 6 decimal places."},{"title":"Batch weight conversion for shipping","prompt":"Convert these weights from kilograms to pounds, rounded to 3 decimal places: 1.5, 2.3, 10, 25."}],"resultDescription":"A JSON object containing the source unit, target unit, the unit family (e.g. 'length', 'temperature'), the input value, and the converted numeric result rounded to the requested decimal places.","failureModes":["Unrecognized unit strings return an error or null result","Mismatched unit families (e.g. converting km to kg) return an error","Missing required 'value' or 'from' field causes a validation error","Providing both 'value' and 'values' may cause ambiguous behavior"],"whenToPreferThis":"Use this endpoint when you need fast, pay-per-call unit conversion across common physical, data, or currency units without setting up a local library. Prefer it when the agent needs to convert values on-the-fly in a workflow, especially when already using other firstmention.uk services and paying via x402 USDC micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:43:46.225Z","isFirstParty":false,"canonicalSlug":"agentkit-unit-converter-6109cb8d"}