Billing
AML You uses a token-based billing system. Each API operation consumes tokens from your account balance.
How It Works
Every analysis request follows a three-step billing flow:
Request → Freeze tokens → Run analysis → Spend or Unfreeze
- Freeze — Before the analysis runs, the required tokens are reserved (frozen) from your balance
- Spend — On successful analysis, the frozen tokens are consumed
- Unfreeze — If the analysis fails, the frozen tokens are returned to your balance
This ensures you're never charged for failed operations.
Token Consumption
| Operation | Tokens |
|---|---|
| Wallet analysis | Varies by complexity |
Check your consumption from the API Keys section in your dashboard.
Insufficient Balance
If your account doesn't have enough tokens, the API returns:
HTTP 402 Payment Required
{
"error": {
"code": "insufficient_balance",
"message": "Insufficient token balance to perform this analysis. Please top up your account."
}
}
Monitoring Usage
You can view your token consumption and usage breakdown in your dashboard.