Skip to content
hCaptcha + hCaptcha Enterprise

hCaptcha Solver API — Token & Image Bypass

hCaptcha is the privacy-first alternative to reCAPTCHA, used by Cloudflare, Discord and Epic Games to gate signups and payments. CaptchaSonic returns a valid hCaptcha token through the HCaptchaTask endpoint — supporting checkbox, invisible and hCaptcha Enterprise (rqdata) flows — typically in 6–12 seconds.

captchasonic
# 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.

Why use Sonic for hCaptcha + hCaptcha Enterprise?

Built for speed, reliability, and easy integration.

Enterprise + invisible

HCaptchaTask handles standard hCaptcha, invisible widgets, and hCaptcha Enterprise via the optional enterprisePayload and rqdata fields.

6–12s typical solve

Token solves complete in 6–12 seconds; image classification via PopularCaptchaImage finishes in under one second.

Proxy or proxyless

HCaptchaTaskProxyless removes the need for residential IPs; switch to HCaptchaTask + proxy fields for high-friction Cloudflare and Discord targets.

Async polling pattern

createTask returns a taskId; getTaskResult polls until the hCaptcha token is ready — the SDK wraps the loop into a single awaitable solve() call.

Built for Developers

Choose your language and start solving CAPTCHAs in seconds

Type-safe
Async/Await
Error Handling
View Full Documentation
index.js
import { CaptchaSonic } from 'captchasonic'

const client = new CaptchaSonic({
  apiKey: 'your_api_key'
})

// Solve reCAPTCHA
const result = await client.solve({
  type: 'recaptcha_v2',
  sitekey: 'site_key_here',
  pageurl: 'https://example.com'
})

console.log(result.solution)
99.9%
Success Rate
<0.5s
Avg Response
99.9%
Uptime
10k+
Happy Devs
OpenAI
Anthropic
Vercel
Cloudflare
GitHub
Hugging Face
Discord
Perplexity
Stripe
Shopify
Supabase
Notion
Linear
Databricks
OpenAI
Anthropic
Vercel
Cloudflare
GitHub
Hugging Face
Discord
Perplexity
Stripe
Shopify
Supabase
Notion
Linear
Databricks

How we compare on this captcha

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.

FeatureCaptchaSonic2CaptchaCapSolverAnti-CaptchaCapMonster Cloud
AI / ML solver (no human relay)
hCaptcha (incl. Enterprise)
Success rate (trailing 30d)99.9%~95%~98%~95%~97%
Price per 1k — hCaptchaContact$2.99$1.20$2.00$1.50
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.

Frequently asked questions

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.

Related captcha guides

Plug into your AI agent

Solve hCaptcha and hCaptcha Enterprise from Claude, Cursor, or any MCP client.

View AI Agents docs

Install the SDK

Token variant
Python
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)
Node
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 variant (image)
Python
from captchasonic import CaptchaSonic
client = CaptchaSonic(api_key="YOUR_API_KEY")
result = client.solve_popular_captcha(image_b64="...")
print(result.typed_solution.grid.objects)
Node
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)

Use the browser extension

One-click install — works on every supported captcha.

Say goodbye to
Frustrating CAPTCHAs

Experience lightning-fast AI-powered CAPTCHA solving with the CaptchaSonic browser extension. Save time, scale faster.

CaptchaSonic Extension

Are You Human?

No more frustrating challenges—just smooth, accurate, and reliable CAPTCHA solving. Let CaptchaSonic handle the rest!

LogoLogoLogoLogoLogoLogoLogoLogoLogoLogoLogoLogoLogoLogoLogoLogo