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

Glossary

GeeTest

GeeTest is a CAPTCHA vendor known for slide and click puzzles, served in two generations (v3 and v4) that use different inputs and return different values.

What GeeTest is

GeeTest builds behaviour based CAPTCHAs: drag a puzzle piece into a gap, click characters or icons in a given order, or match shapes. While the visitor solves, the script records the motion and timing and sends it with the answer, so the vendor judges both the result and how it was reached. GeeTest is common on gaming, crypto, travel and e-commerce sites, especially those with Asian audiences, and it often appears on login and signup forms.

v3: gt and challenge

A GeeTest v3 integration starts with a request to the site's own backend, which returns a JSON object with two important values: gt, a fixed identifier of the site's GeeTest account, and challenge, a fresh value for this attempt. The page passes both to initGeetest. A pass produces three outputs that the site's form submits:

  • geetest_challenge
  • geetest_validate
  • geetest_seccode

The challenge value is single use and short lived. Fetch it right before you create a task, never from a page loaded minutes earlier.

v4: captcha_id

GeeTest v4 simplified the setup. The page loads gcaptcha4.js and calls initGeetest4({captchaId: "..."}), where the 32 character captcha_id is a stable public value. There is no separate challenge request. A pass produces five outputs: captcha_id, lot_number, pass_token, gen_time and captcha_output. The site posts them to its backend, which validates them with GeeTest.

Telling the versions apart

Signv3v4
Scriptgt.js, initGeetestgcaptcha4.js, initGeetest4
Inputgt + fresh challengecaptcha_id
Outputchallenge, validate, seccodelot_number, pass_token, gen_time, captcha_output

Solving GeeTest through the API

One task type covers both versions: send gt and challenge for v3, or captchaId for v4.

{"clientKey": "YOUR_API_KEY", "task": {"type": "GeeTestTaskProxyLess",
  "websiteURL": "https://game.example.com/register", "captchaId": "e392e1d7fd421dc63325744d5a2b9c73"}}

The solution returns the version's output fields. Pass them to the site's verification request unchanged; do not rename or re-encode them. GeeTest v3 / v4 costs $0.84 per 1,000 solved tasks and typically finishes under 5 seconds. The legacy in.php interface accepts method=geetest and method=geetest_v4 for teams migrating older code.

Where the outputs go

On many v3 sites the values are added to the login or signup form as hidden fields with the names above. On v4 sites they are usually posted as JSON to an endpoint such as /api/verify, sometimes nested under a key like captcha. A manual pass with the network tab open shows the exact shape; copy it rather than guessing.

Common problems

Stale v3 challenges are the leading cause of failures, followed by sites that wrap GeeTest in their own signature step. If the site's request includes extra fields generated by its own script, you may need to run that script in a browser and only substitute the GeeTest values. When the page shows a raw slider image instead of a GeeTest widget, the Vision Engine task, which returns the slide distance, can be a better fit. See the slider CAPTCHA entry for that route and the GeeTest guide for complete code.

Puzzle styles you may see

The same GeeTest account can serve different puzzle styles to different visitors: a slide on one attempt, an icon click on the next, a nine square match after that. You do not need to know which style was chosen when you use the token style task, because the solver handles whatever the widget presents and returns the same set of outputs. That is a useful property for long running jobs, since a style change on the site side does not break your integration.

Common questions

Is the GeeTest gt value secret?

No. It identifies the site's GeeTest account and is visible to every visitor; the fresh challenge is what changes per attempt.

Can I reuse a v3 challenge value?

No. Each challenge is single use and expires quickly, so request a new one from the site before each task.

Does v4 need a challenge request?

No. v4 needs only the captcha_id from the initGeetest4 call and the page URL.

Which outputs does a v4 solve return?

captcha_id, lot_number, pass_token, gen_time and captcha_output, which the site posts to its own verification endpoint.

Does GeeTest need a proxy?

The proxyless task is the usual choice; a proxy variant exists for sites that compare the solving IP with the submitting one.

Keep reading