DocumentationAPI v1
Back to All Task Types
Captcha Token•Token & Cookie Bypass~1.8s avg98.6% accuracy$1.10 / 1k

HeyTap Captcha (Beta)

POST/api/v1/createTask
POST/api/v1/getTaskResult

Solves HeyTap verification challenges using the target ak key and optional custom api_server hostname. Returns a single-use solution.token.

Supported Task Types & Modes

Task TypeModeRecommended ForRate / 1k
HeyTapTaskProxy Optional (v1: heytap)HeyTap web & portal verification widgets$1.10
How to Locate Required Parameters
  1. Locate the ak key parameter sent by the HeyTap captcha widget in Network DevTools.
  2. If the site uses a custom hostname instead of captcha-sec.heytapmobi.com, pass it in api_server.
  3. Submit POST /api/v1/createTask and poll POST /api/v1/getTaskResult for solution.token.

Request Parameters

ParameterTypeRequiredDescription
task.typestringRequired
Use HeyTapTask or canonical v1 name "heytap".
Example: "HeyTapTask"
websiteURLstringRequired
Full URL of the page displaying HeyTap Captcha.
Example: "https://example.com/login"
websiteKeystringRequired
The HeyTap ak value from the widget request.
Example: "ak-123"
api_serverstringOptional
Optional custom HeyTap API hostname.
Example: "captcha-sec.heytapmobi.com"
proxyobjectOptional
Optional proxy object.
Example: {"type":"http","host":"203.0.113.7","port":8080}

Request Examples

Create & Poll Task
curl -X POST https://api.byecap.org/api/v1/createTask \
  -H "Content-Type: application/json" \
  -d '{
    "clientKey": "YOUR_API_KEY",
    "task": {
      "type": "HeyTapTask",
      "websiteURL": "https://example.com/login",
      "websiteKey": "ak-123",
      "api_server": "captcha-sec.heytapmobi.com"
    }
  }'

Response Format

200 OK — Ready Solution
{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "token": "ht_8f4c2a1b9e0d7f3a..."
  }
}
Response FieldTypeDescription
solution.tokenstringSingle-use HeyTap verification token.

Error Codes & Troubleshooting

Error CodeCommon CauseResolution
INVALID_SITEKEYIncorrect ak value or mismatched api_server hostname.Verify both ak and API host from the target widget network request.
Best Practices & Billing Protection
  • Consume solution.token immediately upon retrieval.
Need custom concurrency or a dedicated model? View Pricing & Enterprise Plans →