Blog
How to solve Akamai (_abck)

How to solve Akamai Web (_abck)

Logo of Capsolver

CapSolver Blogger

How to use capsolver

29-Nov-2023

akamai web solver

Introduction to Akamai Web

Akamai web is a sophisticated bot detection system used by web applications to secure against bots.

Understanding Akamai Web Challenges

Akamai Web challenges are unique as they are designed for web environments. The system collects a wide range of data points from a device to determine whether the user is human. This includes device information, interaction patterns, and other sensor data.
On the web, a cookie looks like: _abck, ak_bmsc , bm_mi , bm_sv , bm_sz

How to Solve Akamai Web with CapSolver

CapSolver provides a solution to automate the process of solving Akamai Web challenges. Below is a step-by-step guide on how to do this:

Step 1: Setting Up Your Task

To address an Akamai Web challenge, begin by generating a task via CapSolver's API. This requires inputting specific details pertaining to the web application and device in use.

Points to be aware that if we don't follow, solution will be invalid:

  • The Transport Layer Security (TLS) version should correspond with the Chrome version specified in the user agent.
  • The HTTP headers should be consistent with the version of Chrome indicated in the user agent.
  • The sequence of the HTTP headers must align with the order typical for the specified Chrome version.
  • Utilize a reliable proxy service.
  • The sensor data should be submitted three times for effective processing.
POST https://api.capsolver.com/akamaiweb/invoke
Host: api.capsolver.com
Content-Type: application/json

{
    "clientKey": "YOUR_API_KEY",
    "task": {
        "type": "AntiAkamaiWebTask",
        "url":"website url",
        "abck":"14164862507BD4D5E93A8AD210115CEF~-1~YAAQJpHIF3MAzwyHAQAAT0B4QAltYFyMKOg3jovPTHv0UYu7+Vrx8LpzVKlaYhr4dy10a9XnMHNSToxqxz3SGFS2xHLTgDITwIaXe/7ivc3N6eStnW9PlHzk8/6ElYvlcbzxqESQPp9VWfoUxuasdasdasd2UHYIYOw1GDSLAtqNP7rYq512y/x545wLejv8Y9JpVyx3bD9zR4ZRpMp5Z3fDuKEAI6PR6xCRXibN9IhbNs4iGVZyfZugWU4SlvjoLeuiI/fjytj94ClRtWS6uUOdc6/BNlefN0qztJXBAtIQQt/Xbb1NIhZZygcEtwikHNVgfDMZ3hYcba93UbXLDK1ziv5T5eAMvByxtRrBxp+TuuQrja7CHT/Ms3tSRCfKN5hg7+Gq3+fflHMytNNLRc=~-1~-1~-1",
        "bmsz":"4E3C227D3BA5D5B9297287518E651asdasdasdCWqx8lqnOkD8tcL8RLqNWxls/OYaXOL3Rmhb1n0QQvfbgho0wXfAnMQJQXgYq8kx+WJX9oIhRjtDGC5S5o8ZTOjHcoeBd/AgN5+NmpIzWakaCqNKvwAdsr8x3JrS2wgcEG6VFa8vXD2MN+ABfKpnChxyEGIk+6YcTEhi3qonUx3soOLTF4cjHMnexdQnhV4Z2h0JnYBIoUT8fIOFNRY6O6/fR08yKE=~3159346~4338233",
        "userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
    }
}

Response

{
    "errorId": 0,
    "success": true,
    "state": "ready",
    "solution": {
       "sensorData":"2;0;0;6,3,1,0,3,217;9\u0026l8[yJdEZ21D6W4a7x/:\u0....",
    },
    "type": "AntiAkamaiWebTask"
}

Additional Resources

Akamai Web Documentation

More