SurSolver

How to solve the Vercel Security Checkpoint

The Vercel Security Checkpoint is a challenge page that stands in front of a site and issues a _vcrcs cookie once it is passed. Here is how to recognise it and replay a solve.

Updated

$0.65 / 1K tasksCharged when a task is accepted

On this page

What is the Vercel Security Checkpoint and how to recognise it

The Vercel Security Checkpoint is the interstitial page Vercel serves in front of sites that sit behind Vercel Firewall or Attack Mode. A visitor has to complete a security challenge before the site loads, while known bots such as search engines and webhooks pass through. Which sites and routes show it is the site owner's choice, so it can appear on one route and not on the next.

Do not confuse it with Vercel BotID. BotID is an invisible, client-side challenge that a site validates on its own server for sensitive routes, and it shows no page at all. The checkpoint is the visible interstitial, and the _vcrcs cookie addresses only that one. If a route is also gated by BotID, clearing the checkpoint may not be enough.

Solving the checkpoint gives you the _vcrcs cookie value, a JWT-shaped string. It is meant to be replayed on the protected origin, not typed into a form.

Which URL, worker script and proxy to send

There is no sitekey for this type. Send the full page URL that shows the checkpoint, its challenge worker URL as scriptUrl, and proxy details.

Proxy details, scriptUrl and userAgent are required. The supported worker is exactly <origin>/.well-known/vercel/security/static/challenge.v2.min.js, on the HTTPS origin of websiteURL, without a query string or fragment. Other worker versions and cross-origin URLs are rejected before charging. Copy the URL from the checkpoint's requests instead of guessing it.

Vercel itself says Attack Mode challenges all traffic initiated by web browsers, API traffic included, and that standalone APIs and non-browser clients may not be able to pass challenges and could be blocked. If a script that calls a Vercel-hosted API gets blocked, this is the likely reason.

Where the cookies go

Set solution._vcrcs as the _vcrcs cookie on the target origin. Apply any additional name-to-value entries in solution.cookies, then request the protected page or API from that session.

The checkpoint ties _vcrcs to the browser that solved it, so replay with the userAgent you sent in the task and through the same proxy. Vercel does not publish how long the cookie lasts: when the checkpoint shows up again, solve again.

Common mistakes

The first mistake is solving the wrong product. BotID is invisible and checked by the site's own server; the checkpoint is the visible interstitial. A _vcrcs cookie does not help against BotID.

The second is creating a task without proxy details. This type requires a proxy. The third is replaying from a different network or with a different user agent than the solve used; the binding is not documented, so keeping them the same is the cautious choice.

Finally, do not assume the checkpoint is everywhere on a site. Site owners can challenge arbitrary traffic with firewall rules, so a URL that is challenged today may not be tomorrow. Send the exact URL that shows the checkpoint, and confirm it is there before you create a task: a task is charged when it is accepted, and a task that finishes as failed automatically returns its original charge once.

Solve it with SurSolver

Send the challenged page URL, challenge worker scriptUrl, your proxy details and the userAgent you will replay with to createTask with the task type VercelCookie, then poll getTaskResult until the status is ready. _vcrcs carries the cookie value. The accepted names and parameters are listed by the public catalog (GET /v1/task-types).

The official client wraps createTask and polling in one solve call; each language tab is its Quick start with this captcha's request, and prints _vcrcs. Set it on the origin with the task's user agent through the same proxy. The Playwright tab launches Chromium through that proxy, solves for the challenged URL, sets _vcrcs on the origin with the task's user agent and waits for the protected page.

quickstart.ts
npm install sursolver
import { SurSolver, TaskType } from 'sursolver';

const API_KEY = 'YOUR_API_KEY';
const USER_AGENT =
  'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36';

const client = new SurSolver(API_KEY);

const { solution } = await client.solve({
  type: TaskType.VercelCookie,
  websiteURL: 'https://example.com/login',
  scriptUrl: 'https://example.com/.well-known/vercel/security/static/challenge.v2.min.js',
  userAgent: USER_AGENT,
  proxy: 'http://user:password@203.0.113.10:8000',
});
console.log(solution._vcrcs);

FAQ

What does a Vercel task return?

solution._vcrcs contains the checkpoint cookie value. Apply it and any entries in the optional solution.cookies object on the protected origin, using the task userAgent and the same proxy.

Is the Security Checkpoint the same as Vercel BotID?

No. BotID is an invisible, client-side check that a site validates on its own server for high-value routes, and it shows nothing to the visitor. The Security Checkpoint is the visible interstitial a visitor must pass before reaching the site. The _vcrcs cookie addresses the checkpoint.

Do I need a proxy to solve the Vercel checkpoint?

Yes. This type has no proxyless form, so a task needs proxy details. Use the same proxy and user agent for the replay that you used for the solve.

Why does my script get blocked on a site hosted on Vercel?

With Attack Mode on, Vercel challenges all traffic initiated by web browsers, API traffic included, and says that standalone APIs and non-browser clients may not be able to pass the challenge and could be blocked. A plain HTTP script is exactly that case.

How long does the _vcrcs cookie stay valid?

Its lifetime is not documented, so do not plan around a fixed number. Replay it promptly, and if the checkpoint appears again, run a new solve instead of reusing the old value.