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

Basilisk - FaucetPay Captcha

Basilisk
$1 / 1000 tokens
98%
Warning!

This task will be performed using our proxy servers.

Request parameters

type<string>required

CustomTask


class<string>required

Basilisk


websiteURL<string>required

The address of the main page where the captcha is solved.


websiteKey<string>required

Can be found in the html code in the attribute data-sitekey of the captcha container or in the payload of a POST request to the https://basiliskcaptcha.com/challenge/check-site in the field site_key


userAgent<string>optional

User-Agent browser. Pass only the current UA from the Windows operating system. Now this is: userAgentPlaceholder

Create task method

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

Request

{
"clientKey": "API_KEY",
"task": {
"type": "CustomTask",
"class": "Basilisk",
"websiteURL": "https://domain.io/account/register",
"websiteKey": "b7890hre5cf2544b2759c19fb2600897",
"userAgent": "userAgentPlaceholder"
}
}

Response

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

Get task result method

Use the method getTaskResult, to get the Basilisk solution.

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

Request

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

Response

{
"errorId":0,
"status":"ready",
"solution": {
"data": {
"captcha_response": "5620301f30daf284b829fba66fa9b3d0"
},
"headers": {
"User-Agent": "userAgentPlaceholder"
}
}
}

Use SDK Library

# https://github.com/ZennoLab/capmonstercloud-client-python

import asyncio
from capmonstercloudclient import CapMonsterClient, ClientOptions
from capmonstercloudclient.requests import BasiliskCustomTaskProxylessRequest

client_options = ClientOptions(api_key="your_api_key") # Replace with your CapMonster Cloud API key
cap_monster_client = CapMonsterClient(options=client_options)

basilisk_request = BasiliskCustomTaskProxylessRequest(
websiteUrl="https://example.com", # URL with captcha
websiteKey="b3760bfe5cf4254b2759c19fg2698og" # Replace with the correct website key
)

async def solve_captcha():
return await cap_monster_client.solve_captcha(basilisk_request)

responses = asyncio.run(solve_captcha())
print(responses)