{"slug":"402-com-tr-api-x402-unit-convert-2fc062","title":"Convert an amount between wei, kwei, mwei, gwei, szabo, finney and ether — or be","host":"402.com.tr","method":"GET","resource":"https://402.com.tr/api/x402/unit-convert","category":"market","description":"Convert an amount between wei, kwei, mwei, gwei, szabo, finney and ether — or between any token decimals (pass a number like 6 for USDC). Integer-exact, no precision loss. Pass amount, from, to. Pure compute, sub-cent — the unit-conversion commodity agents call constantly when building transactions.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":3,"answered_7d":3,"latency_ms_median":265,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"amount":"1.5","from":"ether","to":"wei"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"amount":{"description":"Amount","type":"string"},"from":{"description":"From unit (or decimals number)","type":"string"},"to":{"description":"To unit (or decimals number)","type":"string"}},"required":["amount"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":253,"error":null},{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":265,"error":null},{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":274,"error":null}],"description_full":"Convert an amount between wei, kwei, mwei, gwei, szabo, finney and ether — or between any token decimals (pass a number like 6 for USDC). Integer-exact, no precision loss. Pass amount, from, to. Pure compute, sub-cent — the unit-conversion commodity agents call constantly when building transactions. Not financial advice.","last_updated":"2026-11-27T07:43:20.298Z","schemes":["exact"]}