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



Estado: OK

Los servidores están completamente operativos con un tiempo de respuesta más rápido que el promedio.
  • Tiempo medio de resolución
  • 1 segundos - Normal CAPTCHAs (1 min. atrás)
  • 17 segundos - reCAPTCHA V2, V3 (1 min. atrás)
  • 22 segundos - otros (1 min. atrás)
Chrome and Firefox logos
Extensiones de navegador disponibles

Actualizaciones

  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. Actualizaciones anteriores…

Apoyo

Nuestro sistema está diseñado para ser completamente fácil de usar. Si tiene algún problema con él, simplemente envíenos un correo electrónico a Correo electrónico de soporte técnico de DBC com, y un agente de soporte se comunicará con usted lo antes posible.

Soporte en vivo

Disponible de lunes a viernes (10 am a 4 pm EST) Live support image. Link to live support page