Wallet balance (Anti-Captcha / CapSolver compatible)
curl --request POST \
--url https://api.safeconduct.ai/getBalance \
--header 'Content-Type: application/json' \
--data '
{
"clientKey": "<string>",
"task": {},
"taskId": "<unknown>"
}
'import requests
url = "https://api.safeconduct.ai/getBalance"
payload = {
"clientKey": "<string>",
"task": {},
"taskId": "<unknown>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({clientKey: '<string>', task: {}, taskId: '<unknown>'})
};
fetch('https://api.safeconduct.ai/getBalance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.safeconduct.ai/getBalance"
payload := strings.NewReader("{\n \"clientKey\": \"<string>\",\n \"task\": {},\n \"taskId\": \"<unknown>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"errorId": 123,
"errorCode": "ERROR_ZERO_BALANCE",
"errorDescription": "<string>",
"taskId": "<unknown>",
"status": "<string>",
"solution": {},
"cost": 123,
"createTime": 123,
"endTime": 123,
"solveCount": 123,
"balance": 123
}createTask format
Wallet balance (Anti-Captcha / CapSolver compatible)
POST
/
getBalance
Wallet balance (Anti-Captcha / CapSolver compatible)
curl --request POST \
--url https://api.safeconduct.ai/getBalance \
--header 'Content-Type: application/json' \
--data '
{
"clientKey": "<string>",
"task": {},
"taskId": "<unknown>"
}
'import requests
url = "https://api.safeconduct.ai/getBalance"
payload = {
"clientKey": "<string>",
"task": {},
"taskId": "<unknown>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({clientKey: '<string>', task: {}, taskId: '<unknown>'})
};
fetch('https://api.safeconduct.ai/getBalance', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.safeconduct.ai/getBalance"
payload := strings.NewReader("{\n \"clientKey\": \"<string>\",\n \"task\": {},\n \"taskId\": \"<unknown>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"errorId": 123,
"errorCode": "ERROR_ZERO_BALANCE",
"errorDescription": "<string>",
"taskId": "<unknown>",
"status": "<string>",
"solution": {},
"cost": 123,
"createTime": 123,
"endTime": 123,
"solveCount": 123,
"balance": 123
}Body
application/json
Response
200 - application/json
{errorId: 0, balance} or an error