{"uid":"cap_Ha-BWU2Jp4SUbwyqJv9us","slug":"weight-unit-converter-d450705d","name":"Weight Unit Converter","description":"Private PDF preflight and authorized-video intelligence APIs paid per call with x402 USDC on Base.","url":"https://x402.bakdupoffroad.com/v1/utility/convert-weight?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","properties":{"to":{"enum":["mg","g","kg","oz","lb","stone","metric-ton","short-ton"],"type":"string"},"from":{"enum":["mg","g","kg","oz","lb","stone","metric-ton","short-ton"],"type":"string"},"value":{"type":"number","maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["jobId","result","economics"],"properties":{"jobId":{"type":"string"},"result":{"type":"object","required":["schemaVersion","sourceSha256","inputs","result","conversionFactor","formula"],"properties":{"inputs":{"type":"object","required":["value","from","to"],"properties":{"to":{"type":"string"},"from":{"type":"string"},"value":{"type":"number"}},"additionalProperties":false},"result":{"type":"number"},"formula":{"type":"string"},"sourceSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"schemaVersion":{"type":"string","const":"1"},"conversionFactor":{"type":"number"}},"additionalProperties":false},"economics":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"jobId":"00000000-0000-4000-8000-000000000000","result":{"inputs":{"to":"lb","from":"kg","value":1},"result":2.204622621849,"formula":"value * kilograms-per-kg / kilograms-per-lb","sourceSha256":"0000000000000000000000000000000000000000000000000000000000000000","schemaVersion":"1","conversionFactor":2.204622621849},"economics":{"netMicroUsd":1000,"energyMicroUsd":0,"revenueMicroUsd":1000,"platformFeeMicroUsd":0}}},"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":"down","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_Fd5el2OM-UmDiTI_SrlsZ","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 weight value from one unit to another (e.g., kg to lb) with high precision, returning the result, conversion factor, and formula used.","exampleAgentPrompt":"Convert 75 kilograms to pounds for me.","exampleUseCases":[{"title":"Shipping weight label conversion","prompt":"I need to convert 4.5 kg to ounces for a shipping label — can you do that?"},{"title":"Recipe ingredient scaling","prompt":"This recipe calls for 200 grams of flour, but I need to know how many ounces that is."},{"title":"Fitness tracker unit switch","prompt":"I weigh 185 pounds — what is that in kilograms and also in stone?"}],"resultDescription":"Returns a JSON object with a jobId, the converted numeric result (e.g., 2.2046 for 1 kg to lb), the conversion factor used, a human-readable formula string (e.g., 'value * kilograms-per-kg / kilograms-per-lb'), the input echo (value, from, to), a schema version, and a source hash for auditability, plus economics fields showing the $0.001 USDC cost breakdown.","failureModes":["Missing required query parameters (value, from, to) returns a validation error","Unsupported unit enum value causes a 400 bad request","Value outside the ±1,000,000,000,000 range is rejected","Payment not provided or insufficient USDC results in a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, auditable weight conversion with a verifiable formula and conversion factor — especially in automated pipelines where reproducibility and a source hash matter. It supports 8 common weight units (mg, g, kg, oz, lb, stone, metric-ton, short-ton) and is priced at $0.001 USDC per call via x402, making it suitable for high-frequency agent workflows where traceability is valued over a free but opaque conversion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T01:26:18.034Z","isFirstParty":false,"canonicalSlug":"weight-unit-converter-d450705d"}