
Rajinder Singh
Deep Learning Researcher
Published Jan 30, 2025
Updated Jan 23, 2025 · min read

(Written by Someone Who’s Clicked 10,000 Traffic Lights So You Don’t Have To)
Websites got smarter. CAPTCHAs now analyze everything:


Choose Your Solution:
Step 1: Get Your API Key
Step 2: Solve reCAPTCHA in 3 API Calls
# Submit task
POST https://api.capsolver.com/createTask
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "ReCaptchaV2TaskProxyless",
"websiteURL": "https://example.com",
"websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
}
}
# Get result (repeat until "status": "ready")
POST https://api.capsolver.com/getTaskResult
{
"clientKey": "YOUR_API_KEY",
"taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}
# Use the token (gRecaptchaResponse) in your scraper!
For Normal Humans:
For Automation Wizards:
config.js:
{
// Your API key from Capsolver
apiKey: "YOUR_API_KEY",
// Toggle CAPTCHA types
enabledForRecaptcha: true,
enabledForCloudflare: true,
enabledForAWS: true,
enabledForTextCaptcha: true
}
const browser = await puppeteer.launch({
args: ['--load-extension=./capsolver-extension']
});
Critical Settings:
enabledForCloudflare: true: For Turnstile CAPTCHAs.enabledForRecaptcha: true: Google’s classic.enabledForAWS: true: Amazon’s sneaky CAPTCHAs.enabledForTextCaptcha: true: Old-school “type these letters” puzzles.Pro Tip: Enable all if you’re not sure which CAPTCHA a site uses.
Python Scraper with Capsolver API:
import requests
def solve_recaptcha():
task_url = "https://api.capsolver.com/createTask"
task_data = {
"clientKey": "YOUR_API_KEY",
"task": {
"type": "ReCaptchaV2TaskProxyless",
"websiteURL": "https://example.com",
"websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
}
}
response = requests.post(task_url, json=task_data).json()
task_id = response["taskId"]
# Poll for result
while True:
result = requests.post("https://api.capsolver.com/getTaskResult", json={"clientKey": "YOUR_API_KEY", "taskId": task_id}).json()
if result["status"] == "ready":
return result["solution"]["gRecaptchaResponse"]
config.js – did you enable the right CAPTCHA type?
Rajinder Singh
Deep Learning Researcher
Making CAPTCHA solving more reliable in automated workflows.
ABOUT THE AUTHOR
Find CapSolver MCP in the Official MCP Registry, install version 0.1.3 with uvx or pip, configure a local client, and verify the stdio tools.

Add CAPTCHA tools to Pydantic AI using the official CapSolver adapter, test tool execution locally, and handle typed inputs and structured solver results.
