{"uid":"cap_SbpUsq4xmp9v3ojwCS20s","slug":"swift-bot-labs-toolbox-unit-converter-78d3533f","name":"Swift Bot Labs Toolbox – Unit Converter","description":"62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.","url":"https://x402-toolbox.swiftbotlab.workers.dev/v1/convert/units?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"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["value","from","to"],"properties":{"to":{"type":"string","description":"Target unit, or \"all\""},"from":{"type":"string"},"value":{"type":"string"}},"additionalProperties":false},"discoverable":{"type":"boolean"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"unit-convert","result":{"to":"C","from":"F","value":72,"result":22.2222222222,"dimension":"temperature"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0BCKniugWbIqbvoc9lWOt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 (e.g. Fahrenheit to Celsius, miles to kilometres) across multiple measurement dimensions, pay-per-call via x402/USDC.","exampleAgentPrompt":"Convert 72 degrees Fahrenheit to Celsius for me.","exampleUseCases":[{"title":"Temperature conversion for weather display","prompt":"I need to show 98.6 degrees Fahrenheit as Celsius — what is that?"},{"title":"Metric distance conversion for a running app","prompt":"Convert 26.2 miles to kilometres so I can display it in metric on my fitness dashboard."},{"title":"Weight conversion for a recipe tool","prompt":"My recipe calls for 250 grams of flour — how many ounces is that?"}],"resultDescription":"A JSON object containing the original value and unit, the converted result (as a number), the target unit, and the measurement dimension (e.g. 'temperature', 'length', 'mass'). The 'ok' flag confirms success and 'tool' identifies 'unit-convert'.","failureModes":["Unsupported or misspelled unit name returns an error","Missing required query params (value, from, to) returns a 4xx","Incompatible unit dimensions (e.g. converting kg to metres) returns an error","Payment failure or insufficient USDC balance returns a 402"],"whenToPreferThis":"Choose this endpoint when you need a quick, deterministic unit conversion with no account setup or API key, and are comfortable paying $0.003 USDC per call via x402. It covers a broad range of physical dimensions. Prefer a local library if you need bulk/batch conversions or want to avoid per-call payment overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:04.248Z","isFirstParty":false,"canonicalSlug":"swift-bot-labs-toolbox-unit-converter-78d3533f"}