← All endpoints
api.x402node.dev crypto units
https://api.x402node.dev/crypto/units
payable
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.
We sent a real
GET request to this endpoint and it
answered 402 with payment requirements we could parse.
- Price
- $0.01
- Network
- base
- Pay to
- 0x4466d4A84b7c49a6A094ec6eef4a0712D6dd125e
- Spec dialect
- v2 (declares x402Version 2)
- Transport
- PAYMENT-REQUIRED header
- HTTP method
- GET
- Response latency
- 46 ms
- Payment options
- 2 usable of 2
- Last checked
- 2026-08-10T09:19:13.808Z (1d ago)
- Category
- finance-crypto
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.x402node.dev%2Fcrypto%2Funits"