← Back to directory

Convert crypto units exactly: wei, gwei, ether, lamports, SOL, satoshis, BTC and...

https://saylorinnovations.com/api/crypto/unit-convert

Overview

Convert crypto units exactly: wei, gwei, ether, lamports, SOL, satoshis, BTC and any token decimals, using integer math with no floating-point rounding errors.

Protocol x402
Price $0.01
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Saylor Innovations Data Desk
Source bazaar
Indexed 2026-10-21 00:23:03

Health

Status healthy
Latency (p50) 347ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-10-28 15:23:41
Last Healthy 2026-10-28 15:23:41
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "amount": "1.5", "from": "ether", "to": "gwei" }, "type": "http" }

Output Schema

{ "example": { "amount": "1.5", "exact": true, "from": "ether", "from_decimals": 18, "note": "Exact integer arithmetic on strings, no floating point. Each unit is one named denomination relative to its own smallest unit (wei = 1e-18 ether, gwei = 1e-9 ether, lamport = 1e-9 SOL, satoshi = 1e-8 BTC). Converting between different assets (ether to SOL) changes only the denomination, not the price: use a price route for that.", "result": "1500000000", "result_smallest_unit": "1500000000000000000", "source": "Computed locally (BigInt)", "to": "gwei", "to_decimals": 9 }, "type": "json" }

Recent Health Checks

Time Status HTTP Latency Error
2026-10-28 15:23:41 healthy 402 304ms
2026-10-28 14:18:20 healthy 402 301ms
2026-10-28 05:44:01 healthy 402 337ms
2026-10-28 04:46:07 healthy 402 285ms
2026-10-28 03:52:15 healthy 402 296ms
2026-10-28 02:53:03 healthy 402 410ms
2026-10-28 01:48:38 healthy 402 429ms
2026-10-28 00:41:39 healthy 402 289ms
2026-10-27 23:45:20 healthy 402 405ms
2026-10-27 22:59:22 healthy 402 347ms
2026-10-27 21:48:08 healthy 402 417ms
2026-10-27 20:33:16 healthy 402 556ms
2026-10-27 19:28:42 healthy 402 369ms
2026-10-26 20:44:45 degraded 404 226ms
2026-10-25 20:22:16 healthy 402 676ms