How to Solve GeeTest with DeathByCaptcha API

How to Solve GeeTest with DeathByCaptcha API

Posted on 2026-07-17 | Category: guides


How to Solve GeeTest with DeathByCaptcha API

GeeTest is a behavioral CAPTCHA that uses slide puzzles, image selection, and behavioral analysis to differentiate humans from bots. It is widely used by Chinese and international websites, making it a common challenge for web scraping and automation teams.

DeathByCaptcha's geetest solver handles all GeeTest variants through a single API endpoint.

GeeTest Variants

DBC supports all major GeeTest types:

  • Slide (GeeTest v3): Drag a puzzle piece to the correct position.
  • Select (GeeTest v3): Select images matching a description.
  • GeeTest v4: Full-page behavioral challenge with advanced anti-bot detection.

Solving GeeTest with DBC

Python

import deathbycaptcha

client = deathbycaptcha.SocketClient("username", "password")

result = client.decode({
    "gt": "YOUR_GT_KEY",
    "challenge": "YOUR_CHALLENGE",
    "pageurl": "https://example.com"
}, type=6, timeout=60)

if result:
    solution = result.text
    # Solution contains validate, seccode, and challenge values

Node.js

const DBC = require('deathbycaptcha');
const client = new DBC.SocketClient('username', 'password');

const result = await client.decode({
    gt: 'YOUR_GT_KEY',
    challenge: 'YOUR_CHALLENGE',
    pageurl: 'https://example.com'
}, 60, 6);

Parameters Explained

Parameter Description
gt GeeTest captcha ID from the website
challenge Dynamic challenge value from the page
pageurl Full URL of the page with the GeeTest

Integrating with Playwright

from playwright.sync_api import sync_playwright

with sync_playwright() as p:
    browser = p.chromium.launch()
    page = browser.new_page()
    page.goto("https://example.com")

    # Extract GeeTest parameters from the page
    gt = page.evaluate("() => window.geetest.gt")
    challenge = page.evaluate("() => window.geetest.challenge")

    # Solve via DBC
    cid, solution = client.decode({
        "gt": gt, "challenge": challenge,
        "pageurl": "https://example.com"
    }, type=6)

    # Inject solution back into the page
    page.evaluate(f"""
        window.geetest.validate = '{solution["validate"]}';
        window.geetest.seccode = '{solution["seccode"]}';
    """)

Why Use DBC for GeeTest

  • Supports both GeeTest v3 and v4 variants.
  • Hybrid solving model handles the hardest behavioral challenges.
  • Sub-second automated solves for standard slide puzzles.
  • Proven reliability for high-volume Chinese website scraping.

Next Steps



地位: OK

服务器以比平均响应时间更快的速度全面运行。
  • 平均求解时间
  • 1 秒 - Normal CAPTCHAs (1分钟。前)
  • 17 秒 - reCAPTCHA V2, V3 (1分钟。前)
  • 22 秒 - 其他的 (1分钟。前)
Chrome and Firefox logos
可用的浏览器扩展名

更新

  1. May 13: Crypto payments got better! You can now purchase your CAPTCHAs using cryptocurrency through the Hekelet payment processor at https://deathbycaptcha.com/user-pay and receive an extra 20% FREE CAPTCHA credit with every package purchased this way.
  2. Apr 15: GitHub Updates: We’ve upgraded our libraries, expanded sample code, enhanced documentation, and added support for C++ and Go, making integration smoother than ever. Explore what’s new at github.com/deathbycaptcha!
  3. Jan 27: RESOLVED - If your email to one of our official addresses ([email protected], [email protected], or [email protected]) has bounced or you haven’t received a response, please try resending it or reach out via our Live Chat Support at https://deathbycaptcha.com/es/contact.

  4. 之前的更新…

支持

我们的系统设计为完全用户友好且易于使用。如果您有任何问题,只需发送电子邮件至DBC 技术支持电子邮件com,支持代理将尽快与您联系。

现场支持

周一至周五可用(美国东部标准时间上午 10 点至下午 4 点) Live support image. Link to live support page