{"uid":"cap_zpjrYnxztdG-Jybbu0aHs","slug":"mat-web-data-toolkit-unit-converter-4154f88f","name":"Mat Web & Data Toolkit – Unit Converter","description":"Fetches a public web page and returns its title, meta description, outbound links and readable plain text as JSON.","url":"https://automatom.matt-d59.workers.dev/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"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["value","from","to"],"properties":{"to":{"type":"string"},"from":{"type":"string"},"value":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"km","from":"mi","value":10,"result":16.09344,"category":"length"}},"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_y6ruLoUPv6ebxK1JVkJ09","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 of measurement (e.g. miles to kilometers) and returns the result with category metadata as JSON.","exampleAgentPrompt":"Convert 10 miles to kilometers for me and give me the result as a number.","exampleUseCases":[{"title":"Imperial to metric length conversion","prompt":"How many kilometers is 26.2 miles? I need the exact number for a marathon distance chart."},{"title":"Weight unit conversion for recipes","prompt":"Convert 250 grams to ounces so I can follow this American recipe correctly."},{"title":"Temperature conversion for travel","prompt":"What is 98.6 degrees Fahrenheit in Celsius? I'm filling out a medical form that uses Celsius."}],"resultDescription":"A JSON object containing the original value, source unit, target unit, the converted numeric result, and the measurement category (e.g. 'length', 'weight'). Example: {\"to\":\"km\",\"from\":\"mi\",\"value\":10,\"result\":16.09344,\"category\":\"length\"}.","failureModes":["Unsupported unit pair returns an error or empty result","Missing required query parameters (value, from, to) cause a 400-style error","Incompatible unit categories (e.g. converting miles to kilograms) may return an error","Non-numeric value input causes a parse error","Payment failure or insufficient USDC balance blocks the request"],"whenToPreferThis":"Use this endpoint when you need a quick, programmatic unit conversion with structured JSON output — especially useful when building agents or workflows that need to normalize measurements across different systems (imperial vs metric) without relying on a general-purpose LLM calculation that might hallucinate. Prefer this over a web-scraping call for simple numeric conversions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:39:37.557Z","isFirstParty":false,"canonicalSlug":"mat-web-data-toolkit-unit-converter-4154f88f"}