{"uid":"cap_Nw9_ePt6bb_z-Mz6Wk8i_","slug":"watt-hour-to-megajoule-converter-914476a2","name":"Watt-Hour to Megajoule Converter","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/units/energy/watt-hour-to-megajoule?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","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["value"],"properties":{"value":{"type":"number","maximum":1e+100,"minimum":0,"description":"Amount in watt-hours."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"megajoule","from":"watt-hour","value":123.45,"converted":0.44442,"dimension":"energy","precision":"IEEE-754 double"}},"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_6a5pz6TVsF5Nvm_j26kk2","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 an energy value from watt-hours (Wh) to megajoules (MJ) with IEEE-754 double precision.","exampleAgentPrompt":"Convert 123.45 watt-hours to megajoules for me.","exampleUseCases":[{"title":"Battery capacity unit conversion","prompt":"I have a battery rated at 500 watt-hours — what is that in megajoules?"},{"title":"Solar energy output reporting","prompt":"Our solar panels generated 8750 watt-hours today. Can you convert that to megajoules for the engineering report?"},{"title":"Physics homework energy calculation","prompt":"I need to convert 0.25 watt-hours to megajoules for my physics assignment."}],"resultDescription":"Returns a JSON object containing the original value in watt-hours, the converted value in megajoules (IEEE-754 double precision), the source and destination unit labels, and the physical dimension (energy).","failureModes":["Missing required 'value' query parameter returns an error","Negative value rejected (minimum is 0)","Value exceeding 1e+100 rejected (maximum bound enforced)","Non-numeric value for 'value' parameter causes schema validation failure","Payment not provided or insufficient results in HTTP 402 response"],"whenToPreferThis":"Use this endpoint when you need a precise, programmatic conversion from watt-hours to megajoules with IEEE-754 double precision, especially in agentic or automated pipelines where reproducibility and exact numeric output matter. Prefer this over general-purpose LLM math when you need guaranteed numeric accuracy or an auditable conversion result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:07.898Z","isFirstParty":false,"canonicalSlug":"watt-hour-to-megajoule-converter-914476a2"}