getBalance
JSON 方法
token 任務
- reCAPTCHA v2
- reCAPTCHA v2 Enterprise
- reCAPTCHA v3
- Cloudflare Turnstile
- GeeTest v3 / v4
- FunCaptcha (Arkose Labs)
- Amazon AWS WAF
- MTCaptcha
- Friendly Captcha
- Lemin Cropped Captcha
- DataDome
- KeyCaptcha
- Capy Puzzle
- Cloudflare Challenge 驗證頁
- Cutcaptcha
- CyberSiARA
- atbCAPTCHA
- Tencent Captcha
- Prosopo Procaptcha
- CaptchaFox
- Altcha
- NetEase Yidun
- Yandex SmartCaptcha
- VK Captcha
- Binance Captcha
- 自訂任務(Imperva、Temu 等)
getBalance
回傳賬戶餘額,單位為美元。
POSThttps://unlock-api.com/getBalance
請求參數
clientKeyString必填
你的 API 密鑰,32 個字元,在賬戶頁面上。
請求
POST /getBalance
{
"clientKey": "YOUR_API_KEY"
}回應
成功
{
"errorId": 0,
"balance": 42.5
}回應欄位
errorIdInteger
請求成功時為 0,失敗時為 1。
balanceNumber
餘額,單位為美元。
代碼範例
curl -s https://unlock-api.com/getBalance \
-H "Content-Type: application/json" \
-d '{"clientKey":"YOUR_API_KEY"}'import requests
r = requests.post("https://unlock-api.com/getBalance", json={
"clientKey": "YOUR_API_KEY"
}).json()
print(r)const r = await fetch("https://unlock-api.com/getBalance", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"clientKey": "YOUR_API_KEY"
}),
}).then((res) => res.json());
console.log(r);此方法可能回傳的錯誤
密鑰錯誤。請從賬戶頁面重新複製。(in.php 和 res.php:ERROR_WRONG_USER_KEY)
請求來自不在賬戶白名單內的 IP。請在賬戶頁面加入該 IP。
此賬戶已被封鎖。請從賬戶頁面聯絡客戶支援。
請求過多。請將結果查詢放慢至每 5 秒一次。