Skip to main content

CapMonster Python Captcha Solver & Anti-Bot Bypass API Library

PyPI version PyPI downloads Python version License: MIT

Official Python 3 package for easy integration with the CapMonster Cloud API — the fastest and most reliable automated captcha-solving service.

This wrapper allows you to seamlessly integrate high-speed AI captcha recognition into your Python web scraping, data extraction, and testing workflows. It is fully compatible with popular browser automation frameworks like Selenium, Playwright, Puppeteer, Scrapy, and BeautifulSoup.

🔥 Create a Free Account & Get Your API Key to start bypassing bot protections instantly!

🛠️ Key Features

  • Fast & Fully Automated: Solve captchas in seconds without human intervention.
  • 🤖 100% AI-Powered: Machine learning algorithms ensure the highest success rate.
  • 🌐 Browser Automation Ready: Easily plug into your Selenium or Playwright scripts.
  • 🛡️ Advanced WAF Bypass: Effortlessly bypass Cloudflare Turnstile, DataDome, Amazon WAF, and Imperva.
  • 💰 Cost-Effective: One of the most affordable solutions on the market for scale.

⚙️ Installation

Install the CapMonster Cloud Python client using pip:

pip install capmonstercloudclient

🚀 Quick Start & Usage Example

Prerequisite: You need an active CapMonster API key. Grab it from your dashboard.

Below is a standard example of solving a reCAPTCHA v2 (Proxyless) using asyncio. You can easily pass the resulting token into your Selenium or Playwright browser instances.

import asyncio

from capmonstercloudclient import CapMonsterClient, ClientOptions
from capmonstercloudclient.requests import RecaptchaV2ProxylessRequest

# Initialize the client with your CapMonster Cloud API key
client_options = ClientOptions(api_key="<YOUR_API_KEY>")
cap_monster_client = CapMonsterClient(options=client_options)

async def solve_captcha():
    # Setup the reCAPTCHA v2 request
    recaptcha2request = RecaptchaV2ProxylessRequest(
        websiteUrl="https://lessons.zennolab.com/captchas/recaptcha/v2_simple.php?level=high",
        websiteKey="6Lcg7CMUAAAAANphynKgn9YAgA4tQ2KI_iqRyTwd"
    )
    # Await the solution token
    return await cap_monster_client.solve_captcha(recaptcha2request)

if __name__ == "__main__":
    responses = asyncio.run(solve_captcha())
    print("Captcha Solved! Token:", responses)

🧩 Supported Captcha Recognition Types

Our Python API wrapper supports almost all modern anti-bot challenges. Click on the links below to view detailed API documentation and payload examples.

🔹 Classic Captchas

🔹 Custom Tasks (Anti-Bot & Advanced WAFs)

🔹 Complex Image Tasks


💡 Ready to supercharge your web automation?

Join thousands of developers effortlessly bypassing captchas.
👉 Sign up for CapMonster Cloud today and boost your scraper's success rate!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

capmonstercloudclient-4.2.0.tar.gz (28.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

capmonstercloudclient-4.2.0-py3-none-any.whl (50.4 kB view details)

Uploaded Python 3

File details

Details for the file capmonstercloudclient-4.2.0.tar.gz.

File metadata

  • Download URL: capmonstercloudclient-4.2.0.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for capmonstercloudclient-4.2.0.tar.gz
Algorithm Hash digest
SHA256 8fd6d3581ae3dc0fde6a5e3598549a30ee63eb276e8ccdd6cf4b20235727eb3a
MD5 138a22684db14fecc807cee1227842c5
BLAKE2b-256 fac201887b7c2fe1f235a5b5e218b849109a87e260c829d82773b5d264a4f86a

See more details on using hashes here.

File details

Details for the file capmonstercloudclient-4.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for capmonstercloudclient-4.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5171eb1380ed920ff06ec33297e2a5b488aed17e4d0f68e7578b760d8c163863
MD5 9d6ce5018b5cdc7253a168c1cb4b1346
BLAKE2b-256 4dd908e42dcac9f1f6523c8dc4b7afa7f797518ce29c0510f664189745f45e0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page