API Pricing Standards
I. Basic Billing Rules
1. API Call Billing
- Unit Price: Each API call costs 0.01 CNY
- Billing Method: Pay-per-use, deducting 0.01 CNY per call
- Calculation Formula: Available calls = Current balance ÷ 0.01
2. Scope of Application
All API interfaces are billed according to this standard, including but not limited to:
| API Interface | Function Description | Billing Standard |
|---|---|---|
| User Registration API | User registration function | 0.01 CNY/call |
| User Login API | User login function | 0.01 CNY/call |
| Change Password API | Change user password | 0.01 CNY/call |
| Change QQ API | Change user QQ number | 0.01 CNY/call |
| Change Avatar API | Change user avatar | 0.01 CNY/call |
| Sign In API | User sign-in function | 0.01 CNY/call |
| Feedback API | User feedback function | 0.01 CNY/call |
| Email API | Email sending function | 0.01 CNY/call |
| Add Balance API | Add user balance | 0.01 CNY/call |
| Deduct Balance API | Deduct user balance | 0.01 CNY/call |
| Account API | Account information query | 0.01 CNY/call |
| VIP API | VIP information query | 0.01 CNY/call |
| Add Binding API | Add user binding | 0.01 CNY/call |
| Get Binding List API | Get binding list | 0.01 CNY/call |
| Initiate Binding API | Initiate user binding | 0.01 CNY/call |
| View Bound Users API | View bound user information | 0.01 CNY/call |
II. Recharge Methods
1. Recharge Amount Options
- ¥1, ¥5, ¥10, ¥100, ¥300, ¥500, ¥1000
- Support custom amount recharge (minimum 0.01 CNY)
2. Payment Methods
- WeChat Pay
3. Redemption Codes
- Support redemption code exchange function
- Each redemption code can only be used once per user
- Example redemption code: XUNAN666 (redeem 10 CNY)
III. Balance Management
1. Balance Query
- Users can view current balance in the recharge center
- The system automatically calculates and displays the estimated number of available API calls
2. Balance Change Records
- Record content includes:
- Change type (1-Recharge, 2-Deduct)
- Change amount
- Balance before change
- Balance after change
- Change description
- Change time
3. Insufficient Balance Handling
- When the developer's balance is insufficient, API calls will fail and return a prompt
- Prompt message:
Insufficient developer balance, current balance: X CNY, please recharge and try again!
IV. Billing Examples
Example 1: Basic Call
- User balance: 10 CNY
- Available calls: 10 ÷ 0.01 = 1000 times
- Balance after 1 call: 9.99 CNY
- Remaining available calls: 999 times
Example 2: Batch Calls
- User balance: 50 CNY
- Balance after 100 consecutive calls: 49 CNY
- Deducted amount: 100 × 0.01 = 1 CNY
Example 3: Call After Recharge
- User balance: 5 CNY
- Balance after recharging 10 CNY: 15 CNY
- Available calls: 15 ÷ 0.01 = 1500 times
V. Notes
- Balance Precision: Balance is accurate to 2 decimal places
- Minimum Recharge: Minimum recharge amount is 0.01 CNY
- Insufficient Balance: Cannot call API when balance is insufficient, need to recharge first
- Billing Records: All billing operations have detailed log records
- Redemption Code Limit: Each redemption code can only be used once per user
VI. API Call Billing Process
1. User initiates API request
↓
2. System verifies user identity and permissions
↓
3. Check if user balance is sufficient (≥ 0.01 CNY)
↓
4. Sufficient balance: Execute business logic
Insufficient balance: Return error prompt
↓
5. Deduct 0.01 CNY balance
↓
6. Record balance change log
↓
7. Return API response resultVII. Frequently Asked Questions
Q: Why is there a charge for every call? A: API calls consume server resources and bandwidth. Pay-per-use is a reasonable billing method.
Q: What if my balance is insufficient? A: Please go to the recharge center to recharge. WeChat Pay and redemption code exchange are supported.
Q: How can I check my balance and call count? A: After logging in, enter the recharge center to see the current balance and estimated available API calls.
Q: How to get redemption codes? A: Redemption codes are distributed by platform administrators. Each redemption code can only be claimed once per user.

