Skip to content

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 InterfaceFunction DescriptionBilling Standard
User Registration APIUser registration function0.01 CNY/call
User Login APIUser login function0.01 CNY/call
Change Password APIChange user password0.01 CNY/call
Change QQ APIChange user QQ number0.01 CNY/call
Change Avatar APIChange user avatar0.01 CNY/call
Sign In APIUser sign-in function0.01 CNY/call
Feedback APIUser feedback function0.01 CNY/call
Email APIEmail sending function0.01 CNY/call
Add Balance APIAdd user balance0.01 CNY/call
Deduct Balance APIDeduct user balance0.01 CNY/call
Account APIAccount information query0.01 CNY/call
VIP APIVIP information query0.01 CNY/call
Add Binding APIAdd user binding0.01 CNY/call
Get Binding List APIGet binding list0.01 CNY/call
Initiate Binding APIInitiate user binding0.01 CNY/call
View Bound Users APIView bound user information0.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

  1. Balance Precision: Balance is accurate to 2 decimal places
  2. Minimum Recharge: Minimum recharge amount is 0.01 CNY
  3. Insufficient Balance: Cannot call API when balance is insufficient, need to recharge first
  4. Billing Records: All billing operations have detailed log records
  5. 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 result

VII. 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.