How to bypass GeeTest captcha

To bypass a GeeTest captcha, capture the challenge image, send it to a captcha solver API and replay the coordinates it returns inside the widget, so that GeeTest itself issues the validation data your form needs. This guide explains how GeeTest v4 works, what each challenge type expects, and the two API calls to make with ilovecaptcha.

Updated on · Written and maintained by the ilovecaptcha team

Preview: the API described here is in public beta. Endpoint names, fields and codes can still change until the end of the beta, and no API key is distributed yet.

What is GeeTest captcha, and where will you meet it?

GeeTest is a behaviour-based CAPTCHA published by the company of the same name, founded in Wuhan in 2012. Instead of distorted text, it asks the visitor to complete a small interactive task, such as sliding a puzzle piece into a gap, and it scores the gesture as well as the result. The current product, GeeTest v4, is marketed as Adaptive CAPTCHA and is widely deployed across Asia, on exchanges, marketplaces, games and sign-up forms.

According to a USENIX Security 2023 study in which 1,400 participants solved 14,000 CAPTCHAs, modern challenges have grown harder for bots and humans alike. Game-like tasks such as GeeTest’s are one answer to that arms race.

Which challenges does GeeTest v4 serve?

GeeTest v4 challenge types and the gesture each one expects
Challenge What the visitor sees Expected gesture
Slide A background image with a gap and a loose puzzle piece Drag the piece sideways until it covers the gap
Icon Three small icons given as the instruction, scattered again on a 300×200 picture Click the three icons in the order given
Gobang A 5×5 board of coloured pieces Move one piece so that five identical pieces line up
IconCrush A 3×3 grid of icons Swap two neighbouring cells so that three identical icons line up

How does GeeTest v4 decide that a visitor is human?

GeeTest v4 checks three things: the answer, the way it was produced and the context of the session. The widget loads a challenge for the site’s captcha_id, records the pointer trajectory while the visitor solves it, and sends the result to GeeTest. If the answer is accepted, the page receives four values, lot_number, captcha_output, pass_token and gen_time, which the site’s server confirms with GeeTest before it trusts the form.

Why does a correct answer still get rejected?

Because position is only one of the signals. The acceptance window is narrow: on the slide challenge a few pixels decide the outcome, and the image is often displayed at a different size from the file, so coordinates must be scaled before they are replayed. The gesture is scored too: a pointer that jumps to the target in one step does not resemble a hand. Finally, a challenge expires: an answer computed for one image is useless once the widget has refreshed.

What is the difference between GeeTest v3 and v4?

  • GeeTest v3 identifies a site with a gt key and a one-time challenge value fetched from the site’s own server; v4 only needs a public captcha_id.
  • v3 hands back geetest_challenge, geetest_validate and geetest_seccode; v4 hands back lot_number, captcha_output, pass_token and gen_time.
  • v4 adds the Gobang and IconCrush games and adapts the difficulty to the risk it assigns to the session.

How does a captcha solver read each GeeTest challenge?

A solver treats each GeeTest type as a different vision problem and always answers with coordinates in the image it received. ilovecaptcha exposes the four challenges under one task type, geetest, and returns points: the pixels to click, or the point where a piece must be dropped. Nothing is injected into the page. The answer is replayed in the real widget, which then issues its own validation values.

What does the solver return for slide, icon, Gobang and IconCrush?

  • Slide: it locates the gap in the background and returns the point where the piece must be dropped; only the horizontal position matters.
  • Icon: it finds the three icons in the picture, matches them to the instruction strip and returns three points in click order.
  • Gobang: it reads the board, searches every legal move and returns the piece to move and the empty cell that completes a line of five, diagonals included.
  • IconCrush: it compares the nine tiles with each other, without naming them, and returns the two neighbouring cells to swap.

Why are some GeeTest challenges harder to automate than others?

Because they do not hold the same number of unknowns. A slide has one, the horizontal position of the gap, while an icon challenge needs three correct matches in the right order, and Gobang or IconCrush require the whole board to be read before a move is chosen. The widget is not a perfect judge either, and now and then refuses an answer that was right.

What do you send for a GeeTest task, and what comes back?

