{"uid":"cap_DaklSxFJCyD6CKJKOE-Qa","slug":"taskmint-unit-converter-0551be84","name":"TaskMint Unit Converter","description":"Exact native USDC on Base; externally owned wallets only. Generate a private 32-byte random request_token for each new job, persist the entire body, and reuse it for challenge/retry and recovery. The token grants result access. Do not log or share it. HTTP 202 or an uncertain transport failure requires recovery with the identical body without a signature, never a new purchase. Results expire after 24 hours. Ten bounded deterministic services. Local execution is free; hosted jobs require customer-authorized payment only when billable.","url":"https://taskmint-sign-proof-node22-production.up.railway.app/api/agent/unit_convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"payload":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["value","from","to"],"properties":{"to":{"enum":["mm","cm","m","km","in","ft","yd","mi","mg","g","kg","t","oz","lb","ml","l","m3","us_gal","imp_gal","s","min","h","day","m2","ft2","ha","acre","C","F","K"]},"from":{"enum":["mm","cm","m","km","in","ft","yd","mi","mg","g","kg","t","oz","lb","ml","l","m3","us_gal","imp_gal","s","min","h","day","m2","ft2","ha","acre","C","F","K"]},"value":{"type":"number"}},"additionalProperties":false},"maxItems":100,"minItems":1}},"additionalProperties":false},"request_token":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"Generate 32 cryptographically random bytes as lowercase hex for each new job. Keep this private result credential and reuse the identical body for retries. Replace the synthetic example token."}}},"responseSchema":{"type":"json","example":{"state":"paid","result":{"rows":[{"to":"kg","from":"lb","index":0,"value":4.5359237,"reason":null,"value_in":10,"dimension":"mass"},{"to":"C","from":"F","index":1,"value":22.2222222222,"reason":null,"value_in":72,"dimension":"temperature"},{"to":"cm","from":"in","index":2,"value":30.48,"reason":null,"value_in":12,"dimension":"length"}],"flags":[],"scope":"Supplied data only; no external lookup or verification.","status":"resolved","service":"unit_convert","summary":"3 of 3 values resolved","version":"0.5.0","precision":"Approximate numeric conversions, rounded to 12 significant digits. Not for safety-critical measurement."},"service":"unit_convert"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jHk9d5frkHsFUfdx_iefu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts numeric values between units of measurement across length, mass, volume, temperature, time, and area in batch","exampleAgentPrompt":"Convert these three measurements for me: 10 pounds to kilograms, 72°F to Celsius, and 12 inches to centimeters — I need all three results in one go.","exampleUseCases":[{"title":"Recipe ingredient unit conversion","prompt":"I need to convert 2 cups to milliliters, 500 grams to ounces, and 180°C to Fahrenheit all at once for my recipe scaling tool."},{"title":"International shipping weight and volume","prompt":"Convert 25 kilograms to pounds, 0.5 cubic meters to US gallons, and 15 kilometers to miles — I'm putting together a shipping calculator."},{"title":"Scientific data normalization","prompt":"I have a batch of measurements I need normalized: convert 1000 millimeters to meters, 5 hectares to acres, 3600 seconds to hours, and 98.6°F to Celsius."}],"resultDescription":"Returns a JSON object with state 'paid' and a result array where each item contains the converted value (rounded to 12 significant figures), the source and target units, the physical dimension (e.g. mass, temperature, length), the original input value, and a null reason on success. Also includes a summary string (e.g. '3 of 3 values resolved'), service version, and a precision disclaimer noting approximate numeric conversions not suitable for safety-critical use.","failureModes":["Invalid or mismatched unit enum values (e.g. mixing incompatible dimensions like kg to Celsius) return an error or populated reason field per row","Exceeding 100 items in a single request returns a validation error","Missing required fields (value, from, to) cause a schema validation failure","HTTP 202 or transport failure requires retry with identical request body and same request_token — never a new purchase","Results expire after 24 hours from job creation, making the request_token invalid for retrieval","Malformed request_token (not 64-character lowercase hex) causes rejection"],"whenToPreferThis":"Choose this endpoint when you need deterministic, offline unit conversion across a wide range of physical dimensions (length, mass, volume, temperature, time, area) in batch up to 100 items per call, billed at a flat $0.0005 USDC per job. It is ideal for AI agents that need cheap, reliable, multi-unit conversion without external lookup — particularly when converting between metric and imperial systems or handling mixed-dimension batches in a single request. Prefer this over general-purpose LLM math when you need precision guarantees and a structured, machine-readable response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:49:47.569Z","isFirstParty":false,"canonicalSlug":"taskmint-unit-converter-0551be84"}