Skip to main content

Tasks

Task documentations

mode determines the task type. The request body and response vary based on the mode.

Send your AI agentSKILL.md
import requests

url = "https://api.xsolve.me/task"
headers = {
    "X-Api-Key": "<x-api-key>"
}
data = {
    "mode": "turnstile",
    "url": "https://turnstiledemo.lusostreams.com/",
    "sitekey": "0x4AAAAAAA48l90EkbvST26P"
}

response = requests.post(url, headers=headers, json=data)
print(response.json())

For turnstile tasks, you can also send the optional action and cdata fields when the target widget includes them.

Optional Turnstile payload
{
  "action": "login",
  "cdata": "example_cdata"
}

Headers

X-Api-Key string required

Service API Key

Body

mode string required

Must be turnstile.

url string required

Turnstile page URL.

  https://turnstiledemo.lusostreams.com/
sitekey string required

Turnstile sitekey for the target page. 0x4AAAAAAA48l90EkbvST26P

action string

Optional. Send this only if the target Turnstile widget provides an action value such as login.

cdata string

Optional. Send this only if the target Turnstile widget provides a cData value.

proxy string

Optional. HTTP, HTTPS, and SOCKS5 proxies are supported.

  socks5://[username:password@]ip[:port]

Response

{
  "token": "0.3g00PIzENb3goEq4-D.....",
  "elapsed": "1.55s",
  "status": "completed"
}

Search documentation

Search tasks, migration guides, and balance documentation.

Type to search ยท Escape to close