# Automatically solve HeyTap Captcha | API URL: https://docs.capmonster.cloud/docs/captchas/heytap-task/ > Learn how to bypass HeyTap Captcha using CapMonster Cloud API! Detailed description of features and examples. # HeyTap View full price: https://capmonster.cloud/en/prices/ HeyTap - **Price:** $0.7 / 1000 tokens. **Success rate:** 98%. > **CapMonster Cloud MCP** > > CapMonster Cloud MCP can also be used to detect and solve CAPTCHA. [Learn more about MCP](https://docs.capmonster.cloud/docs/mcp.txt). HeyTap Captcha is a security system that protects websites from automated actions. It analyzes user behavior and generates a token to confirm legitimate activity. ## Examples of tasks Below are examples of HeyTap task subtypes: ## Request parameters **type** (string, required): **CustomTask** --- **class** (string, required): **heytap** --- **websiteURL** (string, required): The address of the main page where the captcha is located. --- **websiteKey** (string, required): The value of the siteKey parameter found on the page. --- **apiServer (inside metadata)** (string, optional): Subdomain of the HeyTap API server. Specify only the domain without the `https://` prefix. If different from the default `captcha-sec.heytapmobi.com`, you must specify it. --- **userAgent** (string, optional): Browser User-Agent. Use the current value supported by CapMonster Cloud: `userAgentPlaceholder` You can get the latest value at: [https://capmonster.cloud/api/useragent/actual](https://capmonster.cloud/api/useragent/actual). ## Create task method ```http https://api.capmonster.cloud/createTask ``` **Request example** ```json { "clientKey": "API_KEY", "task": { "type": "CustomTask", "class": "heytap", "websiteURL": "https://yourwebsite.com/", "websiteKey": "your-website-key", "userAgent": "userAgentPlaceholder", "metadata": { "apiServer": "captcha-sec.heytapmobi.com" } } } ``` **Response example** ```json { "errorId": 0, "taskId": 407533072 } ``` ## Get task result method Use the method [getTaskResult](https://docs.capmonster.cloud/docs/api/methods/get-task-result.txt) to obtain the HeyTap solution. ```http https://api.capmonster.cloud/getTaskResult ``` **Request example** ```json { "clientKey":"API_KEY", "taskId": 407533072 } ``` **Response example** ```json { "errorId": 0, "cost": 0.0007, "status": "ready", "solution": { "data": { "token": "1A183F8CFC7631B08855D824....." } } } ``` ## How to find the websiteKey 1. Open the page with HeyTap Captcha. 2. Open **Developer Tools** (**F12** or right-click → **Inspect**). 3. Go to the **Network** tab and reload the page. 4. Look for a request to a URL containing HeyTap captcha API (usually to `heytapmobi.com`). 5. The `ak` parameter in the URL is the `websiteKey`. Alternatively, search the page source code for initialization parameters or configuration objects related to HeyTap. ## How to find the apiServer 1. In **Developer Tools**, go to the **Network** tab. 2. Look for requests to domains ending with `heytapmobi.com`. 3. Copy the subdomain (for example, `captcha-sec.heytapmobi.com`). 4. Pass this value in the `metadata.apiServer` field without the `https://` prefix.