Complete API reference for the WAF Bypass service. Generate your API key from the Account page and start integrating immediately.
Our API follows a simple task-based pattern. You create a solving task, poll for the result, and receive the token. All requests are sent to a single endpoint with different action parameters.
curl -X POST https://rawcode.cc/api/api.php \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "TurnstileTaskProxyless",
"websiteURL": "https://example.com",
"websiteKey": "0x4AAAAAAA..."
}
}'
All API requests require authentication via the Authorization: Bearer header. You can generate your API key from the Account page after subscribing to the WAF Bypass plan.
Keys are tied to your account. Keep them secure and do not share them publicly.
Submit a new solving task by sending a POST request to the API endpoint. The response contains a task ID that you use to poll for results.
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "TurnstileTaskProxyless",
"websiteURL": "https://example.com/login",
"websiteKey": "0x4AAAAAAAxxxxxxxxxxxx",
"metadata": {
"action": "managed"
}
}
}
{
"success": true,
"taskId": "7f3a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c"
}
Poll for the task result using the task ID returned from create_task. Results are typically available within 5-7 seconds.
{
"success": true,
"status": "ready",
"solution": {
"token": "0.xxxxxxx..."
},
"cost": 0.001,
"solveTime": 5230
}
{
"success": true,
"status": "processing"
}