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!
- ⚡ 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.
Install the CapMonster Cloud Python client using pip:
pip install capmonstercloudclientPrerequisite: 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)Our Python API wrapper supports almost all modern anti-bot challenges. Click on the links below to view detailed API documentation and payload examples.
- AmazonWafRequest - Amazon WAF Bypass
- BinanceTaskRequest - Binance Captcha Solver
- BinanceTaskProxylessRequest
- GeeTestProxylessRequest - GeeTest Solver
- GeeTestRequest
- ImageToTextRequest - Standard OCR (Image-to-Text)
- RecaptchaV2ProxylessRequest - Google reCAPTCHA v2
- RecaptchaV2Request
- RecaptchaV3ProxylessRequest - Google reCAPTCHA v3
- RecaptchaV2EnterpriseProxylessRequest
- RecaptchaV2EnterpriseRequest
- TurnstileProxylessRequest - Cloudflare Turnstile Challenge
- TurnstileRequest
- BasiliskCustomTaskRequest
- DataDomeCustomTaskRequest - DataDome Slider & Interstitial bypass
- ImpervaCustomTaskRequest - Imperva / Incapsula bypass
- ImpervaCustomTaskProxylessRequest
- TenDiCustomTaskRequest
- RecaptchaComplexImageTaskRequest (Grid / Dynamic Image Selection)
Join thousands of developers effortlessly bypassing captchas.
👉 Sign up for CapMonster Cloud today and boost your scraper's success rate!