You send one screenshot of the GeeTest challenge, encoded in base64, with the task type geetest; for the icon challenge the instruction strip must be visible in the capture. The API answers with a list of points expressed in pixels of the image you sent. The table below sums up the task.

The GeeTest task at a glance
Item Value
Publisher GeeTest
Challenge family Slider
Task type geetest
You send Challenge image (base64 or URL)
You get back Coordinates to click or drop
Vendor documentation GeeTest documentation

How do you bypass GeeTest with the ilovecaptcha API?

In five steps, with an automated browser that displays the widget. The browser captures and replays; the API only solves the image.

  1. Open the challenge. Load the page and trigger GeeTest so that the challenge panel is on screen.
  2. Capture the panel. Screenshot the challenge element and note its displayed width.
  3. Create the task. POST createTask with the type geetest and the image in base64.
  4. Poll the result. Call getTaskResult every 1 to 2 seconds until status is ready.
  5. Replay the points. Divide each point by the capture scale, then click or drag in the widget.

The page then holds GeeTest’s own validation values, and the form can be submitted.

What does a GeeTest request look like?

The request below submits an icon challenge. The image field carries the screenshot of the panel and instruction repeats the text shown by the widget. The response lists three points, in click order, in pixels of the submitted image: with a capture taken at twice the displayed size, divide each value by 2 before clicking.

POST /createTask
Content-Type: application/json

{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "geetest",
    "image": "iVBORw0KGgoAAAANSUhEUg…",
    "instruction": "Click the icons in order"
  }
}

→ 200 { "errorId": 0, "taskId": "tsk_8f3a1c2e", "status": "processing" }

POST /getTaskResult
Content-Type: application/json

{ "clientKey": "YOUR_API_KEY", "taskId": "tsk_8f3a1c2e" }

→ 200 { "errorId": 0, "status": "ready", "solution": { "points": [[112, 64], [201, 97], [58, 143]] } }
A createTask request for a GeeTest task, then the getTaskResult answer once the task is ready (preview format).

GeeTest bypass: frequently asked questions

Can GeeTest captcha be bypassed automatically?

Yes. Each GeeTest v4 challenge is a visual task with a definite answer, so a solver can compute it from a screenshot: the position of a gap, three icons to click, one move on a board. What cannot be skipped is the widget itself. The answer has to be replayed in a real browser session, because GeeTest validates the gesture and then issues the values that the site’s server checks. A solver API replaces the human eye, not the browser.

Does bypassing GeeTest require a browser?

For the image challenges, yes. The API works on a screenshot and returns coordinates, so something must display the widget, take the capture and perform the clicks or the drag: Selenium, Puppeteer and Playwright all do. The call to the API itself is plain HTTPS with a JSON body and can be made from any language. Keep the API key on the server side; the browser only needs the image and the points.

Why does my GeeTest slider solution fail when the position is right?

Three causes explain most refusals. The capture was taken at a different scale from the displayed widget and the distance was not converted. The challenge had already been refreshed when the answer arrived, so the points belonged to an older image. Or the piece was moved in a single instant jump, which GeeTest scores as non-human whatever the final position. Check the scale first: it is the most frequent error and the easiest one to fix.

What changes between GeeTest v3 and GeeTest v4 for a solver?

The challenge images are close, but the integration differs. GeeTest v3 ties each attempt to a one-time challenge value generated by the site’s server, while v4 only exposes a public captcha ID and returns four values after a success: lot number, captcha output, pass token and generation time. The method in this guide, screenshot in and coordinates out, does not depend on those parameters, since the real widget produces them once the answer has been replayed.

Is it legal to bypass GeeTest captcha?

It depends on what you automate, not on the tool. Running end-to-end tests on your own GeeTest integration, monitoring your own sign-up flow or automating a task for accessibility reasons is ordinary engineering. Collecting public data must respect the target site’s terms and the law that applies to you. Security teams know the abusive side as OAT-009, CAPTCHA Defeat, in OWASP’s catalogue of automated threats: account takeover, spam and payment fraud are outside what ilovecaptcha supports.

Sources

The facts and figures quoted on this page come from these sources.