Getting started
Quick start
Create your first Astrum Solver task and read the solution back, with copyable examples.
This walks through a Cloudflare Turnstile task, the cheapest type to test with. Swap the type field and its parameters for any other challenge.
Create the task
POSThttps://solver-dev.astrum.foundation/api/createTask
Payload
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "turnstile",
"websiteURL": "https://target.com/login",
"siteKey": "0x4AAAAAAABcDeFgHiJkLmN"
}
}Response
{"errorId": 0, "taskId": "6f1c8b32-0a5e-4a19-9a1f-3b0d54c2a1e7"}Poll for the result
Wait a few seconds between calls. Most types settle within ten seconds; sensor-based ones can take longer.
POSThttps://solver-dev.astrum.foundation/api/getTaskResult
Payload
{
"clientKey": "YOUR_API_KEY",
"task": {
"taskId": "6f1c8b32-0a5e-4a19-9a1f-3b0d54c2a1e7",
"type": "turnstile"
}
}Response
{"errorId": 0, "status": "closed", "solution": {"token": "0.Ml3aQ…s7Yc"}}Next
- Read the task lifecycle to understand the status values and when to stop polling.
- Check the page for your challenge type for its exact parameters.
- Read the proxies page if your challenge returns cookies rather than a token.