getBalance
JSON 方法
令牌任务
- 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 秒一次。