hCaptcha + hCaptcha Enterprise
hCaptcha 해결 API
hCaptcha는 reCAPTCHA의 개인정보 보호 중심 대안으로, Cloudflare, Discord, Epic Games가 가입과 결제를 보호하는 데 사용합니다. CaptchaSonic은 HCaptchaTask 엔드포인트를 통해 유효한 hCaptcha 토큰을 반환하며, 체크박스, 보이지 않는(invisible) 방식, hCaptcha Enterprise(rqdata) 흐름을 지원합니다. 일반적으로 6–12초가 걸립니다.
# CaptchaSonic — hCaptcha (Python)
import requests
requests.post('https://api.captchasonic.com/createTask', json={
'clientKey': 'YOUR_API_KEY',
'task': {
'type': 'HCaptchaTask',
'websiteURL': 'https://hcaptcha.com',
'websiteKey': 'a5f74b19-9e45-40e0-b45d-47ff91b7a6c2',
'proxyType': 'http',
'proxyAddress': '1.2.3.4',
'proxyPort': 8080
}
})
# Poll /getTaskResult until status == 'ready'; solution.token is the hCaptcha token.다음 용도로 Sonic을 사용하는 이유: hCaptcha + hCaptcha Enterprise?
속도, 안정성, 쉬운 연동을 위해 만들어졌습니다.
엔터프라이즈 + 보이지 않는 방식
HCaptchaTask는 표준 hCaptcha, 보이지 않는 위젯, 그리고 선택 사항인 enterprisePayload 및 rqdata 필드를 통한 hCaptcha Enterprise를 처리합니다.
일반적으로 6–12s 해결
토큰 해결은 6–12초에 완료되며, PopularCaptchaImage를 통한 이미지 분류는 1초 이내에 끝납니다.
프록시 사용 또는 프록시 없음
HCaptchaTaskProxyless는 주거용 IP가 필요하지 않습니다. 마찰이 큰 Cloudflare 및 Discord 대상에는 HCaptchaTask와 프록시 필드를 사용하세요.
비동기 폴링 방식
createTask는 taskId를 반환하고, getTaskResult가 hCaptcha 토큰이 준비될 때까지 폴링합니다. SDK는 이 루프를 단일 awaitable solve() 호출로 감쌉니다.
직접 만들어 보기
SDK
SDK 예제
Token
from captchasonic import CaptchaSonic
client = CaptchaSonic(api_key="YOUR_API_KEY")
result = client.solve_popular_captcha_token(website_url="https://hcaptcha.com", website_key="a5f74b19-...")
print(result.solution.token)import { CaptchaSonic } from 'captchasonic'
const client = new CaptchaSonic({ apiKey: 'YOUR_API_KEY' })
const result = await client.solvePopularCaptchaToken({ websiteUrl: 'https://hcaptcha.com', websiteKey: 'a5f74b19-...' })
console.log(result.solution.token)Recognition
from captchasonic import CaptchaSonic
client = CaptchaSonic(api_key="YOUR_API_KEY")
result = client.solve_popular_captcha(image_b64="...")
print(result.typed_solution.grid.objects)import { CaptchaSonic } from 'captchasonic'
const client = new CaptchaSonic({ apiKey: 'YOUR_API_KEY' })
const result = await client.solvePopularCaptcha({ imageB64: '...' })
console.log(result.typed_solution.grid.objects)다른 서비스와 비교
Compare
다른 서비스와 비교
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) | |||||
| hCaptcha (incl. Enterprise) | |||||
| Success rate (trailing 30d) | 99.9% | ~95% | ~98% | ~95% | ~97% |
| 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 |
자주 묻는 질문
hCaptcha is the privacy-first CAPTCHA that replaced reCAPTCHA on most Cloudflare turnstile-precursor pages, Discord, Epic Games and many high-traffic signup flows. It comes in checkbox, invisible and Enterprise (rqdata) modes — all three share the same h-captcha-response token format.
Yes. Standard hCaptcha and hCaptcha Enterprise share the HCaptchaTask endpoint — Enterprise tasks accept the additional enterprisePayload and rqdata fields the protected page generates. Pass them through on createTask and CaptchaSonic returns a valid token in the same 6–12 second window as standard hCaptcha.
Yes. Set task.type to HCaptchaTaskProxyless and pass only websiteURL + websiteKey. For higher-friction sites with strict TLS fingerprinting (Cloudflare, Discord) switch to HCaptchaTask with the proxy fields populated — CaptchaSonic then routes the solve through your residential IP for higher acceptance.
CaptchaSonic bills hCaptcha per 1,000 successful solves with no monthly subscription. Enterprise tasks are the same per-solve rate as standard hCaptcha. Failed solves are auto-refunded — start with the free trial in the dashboard to benchmark your traffic mix.