Get Balance
Retrieves the current account balance from your CapMonster Cloud account in USD.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Session - The session ID returned from the Create Session node.
Output
- Balance - Your current account balance in USD as a decimal number.
How It Works
The Get Balance node queries your CapMonster Cloud account to retrieve the current balance. When executed, it:
- Retrieves the session using the provided session ID
- Makes an API call to CapMonster Cloud
- Returns your current balance in USD
- Stores the balance in the output variable
Requirements
- A valid CapMonster session (from Create Session node)
- Active internet connection
- Valid API key with proper permissions
Error Handling
The node will fail in the following cases:
- Missing or invalid session ID
- Session not found
- Network connectivity issues
- API authentication errors
- CapMonster Cloud service unavailable
Usage Notes
- The balance is returned as a decimal number (e.g., 5.25 means $5.25)
- Balance checks do not consume any credits
- Use this node to verify sufficient funds before solving captchas
- The balance updates in real-time and reflects all recent transactions
- You can check your balance as often as needed without additional cost
Best Practices
- Check your balance before starting large captcha solving operations
- Set up conditional logic to stop the flow if balance is too low
- Monitor balance during long-running automations
- Consider adding balance alerts to prevent service interruptions
- Use balance checks in error recovery flows
Example: Balance Check Before Solving
Create Session
→ Get Balance
→ If balance > 1.00
→ Solve Captcha (proceed)
→ Else
→ Log Error (insufficient funds)
→ Stop Flow
Example: Periodic Balance Monitoring
Loop through items
→ Every 10 iterations
→ Get Balance
→ If balance < 0.50
→ Send Alert Email
→ Pause Flow
Use Cases
- Pre-Flight Check: Verify sufficient funds before starting automation
- Budget Monitoring: Track spending during long-running processes
- Auto-Pause: Stop automation when balance runs low
- Reporting: Log balance information for accounting purposes
- Alert System: Trigger notifications when balance drops below threshold
Balance Top-Up
If your balance is low:
- Log in to your CapMonster Cloud dashboard
- Navigate to the billing section
- Add funds to your account
- Funds are typically available immediately
Cost Planning
- Check CapMonster Cloud pricing page for current rates
- Different captcha types have different costs
- Plan your budget based on expected captcha volume
- Consider bulk pricing for high-volume usage