{"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":1,"answered_7d":1,"latency_ms_median":550,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","pathParams":{},"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"},"pathParams":{"type":"object"},"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"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":550,"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-10-10T03:00:54.823Z","schemes":["exact"]}