How to Solve GeeTest v4
The box above is a live GeeTest v4 CAPTCHA. This page shows three easy ways to solve GeeTest v4 and get the five values a site checks: automatically with the CapSkip browser extension, in your own code with the CapSkip SDK, or by routing the captcha service your tools already call to CapSkip. CapSkip is an unlimited GeeTest v4 solver that runs locally on your device, so there are no per solve fees and nothing leaves your machine.
Option 1: Solve GeeTest v4 with the browser extension
The simplest way to bypass GeeTest v4 is the CapSkip captcha solver extension for Chrome and Firefox. It detects the GeeTest v4 widget on any page and solves whichever challenge GeeTest shows, automatically in the background, with no code to write.
Install the extension
Add CapSkip from the Chrome Web Store or Firefox Add-ons. It also works in Brave, Edge, Opera and Vivaldi.
Run the CapSkip app
Install and open the CapSkip desktop app. It does the solving on your own device and pairs with the extension.
It solves automatically
Reload this page and CapSkip clears the GeeTest v4 challenge for you. Prefer to stay in control? Switch to manual mode anytime.
Option 2: Solve GeeTest v4 with the CapSkip SDK
Building automation, a scraper or a bot? Use the CapSkip captcha solving SDK to solve GeeTest v4 from Python, Node.js, PHP or C#. You pass this page's captcha_id and URL, and CapSkip hands back the five values a passed GeeTest v4 check produces.
926ea849a15994d12348417781d1a840
https://capskip.com/captcha-demo/geetest-v4/
Before you start
CapSkip solves locally. Download and run the CapSkip desktop app and keep it open in the background. The SDK talks to it on 127.0.0.1:8080, so there are no cloud calls and no per solve fees.
Install the SDK
Add the official CapSkip client to your project.
pip install capskipnpm install capskipcomposer require capskip/capskipdotnet add package CapSkipSolve the GeeTest v4 and get the five values
Pass this page's captcha_id and url to geetest_v4(). CapSkip returns the five values GeeTest v4 produces for a passed check.
from capskip import CapSkip
# Connect to the CapSkip app running on your machine
solver = CapSkip(host="127.0.0.1", port=8080)
# Solve the GeeTest v4 on this page
result = solver.geetest_v4(
captcha_id="926ea849a15994d12348417781d1a840",
url="https://capskip.com/captcha-demo/geetest-v4/",
)
# The five values a passed GeeTest v4 check produces
for name in ("captcha_id", "lot_number", "pass_token", "gen_time", "captcha_output"):
print(name, result[name])const { CapSkip } = require('capskip');
// Connect to the CapSkip app running on your machine
const solver = new CapSkip({ host: '127.0.0.1', port: 8080 });
(async () => {
// Solve the GeeTest v4 on this page
const result = await solver.geetestV4(
'926ea849a15994d12348417781d1a840',
'https://capskip.com/captcha-demo/geetest-v4/',
);
// The five values a passed GeeTest v4 check produces
const { captcha_id, lot_number, pass_token, gen_time, captcha_output } = result;
console.log({ captcha_id, lot_number, pass_token, gen_time, captcha_output });
})();<?php
require 'vendor/autoload.php';
use CapSkip\CapSkip;
// Connect to the CapSkip app running on your machine
$solver = new CapSkip(['host' => '127.0.0.1', 'port' => 8080]);
// Solve the GeeTest v4 on this page
$result = $solver->geetestV4(
'926ea849a15994d12348417781d1a840',
'https://capskip.com/captcha-demo/geetest-v4/'
);
// The five values a passed GeeTest v4 check produces
foreach (['captcha_id', 'lot_number', 'pass_token', 'gen_time', 'captcha_output'] as $name) {
echo $name, ': ', $result[$name], PHP_EOL;
}using CapSkip;
// Connect to the CapSkip app running on your machine
var solver = new CapSkipClient(host: "127.0.0.1", port: 8080);
// Solve the GeeTest v4 on this page
var result = await solver.GeetestV4Async(
"926ea849a15994d12348417781d1a840",
"https://capskip.com/captcha-demo/geetest-v4/");
// The five values a passed GeeTest v4 check produces
Console.WriteLine(result.GeetestCaptchaId);
Console.WriteLine(result.LotNumber);
Console.WriteLine(result.PassToken);
Console.WriteLine(result.GenTime);
Console.WriteLine(result.CaptchaOutput);You get five values: captcha_id, lot_number, pass_token, gen_time and captcha_output, ready to submit.
Send the five values
Send the five values in the request the page's own submit makes, under the same names and unchanged. The site's server checks them with GeeTest's validate endpoint, signing lot_number with its Captcha Key. The values are single use, so solve again for every submission. Note that this demo verifies through the widget's own onSuccess callback, so it checks the values the widget produced rather than ones you send.
// Send the five values with the form, under the same names
const body = new URLSearchParams({
captcha_id: result.captcha_id,
lot_number: result.lot_number,
pass_token: result.pass_token,
gen_time: result.gen_time,
captcha_output: result.captcha_output,
});
await fetch('/login', { method: 'POST', body });Challenge types and proxies
GeeTest decides which challenge each visitor sees, and CapSkip answers whichever one appears: slide puzzle, icon selection, nine grid image selection, word selection, phrase order, match three, five in a row, SVG icon selection and one click. You can ask for a type with the optional riskType parameter, but GeeTest applies it only where the site allows it.
A proxy is also supported. For a steady stream of solves, add a proxy pool in the CapSkip app under Settings, Captcha types, GeeTest, so the checks do not all come from one address.
Not using Python, Node.js, PHP or C#? The SDKs are just wrappers over the CapSkip HTTP API (the standard in.php / res.php endpoints), so you can solve GeeTest v4 from any language, framework or tool. See the GeeTest v4 API reference.
Option 3: Send your existing solver-service code to CapSkip
Already solving GeeTest v4 through a pay-per-captcha service such as 2Captcha, Anti-Captcha or CapMonster? You do not have to rewrite a line. The CapSkip app includes a service emulator that speaks those services' own APIs locally: pick the service you use, click Add to hosts file, and every request your bot, scraper or off-the-shelf tool already sends to it is answered by CapSkip on your own machine, for a flat price instead of a per-solve bill.
Pick your service
Open the CapSkip app and choose the service your code already talks to: 2Captcha, RuCaptcha, Anti-Captcha, CapMonster Cloud, CapSolver, DeathByCaptcha, SolveCaptcha, NextCaptcha, EzCaptcha or Captchas.io.
Add to hosts file
One click in the app points that service's domain at CapSkip, so the calls your tool makes are answered on your own machine instead of going out to a paid API.
Run your tool unchanged
Same API key, same request, same polling loop. CapSkip replies in that service's own format and your code gets the five GeeTest v4 values back.
Nothing below changes when you switch. It is the same call your code makes today, except that GeeTest v4 is now solved locally and the five values come back from CapSkip:
POST https://2captcha.com/in.php
key=YOUR_EXISTING_API_KEY
method=geetest_v4
captcha_id=926ea849a15994d12348417781d1a840 pageurl=https://capskip.com/captcha-demo/geetest-v4/
GET https://2captcha.com/res.php?key=YOUR_EXISTING_API_KEY&action=get&id=2122988149
OK|{"captcha_id":"…","lot_number":"…","pass_token":"…","gen_time":"…","captcha_output":"…"}Client libraries work the same way: an Anti-Captcha style createTask / getTaskResult pair, or any wrapper built on one of these services, keeps working once the emulator is on. The full request and response reference lives in the CapSkip API docs.
More on solving GeeTest v4
Guides for the tools and languages people usually pair with this demo.
About this GeeTest v4 demo
GeeTest v4 demo and test page: this page runs the real GeeTest v4 widget with a live captcha_id, so you can try the challenge, watch it get solved in real time and inspect the five values a passed check returns: captcha_id, lot_number, pass_token, gen_time and captcha_output. Each solve is then checked with GeeTest's own validate endpoint, exactly as a site's server would check it.
Developers, testers and automation engineers can use this GeeTest v4 test page to check integrations and benchmark how fast CapSkip solves GeeTest v4. CapSkip works three ways: the no-code captcha solver extension for Chrome and Firefox, the captcha solving SDK for Python, Node.js, PHP and C#, and drop-in emulation of the captcha services you may be paying per solve today, all with unlimited solving on one flat price.
