Read a task or the balance (2Captcha res.php), parameters in the query
curl --request GET \
--url https://api.safeconduct.ai/res.phpimport requests
url = "https://api.safeconduct.ai/res.php"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.safeconduct.ai/res.php', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.safeconduct.ai/res.php"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<string>2Captcha format
Read a task or the balance (2Captcha res.php), parameters in the query
GET
/
res.php
Read a task or the balance (2Captcha res.php), parameters in the query
curl --request GET \
--url https://api.safeconduct.ai/res.phpimport requests
url = "https://api.safeconduct.ai/res.php"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.safeconduct.ai/res.php', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.safeconduct.ai/res.php"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<string>Query Parameters
Response
Always 200: plain text (OK|..., CAPCHA_NOT_READY, ERROR_...) or, with json=1, {status, request[, useragent, price, error_text]}
The response is of type string.