Skip to main content

ComplexImageTask Funcaptcha

The object contains data about the FunCaptcha solving.

Object structure

ParameterTypeRequiredPossible valuesDescription
typeStringyesComplexImageTaskSpecifies the type of task object.
classStringyesfuncaptchaSpecifies the class of task object.
imageUrlsArrayyes (if imagesBase64 is not filled)[ “https://i.postimg.cc/s2ZDrHXy/fc1.jpg”, … ]Single image (in an array).
imagesBase64Arrayyes (if imageUrls is not filled)[ “/9j/4AAQSkZJRgABAQEAAAAAAAD…”, … ]Single image in base64 format (in an array).
metadata.TaskStringyesPick the image that is the correct way up and othersTask text (in English).
userAgentStringno-The browser User Agent used when uploading images if links were passed to imageUrls. You should use a modern browser signature or Google will return an error asking you to update your browser.
websiteURLStringno-URL of the page where the captcha is solved.

Request example

Method

<https://api.capmonster.cloud/createTask>

{
"clientKey":"dce6bcbb1a728ea8d871de6d169a2057",
"task": {
"type": "ComplexImageTask",
"class": "funcaptcha",
"imageUrls":[ "https://i.postimg.cc/s2ZDrHXy/fc1.jpg" ],
"metadata": {
"Task": "Pick the image that is the correct way up"
},
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36."
}
}

Response example

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

Getting the results

Method

<https://api.capmonster.cloud/getTaskResult>

Use the getTaskResult method to get the captcha solution. Depending on the system load, you will receive a response after a time ranging from 300ms to 6s.

PropertyTypeDescription
answerArrayList in boolean values, true - means that you need to click on the image corresponding to this position.

Example:

{
"errorId":0,
"status":"ready",
"solution": {
"answer": [ false, false, false, false, true, false ]
}
}

Pricing

CostCost per 1000 images, $
Funcaptcha0,15