Skip to main content
Are you experiencing issues obtaining the token?
Contact support

FengkongCloud

CapMonster Cloud MCP
CapMonster Cloud MCP can also be used to detect and solve CAPTCHA

FengkongCloud is a captcha solution that protects websites from automated actions. It analyzes user behavior and generates a token that confirms legitimate activity.

Examples of tasks​

Below is an example of a FengkongCloud task type currently supported by CapMonster Cloud:

Example of a FengkongCloud slider captcha: a mountain picture with several chess-knight shapes and the slider “Slide the slider to the right to complete the verification”.
Slider

Request parameters​

type<string>required

CustomTask


class<string>required

fengkongcloud


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.


apiJsUrl (inside metadata)<string>optional

Link to smcp.min.js. Example: https://castatic.fengkongcloud.com/pr/vX.X.X/smcp.min.js


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.

Create task method​

POST
https://api.capmonster.cloud/createTask

Request example

{
"clientKey": "API_KEY",
"task": {
"type": "CustomTask",
"class": "fengkongcloud",
"websiteURL": "https://www.example.com/",
"websiteKey": "your-website-key",
"userAgent": "userAgentPlaceholder",
"metadata": {
"apiJsUrl": "https://castatic.fengkongcloud.com/pr/vX.X.X/smcp.min.js"
}
}
}

Response example

{
"errorId": 0,
"taskId": 407533072
}

Get task result method​

Use the method getTaskResult to obtain the FengkongCloud solution.

POST
https://api.capmonster.cloud/getTaskResult

Request example

{
"clientKey":"API_KEY",
"taskId": 407533072
}

Response example

{
"errorId": 0,
"cost": 0.0006,
"status": "ready",
"solution": {
"data": {
"token": "abc123def456.....78"
}
}
}

How to find the websiteKey​

  1. Open the page with FengkongCloud 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 /conf with parameters like appid or organization.
  5. The appid parameter value is the websiteKey.

Alternatively, search the page source code for appid or look for scripts loading from fengkongcloud.com domains.

How to find the apiJsUrl​

  1. In Developer Tools, go to the Network tab.
  2. Filter requests to find the script loading from castatic.fengkongcloud.com.
  3. Look for a file named smcp.min.js and copy its full URL.

Use the SDK library​

Show code
# https://github.com/CapMonsterCloud/capmonster-python-captcha-solver

import asyncio

from capmonstercloudclient import CapMonsterClient, ClientOptions
from capmonstercloudclient.requests import FengkongCloudCustomTaskRequest

API_KEY = "YOUR_API_KEY" # Specify your CapMonster Cloud API key


async def solve_fengkongcloud():
client = CapMonsterClient(
options=ClientOptions(api_key=API_KEY)
)

fengkongcloud_request = FengkongCloudCustomTaskRequest(
websiteUrl="https://yourwebsite.com/page-with-fengkongcloud",
websiteKey="your-website-key",
userAgent="userAgentPlaceholder",
metadata={"apiJsUrl": "https://castatic.fengkongcloud.com/pr/vX.X.X/smcp.min.js"},
)

# You can check your balance if necessary
balance = await client.get_balance()
print("Balance:", balance)

result = await client.solve_captcha(fengkongcloud_request)
print("Solution:", result)


asyncio.run(solve_fengkongcloud())