API de tokens para reCAPTCHA v2
API solucionadora de reCAPTCHA v2 — token e imagen
Google reCAPTCHA es el filtro antibots más desplegado de la web y protege inicios de sesión, registros y procesos de pago. CaptchaSonic devuelve un token gRecaptchaResponse válido para los objetivos de casilla de reCAPTCHA v2 mediante el endpoint RecaptchaV2Task — normalmente en 4–8 segundos.
# 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.Por qué usar Sonic para API de tokens para reCAPTCHA v2?
Diseñado para la velocidad, la fiabilidad y una integración sencilla.
Token y cuadrícula de imágenes
Una sola API cubre los tokens de reCAPTCHA v2 mediante RecaptchaV2Task y el reconocimiento de cuadrículas de imágenes v2.
Resolución típica de 4–8 s
Los captchas de token se resuelven en 4–8 segundos de media; la clasificación de cuadrículas de imágenes termina en menos de un segundo.
Con proxy o sin proxy
Usa la variante RecaptchaV2TaskProxyless para resoluciones rápidas, o añade tu propio proxy residencial para objetivos con mucha fricción.
Patrón de consulta asíncrona
createTask devuelve un taskId; getTaskResult consulta hasta que esté listo — El SDK encapsula el bucle y expone una única llamada solve() awaitable.
Intégralo
Ejemplos de SDK
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)Cómo nos comparamos
Compare
Cómo nos comparamos
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 |
Preguntas frecuentes
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.