Skip to content
Programmatic guide

reCAPTCHA v3 solver for HTTP / requests Python

reCAPTCHA v3 is score-based, so a server-issued token is enough. Skip the headless browser entirely — Sonic returns an action-bound v3 token your Python requests script can post directly.

Python · HTTP / requests

Runnable example

import requests
from captchasonic import CaptchaSonic

sonic = CaptchaSonic('YOUR_API_KEY')
result = sonic.solve(
    type='RecaptchaV3TaskProxyless',
    website_url='https://example.com/checkout',
    website_key='6Lc-...',
    page_action='checkout',
    min_score=0.7,
)

r = requests.post(
    'https://example.com/api/submit',
    data={'g-recaptcha-response': result.gRecaptchaResponse, 'amount': 100},
)
print(r.status_code, r.text)

Replace YOUR_API_KEY with a real key from your dashboard. The token is good for one form submission.

FAQ

Why no browser needed for v3?
v3 is invisible — there's no widget to render. The token is action-scoped and validated server-side, so any HTTP client that can POST it works. Sonic scores the page environment server-side and returns the token to you.
What score should I expect?
Trailing-30-day average is 0.79. We surface the score on the response so your backend can drop tokens under your action threshold without calling Google's verify endpoint.
Does the action parameter matter?
Yes — Google's verify endpoint cross-checks the action you sent to it against the one Sonic embedded in the token. They must match exactly.

How CaptchaSonic compares for this captcha

Feature-by-feature against the four most-mentioned alternatives. Independently benchmarked; numbers refresh quarterly.

FeatureCaptchaSonic2CaptchaCapSolverAnti-CaptchaCapMonster Cloud
AI / ML solver (no human relay)
reCAPTCHA v2 / v3 / Enterprise
Avg. solve time (reCAPTCHA v2)< 3s~12s~8s~10s~7s
Success rate (trailing 30d)99.9%~95%~98%~95%~97%
Price per 1k — reCAPTCHA v2$0.80$2.99$0.90$2.00$1.00
Proxy + proxyless modes
Free trial credits
SDK languages (Py, Node, Go, C#, Java, PHP)66454
Selenium / Puppeteer / Playwright examples
Browser extension
Webhook callbacks
99.9% uptime SLA

Yes / No / Partial reflect publicly documented support. Pricing and solve-time figures snapshot the published rate at the time this page was last updated.

Related guides