NEWStandard createTask and in.php APIs. Change the address and you are connected.View API docs
GATESOLVER

CAPTCHA solving

How long does a CAPTCHA token stay valid?

Not long. A token proves a fresh pass, so vendors give it a window of minutes, and the site rejects anything that arrives after the window closes.

Typical lifetimes

A CAPTCHA token is meant to be spent right away. At the time of writing, Google documents a two minute window for reCAPTCHA responses, and Cloudflare documents five minutes for Turnstile. Cookies that clear a full challenge page, such as cf_clearance or the AWS WAF token, last longer because the site owner sets their duration. Treat these numbers as a guide and check the vendor's current documentation, since they can change.

ProofUsual windowSet by
reCAPTCHA v2 and v3 responseabout 120 secondsGoogle
Turnstile responseabout 300 secondsCloudflare
cf_clearance cookieminutes to hoursthe site's challenge passage setting
aws-waf-token cookieseveral minutes by defaultthe site's immunity time
MTCaptcha verified tokenshort, a few minutessite configuration

When the clock starts

The window opens when the solver produces the token, not when your script reads it. If your code polls lazily, sleeps between steps, or queues the token behind other work, part of the lifetime is already gone before the form is sent. With a reCAPTCHA v2 task that finishes under 9 seconds, the bigger risk is usually your own pipeline, not the solve.

How to stay inside the window

  • Solve last. Fill every other field, load any extra pages and only then create the task, so the token is the final ingredient.
  • Poll at the suggested pace. Three seconds between getTaskResult calls for token tasks keeps the delay after the answer small.
  • Do not stockpile. Pre-solving a batch of tokens to use later wastes most of them, and every solved task is charged.
  • Log timestamps. Record when the task became ready and when the form went out. The gap tells you if expiry explains a rejection.

Here is a small Python guard that refuses to submit a token older than a chosen age:

import time

MAX_AGE = 90  # seconds, safely under a two minute window

def submit_if_fresh(token, solved_at, send):
    age = time.monotonic() - solved_at
    if age > MAX_AGE:
        raise RuntimeError(f"token is {age:.0f}s old, solve again")
    return send(token)

Clearance cookies are different

A challenge page answer such as cf_clearance is not a single use token. It is a session cookie that lets the same client keep browsing for a while, as long as the IP and user agent stay the same. The lifetime depends on the site, so the practical approach is to reuse it until the site serves the challenge again, then solve once more. The guide to reusing cf_clearance covers that loop.

Signs that expiry is your problem

Expired tokens usually fail quietly: the form reloads with the widget unchecked, or the server answers with a generic "verification failed" message. On reCAPTCHA sites that verify with Google, the error code timeout-or-duplicate appears in the site's own logs, which you cannot see, so watch your timings instead. If rejections cluster on slow runs and vanish on fast ones, shorten the path between solve and submit. The article on expired reCAPTCHA tokens goes deeper.

Expiry in queues and worker pools

Large jobs often split the work: one worker solves, another fills forms, a third sends requests. That design is tidy, but every hand-off adds waiting time, and tokens do not wait well. Keep the solve and the submit in the same worker, or at least pass the token through an in-memory channel rather than a database row that another process picks up minutes later. If a queue is unavoidable, store the solve time with the token and drop anything older than your limit instead of sending it.

Common questions

Can I extend the life of a token?

No. The lifetime is fixed by the vendor when the token is issued; the only fix is to use it sooner or solve again.

Does a slow solve shorten the token window?

No. The window starts when the token is created at the end of the solve, so solve time does not eat into it.

How long does a GeeTest answer stay usable?

GeeTest values are checked once by the site soon after the puzzle, so send them in the next request rather than holding them.

Is a cf_clearance cookie a token?

It is a clearance cookie with a longer, site defined life, and it is tied to the IP and user agent used during the solve.

Is a solved token billed even if it expires unused?

Yes, because the task was solved. That is why solving just before submit saves money.

Keep reading