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:00 до 16:00 по восточному поясному времени) Live support image. Link to live support page