{"uid":"cap_AhbUwyxmLtnCs3t6EW4nR","slug":"sitecheck-unit-converter-66a3afcd","name":"SiteCheck Unit Converter","description":"Convert a value between units of length, area, volume (US customary and metric, cooking measures), mass, speed, pressure, energy, power, data size (SI and binary), time and temperature. Factors are exact to the definitions in NIST SP 811 (international inch and pound, US gallon, calorie IT, Btu IT, mechanical horsepower). An unknown unit is a 400 that lists every supported unit. Pure code, no outside source.","url":"https://api.sitecheck-api.workers.dev/api/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"],"type":"string"},"queryParams":{"type":"object","required":["value","from","to"],"properties":{"to":{"type":"string","description":"Unit to convert to, of the same kind, e.g. km, lb, C, MB"},"from":{"type":"string","description":"Unit to convert from, e.g. mi, kg, F, GiB, kWh, gal_us"},"value":{"type":"string","description":"The number to convert, up to 1e15 in size"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"km","from":"mi","value":5,"family":"length","result":8.04672,"source":"NIST SP 811 (Guide for the Use of the International System of Units), factors to the SI base unit","checkedAt":"2026-10-15T14:00:29.549Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m4jMX2AG7iSOLNvDETEBV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 measurement unit to another (length, mass, temperature, digital storage, energy, volume, etc.) using NIST-standard conversion factors.","exampleAgentPrompt":"Convert 26.2 miles to kilometers for me.","exampleUseCases":[{"title":"Marathon distance in metric","prompt":"How many kilometers is 26.2 miles? I need the exact figure for a race results report."},{"title":"Oven temperature unit conversion","prompt":"My recipe calls for 375 degrees Fahrenheit — what is that in Celsius?"},{"title":"Cloud storage size normalization","prompt":"Convert 512 GiB to megabytes so I can compare it consistently with the other storage figures in my spreadsheet."}],"resultDescription":"A JSON object containing the converted numeric result, the source unit, the target unit, the unit family (e.g. length, mass, temperature), the authoritative source of the conversion factor (NIST SP 811), and the timestamp of the calculation.","failureModes":["Missing required query parameter (value, from, or to) returns a validation error","Incompatible unit families (e.g. converting miles to kilograms) returns an error indicating units are not of the same kind","Unsupported or misspelled unit abbreviation returns an error","Value exceeding 1e15 may be rejected or produce inaccurate results","Payment not completed (x402 payment required) returns a 402 response before conversion is performed"],"whenToPreferThis":"Choose this endpoint when you need a reliable, citation-backed unit conversion (NIST SP 811) across a wide variety of physical and digital unit families without setting up a local conversion library. Particularly useful in agent workflows where measurements arrive in mixed units and need to be normalized on the fly, or when auditability of the conversion source matters. At $0.001 per call it is cost-effective for occasional conversions in automated pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:41:33.245Z","isFirstParty":false,"canonicalSlug":"sitecheck-unit-converter-66a3afcd"}