GeeTest CAPTCHA: the slide puzzle that stops your scraper
- Made by
- GeeTest (Wuhan Jiyi Network Technology Co., Ltd.)
- Variants
- GeeTest v3: slide puzzle, icon click, click in order · GeeTest v4 (Adaptive CAPTCHA): slide puzzle, icon selection, match-three, gobang, OneTap · v4 modes: intelligent, risk fusion, invisible probe
What you see
GeeTestGeeTest v3GeeTest v4initGeetest4
More error strings (6)
gcaptcha4.jsapi.geetest.comgcaptcha4.geetest.compass_token expireillegal gen_time极验二次验证不通过
What it means
GeeTest, a CAPTCHA company from China, decided your request looks risky. So instead of the page, you got a puzzle: drag a slider piece into a gap, or click icons in order. Until someone solves it and the site checks the answer with GeeTest, you don’t get through.
Why it happens
GeeTest v4 calls itself an “adaptive” CAPTCHA. In its intelligent mode, most real users pass with one click. Requests it flags as risky get the puzzle.
What gets you flagged, most common first:
- Your IP looks bad. GeeTest keeps a global risk database and changes how hard the check is by traffic source. The FuckCaptcha field guide says a clean residential IP (one from a home internet line) is often the difference between passing and looping.
- Your client doesn’t look like a browser. v4’s script collects browser and environment signals, not just your answer.
- You move like a robot. GeeTest records mouse or touch paths and timing. A perfectly straight drag at constant speed is a strong bot signal.
- You reused an old challenge. Tokens are single-use and expire fast. A reused or stale one fails, even if the puzzle was solved right.
Which challenge you see depends on the site. v3 uses slide puzzles, icon clicks and “click in order”. v4 lists slide puzzle, icon selection, match-three, gobang and OneTap.
Accessibility: visual puzzles like these are hard or impossible for blind and low-vision people, and for many with dyslexia or motor problems. GeeTest has an audio challenge (type the numbers you hear), but the site owner has to ask GeeTest to turn on accessibility mode.
What does “adaptive” mean here? GeeTest v4 has three modes, and the site owner picks one:
- Intelligent: the owner switches on several puzzle types. GeeTest picks one per visitor, based on risk signals.
- Risk fusion: the site’s own risk system decides which puzzle to show and tells GeeTest through an API.
- Invisible probe: no puzzle at all. GeeTest scores you in the background and hands the result to the site.
So GeeTest can judge you without showing a puzzle. The site then decides what to do with you.
Why do old answers fail? Each challenge has its own serial number (lot_number in v4, challenge in v3). Your answer is encrypted with values tied to it. GeeTest’s own page lists “dynamic parameters” that make each check “harder to replay”, and says it can refresh up to 300,000 puzzle images an hour. A saved answer or an image database ages fast.
Fix it
-
Confirm it’s GeeTest. Look for
geetestin script names or network calls. v3 callsapi.geetest.comorstatic.geetest.comwithgt=andchallenge=. v4 loadsgcaptcha4.jsand sendscaptcha_id,lot_number,payloadand a longw. -
Don’t trigger it. The puzzle only shows for risky traffic. Use a clean residential IP and a real browser that runs the page’s JavaScript.
-
Solve it inside the browser. For v4, FuckCaptcha recommends running the real GeeTest script in a stealth browser (such as Patchright) and letting the page build the encrypted
witself. Rebuilding that by hand breaks whenever GeeTest updates its script. -
Drag like a person. Ease in and out, overshoot a little, add 2 to 5 pixels of jitter, vary the delays. The path matters as much as the right distance.
-
Get a fresh challenge every time. Never reuse
challenge,lot_numberor the tokens you got back. -
Still stuck? Use a solver service. FuckCaptcha lists these for both v3 and v4 (A to Z):
- 2Captcha
- Anti-Captcha (some tasks need your own proxy)
- CapMonster Cloud
- CapSolver
You send the puzzle’s ID values and the page URL. You get back tokens, which you submit to the site as if your browser had solved it.
Why run the real script instead of copying the requests? In v4, the answer travels inside w, encrypted with AES and RSA, after a proof-of-work step (a small math job your computer must finish first). FuckCaptcha says you can pull the keys out of gcaptcha4.js and build w yourself. That’s faster and cheaper at scale, but it breaks whenever GeeTest ships a new script.
Why can’t you just fake the “passed” result? The site’s server signs its check with a secret key that never leaves the server, then asks GeeTest whether your tokens are real. Only tokens GeeTest itself issued pass.
That’s what a solver gives you. With 2Captcha you create a GeeTestTaskProxyless task (their IPs) or GeeTestTask (your proxy). For v3 you send gt and challenge. For v4 you send version: 4 and captcha_id. Then you put the returned tokens where the page’s own script would.
Paste this into your AI
My scraper hits a GeeTest CAPTCHA (<v3 or v4>, <slide puzzle / icon click / other>) on <the URL pattern>.
What I see: <the error, status code or response body, e.g. "pass_token expire">.
Explain in plain words why GeeTest picked my requests.
Then list the likely causes in order, most likely first.
For each cause, give one way to test it and one fix.
My setup: <language + library or browser tool>, <proxy type or none>, <requests per minute>,
<do I run the page's JavaScript: yes/no>, <do I reuse gt/challenge or lot_number values: yes/no>,
<solver service I use, if any>.Dev details
v3 flow. The site’s backend calls /register and hands your browser gt plus a fresh challenge. After the solve, the browser holds challenge, validate and seccode. The backend checks them at api.geetest.com/validate.php.
{ "success": 1, "new_captcha": true, "challenge": "2b36836f0b4ec6e6e0225e1da4ccdeb2", "gt": "c9c4facd1a6feeb80802222cbb74ca8e" }
success: 0means failback mode: GeeTest’s service isn’t available, so the site switches to its backup plan.- A
challengeof"0"means the ID is wrong. A returnedseccodeof"false"means the check failed. - GeeTest’s sample failure from its Java SDK reads
"msg": "极验二次验证不通过"(GeeTest secondary verification failed).
v4 flow. The page calls initGeetest4({ captchaId }) against gcaptcha4.geetest.com (the apiServers default). product sets the look: float (default), popup or bind. After the solve, the site’s backend posts five values plus sign_token to gcaptcha4.geetest.com/validate:
lot_number captcha_output pass_token gen_time captcha_id sign_token
{ "status": "success", "result": "fail", "reason": "pass_token expire" }
{ "status": "error", "code": "-50005", "msg": "illegal gen_time" }
A solver’s v4 answer has the same shape. 2Captcha’s docs show it:
"solution": {
"captcha_id": "e392e1d7fd421dc63325744d5a2b9c73",
"lot_number": "e6c3bed2854f41f880662c48afff5dcb",
"pass_token": "fad5eb52fc83bf7617402fcccfb211a21e0aa1d1044",
"gen_time": "1693924478",
"captcha_output": "fN36ufW6cQN4SQ-JRDQC70nSq9UcQBg=="
}
v4 error codes you’ll likely see:
| code | what GeeTest says |
|---|---|
| 50003 | Repeated verification |
| 50005 | gen_time exception |
| 50102 | Invalid captcha ID |
| 50305 | Expired serial number |
| 50307 | Invalid payload parameters |
| 50308 | Expired payload |
| 60001 | Invalid captcha_id (web, at init) |
| 60500 | Server forbidden |
Edge cases:
- Stale challenge. 2Captcha warns that a v3
challengedies once the captcha loads on a page. Find the request that fetches a new one and call it fresh for every solve. - 10-minute window. GeeTest’s glossary says each v4
lot_numberis valid for about 10 minutes. Solve and submit well inside that. - Custom API domain. Some v3 sites load from a regional host such as
api-na.geetest.com. 2Captcha takes it asgeetestApiServerSubdomain. riskType. Some v4 sites pass ariskTypevalue. It’s dynamic, single-use and expires.- Proof-of-work. v4 makes your client do a small compute task before it accepts the answer, so expect extra CPU time per solve.
- Open-source parts. For the slide gap, FuckCaptcha points to OpenCV template matching and
ddddocr. They find the distance; you still need a human-like drag and a validw.
Detect all of GeeTest’s domains. Besides gcaptcha4.geetest.com and static.geetest.com, v4 has backup hosts: gcaptcha4.geevisit.com, gcaptcha4.gsensebot.com and static.geevisit.com. Match on geetest.com, geevisit.com and gsensebot.com, or you’ll miss some pages.
What the 60xxx codes tell you. They fire in the browser when a piece of the widget fails to load: the skin, the language pack, the puzzle picture or the scripts. Our advice: if you block images or scripts to save bandwidth, expect these and let GeeTest’s files through.
What happens when GeeTest is down. GeeTest’s docs describe a recovery mode. If the widget can’t load, the challenge is passed directly. Its sample server code treats a failed /validate call as "result": "success". Not every site sets it up that way, so don’t build on it.
How the site signs its check. sign_token is an HMAC-SHA256 of lot_number, keyed with the site’s private key. That key lives only on the server.
scrapenews difficulty
54/100 · Moderate from 5 of 8 factors
| Factor | What we found | Source |
|---|---|---|
| Smallest client that gets through | a stealth browser | github.com |
| Checks stacked | mouse and behaviour, JavaScript challenge | docs.geetest.com |
| Cheapest solver price | $1.20 per 1,000 solves | docs.capsolver.com |
| Scraper API credits | 20 Scrapfly credits per solved CAPTCHA | scrapfly.io |
| Steps for a human | 1 step | github.com |
Our analysis of 5 sourced facts; measured runs replace them as they come. How we rate difficulty
Related
Tools that get past it
| Tool | Price |
|---|---|
| $1.00/1k solves | |
| $0.95/1k solves | |
| $0.60/1k solves | |
| from $6.00 | |
| Free | |
| Free |
Sources
GeeTest docs: CAPTCHA v4 overview (modes and challenge types) docs.geetest.com
GeeTest docs: CAPTCHA v4 getting started docs.geetest.com
GeeTest docs: CAPTCHA v4 Web API (initGeetest4, product, apiServers) docs.geetest.com
GeeTest docs: CAPTCHA v4 server deploy (/validate) docs.geetest.com
GeeTest docs: CAPTCHA v4 server error codes docs.geetest.com
GeeTest docs: CAPTCHA v4 web error codes docs.geetest.com
GeeTest docs: Accessibility (audio challenge) docs.geetest.com
GeeTest docs: CAPTCHA v3 getting started docs.geetest.com
GeeTest docs: CAPTCHA v3 server API (register, validate) docs.geetest.com
GeeTest: Adaptive CAPTCHA product page geetest.com
FuckCaptcha (CC0): GeeTest v3 / v4 field guide github.com
GeeTest docs: CAPTCHA v4 disaster recovery (backup domains, fallback) docs.geetest.com
GeeTest docs: CAPTCHA v4 glossary (lot_number valid about 10 minutes) docs.geetest.com
2Captcha API docs: GeeTest v3 and v4 tasks 2captcha.com
A11Y Boost: Are CAPTCHA systems failing accessibility? a11yboost.com