Token-API für reCAPTCHA v2
reCAPTCHA-v2-Solver-API: Token und Bild
Google reCAPTCHA ist der meistverbreitete Bot-Filter im Web und schützt Logins, Registrierungen und Checkout-Abläufe. CaptchaSonic liefert über den Endpunkt RecaptchaV2Task ein gültiges gRecaptchaResponse-Token für reCAPTCHA-v2-Checkbox-Ziele, in der Regel in 4–8 Sekunden.
# CaptchaSonic — reCAPTCHA v2 (Python)
import requests
requests.post('https://api.captchasonic.com/createTask', json={
'clientKey': 'YOUR_API_KEY',
'task': {
'type': 'RecaptchaV2TaskProxyless',
'websiteURL': 'https://example.com',
'websiteKey': '6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-'
}
})
# Poll /getTaskResult until status == 'ready'; solution.token is the gRecaptchaResponse.Warum Sonic für Token-API für reCAPTCHA v2?
Entwickelt für Geschwindigkeit, Zuverlässigkeit und einfache Integration.
Token und Bildraster
Eine API deckt reCAPTCHA-v2-Tokens über RecaptchaV2Task und die Erkennung des v2-Bildrasters ab.
Typisch 4–8 s pro Lösung
Token-Captchas werden im Schnitt in 4–8 Sekunden gelöst; die Klassifizierung des Bildrasters ist in unter einer Sekunde fertig.
Mit oder ohne Proxy
Nutzen Sie die Variante RecaptchaV2TaskProxyless für schnelle Lösungen oder hängen Sie einen eigenen Residential-Proxy für stark geschützte Ziele an.
Asynchrones Polling-Muster
createTask liefert eine taskId; getTaskResult fragt ab, bis das Ergebnis bereit ist. Das SDK kapselt die Schleife und stellt einen einzigen awaitbaren Aufruf solve() bereit.
Damit bauen
SDK-Beispiele
Token
from captchasonic import CaptchaSonic
client = CaptchaSonic(api_key="YOUR_API_KEY")
result = client.solve_recaptcha_v2_token(website_url="https://example.com/login", website_key="6Le-...")
print(result.solution.token)import { CaptchaSonic } from 'captchasonic'
const client = new CaptchaSonic({ apiKey: 'YOUR_API_KEY' })
const result = await client.solveRecaptchaV2Token({ websiteUrl: 'https://example.com/login', websiteKey: '6Le-...' })
console.log(result.solution.token)Recognition
from captchasonic import CaptchaSonic
client = CaptchaSonic(api_key="YOUR_API_KEY")
result = client.solve_recaptcha_v2(image_b64="...")
print(result.typed_solution.grid.objects)import { CaptchaSonic } from 'captchasonic'
const client = new CaptchaSonic({ apiKey: 'YOUR_API_KEY' })
const result = await client.solveRecaptchaV2({ imageB64: '...' })
console.log(result.typed_solution.grid.objects)Unser Vergleich
Compare
Unser Vergleich
Feature-by-feature against the four most-mentioned alternatives, compiled from each provider’s public pricing pages. Competitor figures may change — verify current rates with each provider.
| Feature | CaptchaSonic | 2Captcha | CapSolver | Anti-Captcha | CapMonster Cloud |
|---|---|---|---|---|---|
| AI / ML solver (no human relay) | |||||
| reCAPTCHA v2 | |||||
| Avg. solve time (reCAPTCHA v2) | < 3s | ~12s | ~8s | ~10s | ~7s |
| Success rate (trailing 30d) | 99.9% | ~95% | ~98% | ~95% | ~97% |
| Price per 1k — reCAPTCHA image | $0.20 | $2.99 | $0.90 | $2.00 | $1.00 |
| Proxy + proxyless modes | |||||
| Free trial credits | |||||
| SDK languages (Py, Node, Go, C#, Java, PHP) | 6 | 6 | 4 | 5 | 4 |
| Selenium / Puppeteer / Playwright examples | |||||
| Browser extension | |||||
| Webhook callbacks | |||||
| 99.9% uptime SLA |
Häufig gestellte Fragen
reCAPTCHA is Google's bot-filter widget that gates an estimated 4.5M websites. CaptchaSonic supports reCAPTCHA v2: tokens via RecaptchaV2Task and image-grid recognition for the v2 challenge.
Pass websiteURL + websiteKey on createTask. RecaptchaV2Task returns a gRecaptchaResponse token from a residential browser-fingerprint pool in 4–8 seconds. SDK helpers for Selenium, Playwright, Puppeteer and requests are in the docs.
CaptchaSonic bills per 1,000 successful solves with no subscription or seat fee. See the pricing page for the current reCAPTCHA v2 token and image rates. Failed solves are auto-refunded so you only pay for tokens your backend accepts.
Yes. CaptchaSonic is used for QA, accessibility testing, security research and authorized automation against sites you own or have permission to test. Always honor each target's Terms of Service and applicable laws — CaptchaSonic is a tool, not a license to bypass access controls. Start with the free trial to benchmark your traffic.