FengkongCloud
FengkongCloud is a captcha solution that protects websites from automated actions. It analyzes user behavior and generates a token that confirms legitimate activity.
Request parameters
type<string>requiredCustomTask
class<string>requiredfengkongcloud
websiteURL<string>requiredThe address of the main page where the captcha is located.
websiteKey<string>requiredThe value of the siteKey parameter found on the page.
apiJsUrl (inside metadata)<string>optionalLink to smcp.min.js. Example: https://castatic.fengkongcloud.com/pr/vX.X.X/smcp.min.js
userAgent<string>optionalBrowser 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
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.
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
- Open the page with FengkongCloud captcha.
- Open Developer Tools (F12 or right-click → Inspect).
- Go to the Network tab and reload the page.
- Look for a request to a URL containing
/confwith parameters likeappidororganization. - The
appidparameter value is thewebsiteKey.
Alternatively, search the page source code for appid or look for scripts loading from fengkongcloud.com domains.
How to find the apiJsUrl
- In Developer Tools, go to the Network tab.
- Filter requests to find the script loading from
castatic.fengkongcloud.com. - Look for a file named
smcp.min.jsand copy its full URL.
