{"uid":"cap_U4tLLb1medv4imPRW-bp1","slug":"agentkit-unit-converter-datetime-family-76f5aa2c","name":"AgentKit Unit Converter (datetime family)","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/datetime?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_ofXfXgRVcF-YzG5ws1fUc","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 between units within a supported family (e.g. length, weight, temperature, storage, currency) using a pay-per-call x402 API.","exampleAgentPrompt":"Convert 100 kilometers to miles and round the result to 4 decimal places.","exampleUseCases":[{"title":"Imperial to metric distance conversion","prompt":"I need to convert 26.2 miles to kilometers — can you do that and show me the result rounded to 3 decimal places?"},{"title":"Temperature unit conversion for weather data","prompt":"Convert 98.6 degrees Fahrenheit to Celsius for me, rounded to 2 decimal places."},{"title":"Batch data storage unit conversion","prompt":"I have a list of file sizes in gigabytes — 1.5, 10, 250, and 500 — can you convert all of them to terabytes, rounded to 6 decimal places?"}],"resultDescription":"A JSON object containing the source unit, target unit, unit family, input value, and the converted result rounded to the specified decimal places. Example: {to: 'mi', from: 'km', round: 6, value: 100, family: 'length', result: 62.137119}.","failureModes":["Unsupported unit pair returns an error (incompatible or unknown units)","Missing required fields (value, from) result in a validation error","Incompatible unit families (e.g. converting km to kg) return a domain error","Payment failure via x402 results in HTTP 402 before the conversion is performed","Passing non-numeric values causes a type validation failure"],"whenToPreferThis":"Choose this endpoint when you need programmatic, pay-per-call unit conversion with precise decimal rounding, support for physical quantity families (length, weight, temperature, storage, currency), or when converting a batch list of values. Prefer it over hardcoded conversion logic when accuracy and family-awareness (getting all equivalents) matter, and when operating in an x402-enabled payment context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:39:21.947Z","isFirstParty":false,"canonicalSlug":"agentkit-unit-converter-datetime-family-76f5aa2c"}