#
Akamai Bot Manager
Bypass Akamai Bot Manager protection.
#
Overview
Akamai Bot Manager is an advanced bot detection system. CaptchaSolv generates valid sensor data and cookies to bypass the protection.
#
Task Types
#
Parameters
#
Finding the Akamai Script URL
- Open browser DevTools (F12) → Network tab
- Filter by "script" or search for "akamai"
- Look for requests to paths like:
/_sec/cp_challenge/ak-challenge-X-X.js
/akam/XX/XXXXXXXX
/bm/telemetry
The script URL contains the Akamai sensor code.
#
Example
import requests
response = requests.post("https://v1.captchasolv.com/solve", json={
"clientKey": "YOUR_API_KEY",
"task": {
"type": "AkamaiTaskProxyless",
"websiteURL": "https://example.com",
"akamaiScript": "https://example.com/akam/13/xxxxx"
}
}, timeout=130)
solution = response.json()["solution"]
# Use: solution["token"] (cookies) and solution["userAgent"]
const response = await axios.post('https://v1.captchasolv.com/solve', {
clientKey: 'YOUR_API_KEY',
task: {
type: 'AkamaiTaskProxyless',
websiteURL: 'https://example.com',
akamaiScript: 'https://example.com/akam/13/xxxxx'
}
}, { timeout: 130000 });
const { token, userAgent } = response.data.solution;
#
With Existing Cookies
If you already have _abck and bm_sz cookies (from a previous request), pass them to get an updated valid cookie:
solution = solve_akamai(
"https://example.com/protected",
"https://example.com/akam/13/7a8b9c0d",
cookies={
"_abck": "existing_abck_value",
"bm_sz": "existing_bm_sz_value"
}
)
#
Response
{
"errorId": 0,
"solution": {
"token": "_abck=XXXXX~-1~YYYYYY~-1; bm_sz=XXXXX",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)..."
},
"cost": "0.00250"
}
#
Complete Flow
import requests
API_KEY = "your_api_key"
def make_akamai_protected_request(url, akamai_script, api_endpoint):
# 1. Solve Akamai challenge
solution = solve_akamai(url, akamai_script)
# 2. Extract cookies and user agent
cookies = solution["token"]
user_agent = solution["userAgent"]
# 3. Make protected API request
headers = {
"User-Agent": user_agent,
"Cookie": cookies,
"Accept": "application/json"
}
response = requests.get(api_endpoint, headers=headers)
return response.json()
# Example usage
data = make_akamai_protected_request(
url="https://example.com/protected",
akamai_script="https://example.com/akam/13/7a8b9c0d",
api_endpoint="https://example.com/api/user/data"
)
#
Important Notes
Use Same User-Agent
Always use the userAgent returned in the solution for all subsequent requests. Akamai tracks User-Agent consistency.
Cookie Expiry
Akamai cookies typically expire quickly (minutes to hours). Solve fresh when needed.