The _abck cookie

What Akamai's _abck and bm_sz cookies do, what ~0~ and ~-1~ mean, how many sensor_data posts a session needs, and why _abck stays invalid.

Updated 7 November 2026

_abck is the cookie Akamai Bot Manager uses to record whether a browser session has passed its sensor check. Protected endpoints read it, and when it isn't valid they answer with a block page or a 403 instead of the content. A site that sets _abck runs Akamai Web v3.

Where it comes from

  1. The first page response sets _abck and bm_sz, and the HTML ends with Akamai's script at a random-looking path:
    <script type="text/javascript" src="/9I4aWp/NQ2flM/S6/tnMF/…/HzoWMgJe/YloB">
  2. The browser runs the script. It collects browser fingerprints and mouse, keyboard and touch events.
  3. The script posts sensor_data to the same URL, several times. Every post carries the current _abck and bm_sz cookies, and every response updates _abck.

The script path changes between sites and over time, so read it from the page rather than hardcoding it.

Reading the value: ~0~ and ~-1~

_abck is a string of fields separated by tildes. Before validation it contains ~-1~ where a validated cookie has ~0~. That change is the stop signal: once it appears, stop posting and make the protected request.

Not every site uses the stop signal. On those, _abck never shows ~0~, and the protected request is the only test.

How many sensor_data posts a session needs

  • Sites with the stop signal: post until ~0~ appears, up to 8 times. If it hasn't appeared after 8 posts, something in the session got fingerprinted and more posts won't fix it.
  • Sites without it: post exactly 4 times, then make the protected request. A 403 means the session was flagged.

What bm_sz does

bm_sz is set together with _abck, and the script reads it when it builds sensor_data. A sensor built against one bm_sz doesn't fit a session holding another, so the cookies, the sensor and the protected request must all come from one session.

Why _abck stays invalid

When posts go through but the cookie never validates, the cause is usually outside the sensor:

  • Mixed sessions. The post carries cookies from a different cookie jar than the one the sensor was built for.
  • Proxy. A low-quality IP, or a proxy that rotates mid-session. Use one sticky residential or ISP proxy for the whole flow.
  • TLS and HTTP/2 fingerprint. Your client has to look like the browser named in its user agent.
  • Header order. It must match a real browser's requests.
  • Akamai SBSD. Some sites run a second check next to Web v3. See the Akamai SBSD guide.

Generating sensor_data without a browser

With the Veris Labs API you send the script URL, the script body, your user agent and language once. Each call then takes the current _abck and bm_sz values and the page URL, and returns the next sensor_data to post. Post it, check _abck for ~0~, and repeat. The full flow, with code, is in the Web v3 documentation.

Akamai Web v3 solver

Get each sensor_data payload from one API call and post it to the site, without running a browser.