{"slug":"api-x402node-dev-crypto-units-3a4a7c","title":"Convert between EVM units (wei, gwei, ether) or arbitrary token decimals","host":"api.x402node.dev","method":"GET","resource":"https://api.x402node.dev/crypto/units","category":"market","description":"Convert between EVM units (wei, gwei, ether) or arbitrary token decimals. Pass value, from and to as unit names or decimal counts. For gas math, token amount formatting and price math. wei gwei ether, unit conversion, token decimals, format units, parse units Accepts payment on Base or Solana — eith","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":470,"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":{"from":"string","to":"string","value":"string"},"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":{"from":{"description":"source unit name or decimals (default ether)","type":"string"},"to":{"description":"target unit name or decimals (default wei)","type":"string"},"value":{"description":"numeric value as a string (required)","type":"string"}},"required":["value"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":470,"error":null}],"description_full":"Convert between EVM units (wei, gwei, ether) or arbitrary token decimals. Pass value, from and to as unit names or decimal counts. For gas math, token amount formatting and price math. wei gwei ether, unit conversion, token decimals, format units, parse units Accepts payment on Base or Solana — either network works.","last_updated":"2026-09-02T17:34:23.099Z","schemes":["exact"]}