DocumentationAPI v1
Captcha Token•Token & Cookie Bypass~2.2s avg98.6% accuracy$0.90 / 1k

hCaptcha & Enterprise Token Solver

POST/api/v1/createTask

Bypass hCaptcha Checkbox, Invisible, and Enterprise rqdata challenges automatically, returning verified gRecaptchaResponse and respKey tokens.

Need direct Base64 image grid or bounding-box coordinate classification for hCaptcha in ~200ms?View hCaptcha Classification (Recognition) →
Live hCaptcha Solving Preview

Automated challenge completion issuing a verified h-captcha-response token.

hCaptcha • Drag & Drop

Supported Task Types & Modes

Task TypeModeRecommended ForRate / 1k
HCaptchaTaskProxylessProxylessStandard & Invisible hCaptcha widgets (no proxy required)$0.90
HCaptchaTaskWith ProxyGeo-locked sites requiring your own residential/ISP proxy$0.95
HCaptchaEnterpriseTaskProxylessEnterpriseEnterprise hCaptcha using rqdata or custom host$1.35
HCaptchaEnterpriseTaskEnterprise + ProxyHardened Enterprise flows binding rqdata + token to sticky IP$1.45
How to Locate Required Parameters
  1. Open Chrome DevTools (F12) → Elements tab and search for "data-sitekey" or "h-captcha".
  2. Copy the UUID string (e.g. a5f74b19-9e45-40e0-b45d-47ff91b7a6c2) as your websiteKey.
  3. For Enterprise targets, open Network tab, filter for "hcaptcha.com/getcaptcha", and inspect the request payload for "rqdata".
  4. Pass the exact canonical page URL (including path) as websiteURL.

Request Parameters

ParameterTypeRequiredDescription
task.typestringRequired
Solver task variant from the table above.
Example: "HCaptchaTaskProxyless"
task.websiteURLstringRequired
Full URL of the page hosting the hCaptcha widget.
Example: "https://accounts.hcaptcha.com/demo"
task.websiteKeystringRequired
Public hCaptcha sitekey UUID.
Example: "a5f74b19-9e45-40e0-b45d-47ff91b7a6c2"
task.isInvisiblebooleanOptional
Set true when the target uses an invisible hCaptcha trigger.
Example: true
task.enterprisePayloadobjectOptional
Required only for Enterprise hCaptcha sites that issue per-session rqdata.
Example: {"rqdata": "..."}
task.userAgentstringOptional
Custom browser User-Agent to bind the returned token.
Example: "Mozilla/5.0 ..."
appIdstringOptional
Optional Developer Program App ID for 5%–20% revenue share.
Example: "app_dev_123"

Request Examples

Create & Poll Task
curl -X POST https://api.byecap.org/api/v1/createTask \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{
    "task": {
      "type": "HCaptchaTaskProxyless",
      "websiteURL": "https://accounts.hcaptcha.com/demo",
      "websiteKey": "a5f74b19-9e45-40e0-b45d-47ff91b7a6c2",
      "isInvisible": false
    }
  }'

Response Format

200 OK — Ready Solution
{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "gRecaptchaResponse": "P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
    "respKey": "E0_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/131.0.0.0"
  }
}
Response FieldTypeDescription
solution.gRecaptchaResponsestringVerified hCaptcha token to submit as h-captcha-response and g-recaptcha-response.
solution.respKeystringAuxiliary verification key returned on selected Enterprise configurations.
solution.userAgentstringExact User-Agent used during solve—match this header when submitting the form.

Injecting Token in Playwright / Browser

Browser / Client Integration
await page.evaluate((token) => {
  const hInput = document.querySelector('[name="h-captcha-response"]');
  const gInput = document.querySelector('[name="g-recaptcha-response"]');
  if (hInput) hInput.value = token;
  if (gInput) gInput.value = token;
}, token);

Error Codes & Troubleshooting

Error CodeCommon CauseResolution
ERROR_INVALID_SITEKEYMalformed UUID or wrong websiteKey for the target domain.Re-copy data-sitekey directly from the live DOM.
ERROR_RQDATA_REQUIREDTarget uses hCaptcha Enterprise with dynamic rqdata.Capture rqdata from /getcaptcha and pass it inside enterprisePayload.
ERROR_CAPTCHA_UNSOLVABLEUpstream challenge expired before completion.Safe to retry—ByeCap automatically refunds 100% of the held fee.
Best Practices & Billing Protection
  • Always submit the returned token within 90 seconds—hCaptcha tokens expire rapidly.
  • Match the User-Agent returned in solution.userAgent when posting the form to avoid silent rejections.
  • Failed or timed-out tasks are 100% automatically refunded by the ByeCap atomic ledger.
Need custom concurrency or a dedicated model? View Pricing & Enterprise Plans →