FastX402 Token Unit Converter is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-17).
Converts a token amount between its human-readable decimal form and its on-chain atomic (integer) unit representation given a token's decimal precision.
146 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.
Returns a JSON object with three fields: 'atomic' (the integer/smallest-unit representation as a string), 'decimal' (the human-readable decimal string), and 'decimals' (the integer number of decimal places used in the conversion).
GEThttps://fastx402.tools/token-units?utm_source=zero.xyzUse this endpoint when you need a quick, reliable, pay-per-call conversion between human-readable token amounts and their on-chain atomic integer equivalents for any ERC-20 or EVM-compatible token, without needing to set up an account or API key. Prefer it over manual arithmetic for precision-sensitive DeFi or contract interactions.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"atomic": "1500000",
"decimal": "1.5",
"decimals": 6
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"