API Documentation
Base URL: https://tasks.peak.fo
Authentication is required for all API endpoints using your API key.
Get your API key from our Telegram Bot
Authentication
Include your API key in every request body as api_key.
// Example request with authentication
{
"api_key": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", // Your API key here (UUID format)
"task_data": {
// Task specific data
}
}Complete Examples
1. Solving Turnstile Challenge
// 1. Create Task
POST https://tasks.peak.fo/createTask
{
"api_key": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"task_data": {
"type": "Turnstile",
"url": "https://example.com/",
"sitekey": "0x4AAA...",
"proxy": "http://user:pass@ip:port"
}
}
// Response
{
"id": "task_12345",
"status": "pending"
}
// 2. Get Result
POST https://tasks.peak.fo/getResult
{
"api_key": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"id": "task_12345"
}
// Response
{
"type": "Turnstile",
"status": "completed",
"solution": "token_value_here"
}2. Solving WAFv3 Challenge
// 1. Create Task
POST https://tasks.peak.fo/createTask
{
"api_key": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"task_data": {
"type": "WAFv3",
"url": "https://example.com/", // Include trailing slash
"proxy": "http://user:pass@ip:port"
}
}
// Response
{
"id": "task_67890",
"status": "pending"
}
// 2. Get Result
POST https://tasks.peak.fo/getResult
{
"api_key": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"id": "task_67890"
}
// Response
{
"type": "WAFv3",
"status": "completed",
"clearance": "cf_clearance_value",
"cf_bm": "cf_bm_value",
"headers": {
"user-agent": "...",
"accept": "..."
}
}3. Solving WAFv3 Auto Challenge
// Create Task
POST https://tasks.peak.fo/createTask
{
"api_key": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"task_data": {
"type": "WAFv3Auto",
"url": "https://example.com/", // Include trailing slash
"proxy": "http://user:pass@ip:port"
}
}
// Response
{
"type": "WAFv3Auto",
"status": "completed",
"clearance": "cf_clearance_value",
"cf_bm": "cf_bm_value",
"headers": {
"user-agent": "...",
"accept": "..."
},
"response": {
"status_code": 200,
"headers": {},
"base64_body": "base64_encoded_response"
}
}4. Checking Account Balance
POST https://tasks.peak.fo/api/balance/get
{
"api_key": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
// Response
{
"data": {
"amount": 10 // Balance in USD
},
"message": "string",
"success": true
}Support
We provide support through our live chat system and Telegram channel. Click the chat widget in the corner for direct support, or join our channel @PeakFO for updates and announcements.
Error Handling
// Invalid API Key
{
"error": "Invalid API key",
"code": "AUTH_ERROR"
}
// Insufficient Balance
{
"error": "Insufficient balance",
"code": "BALANCE_ERROR"
}
// Invalid Task Data
{
"error": "Invalid task data: missing required field 'url'",
"code": "VALIDATION_ERROR"
}Best Practices
- Store your API key securely and never expose it in client-side code
- Use sticky proxies to maintain consistent success rates
- Implement proper error handling for all API responses
- Monitor your balance and implement auto top-up logic
- Cache successful tokens when possible to reduce API usage