Turnstile
Cloudflare Turnstile widget. Send the page URL and the widget's site_key, get back a token.

POSThttps://captcha.solvium.io/v2/tasks/turnstile
Headers
| Name | Type | Required | Default | Example |
|---|---|---|---|---|
| x-solvium-authSolvium API key — get one from @solvium_crypto_bot. | Header | Yes | — | IE0B81Vn... |
Body
| Name | Type | Required | Default | Example |
|---|---|---|---|---|
| url | JSON | Yes | — | https://example.com |
| site_key | JSON | Yes | — | 0x4AAAAAAA-3X4Nd7hf3mNGx |
| actionSite's data-action value, if set. | JSON | No | — | login |
| cdataSite's data-cdata value, if set. | JSON | No | — | anything |
| proxy | JSON | No | — | http://user:pass@host:8080 |
Response
Poll Task Status with the returned task_id until it's completed.
Example
Python
from solvium import Solvium
solution = Solvium(api_key="YOUR_API_KEY").turnstile_sync(
url="https://example.com",
site_key="0x4AAAAAAA-3X4Nd7hf3mNGx",
)
print(solution["token"])