Getting Started
If you're already familiar with Akamai Bot Manager, install one of our SDKs for easy integration, or head to the API Reference to implement directly.
Understanding Akamai Protection
Akamai Bot Manager protects websites by requiring clients to generate and submit sensor data that proves they're legitimate browsers. This protection includes:
A dynamically generated script endpoint embedded in protected pages
An
_abckcookie validated when performing protected actionsCookie validation on protected endpoints (login, add to cart, checkout, etc.)
The _abck cookie becomes valid after successfully posting sensor data. A cookie containing ~0~ indicates you can stop posting sensors, though not all sites use this indicator.
Solution Flow
Parse script data (3.0 only)
Check sensor version—starts with 3; for 3.0 or 2; for 2.0.
For 3.0 sites, parse the script using your parsing endpoint. Example using curl:
curl -X POST https://www.roolink.io/api/v1/parse \
-H "Content-Type: text/plain" \
-H "x-api-key: your-api-key" \
-d '<script-body>'Save the response for sensor generation.
Generate sensor data
Example request to generate a sensor:
curl -X POST https://www.roolink.io/api/v1/sensor \
-H "Content-Type: application/json" \
-H "x-api-key: your-api-key" \
-d '{
"url": "https://example.com/protected-page",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)...",
"_abck": "current-abck-cookie",
"bm_sz": "current-bmsz-cookie",
"scriptData": { ... }
}'Critical requirements
TLS client
You must use a TLS client that:
Supports modern cipher suites
Maintains exact header order
Handles HTTP/2 properly
Has a consistent fingerprint
Standard HTTP libraries will fail. See TLS Fingerprinting.
Header order
Akamai analyzes exact header order. Use Charles Proxy to capture the correct order.
Session consistency
Maintain throughout all requests:
Same User-Agent
Same TLS fingerprint
Same IP address
Proper cookie forwarding
Troubleshooting
Next steps
SBSD Challenges — Handle secondary challenges
Sec-CPT — Cryptographic proof-of-work
Pixel — Additional fingerprinting
API Reference — Full endpoint docs
Last updated