FunCaptchaTaskProxyless : solving FunCaptcha

This type solving task FunCaptcha. This task will be executed by our service using our own proxy servers.

The result of solving task is a token for the submit form.

Object structure

Parameter

Type

Required

Value

type

String

Yes

FunCaptchaTaskProxyless

websiteURL

String

Yes

Address of a webpage with FunCaptcha

funcaptchaApiJSSubdomain

String

No

A special subdomain of funcaptcha.com, from which the JS captcha widget should be loaded.
Most FunCaptcha installations work from shared domains, so this option is only needed in certain rare cases.

websitePublicKey

String

Yes

FunCaptcha website key.
<div id="funcaptcha" data-pkey="THAT_ONE"></div>

data

String

No

Additional parameter that may be required by Funcaptcha implementation. 
Use this property to send "blob" value as a stringified array. See example how it may look like.
{"\blob\":\"HERE_COMES_THE_blob_VALUE\"}

Request example

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

{ "clientKey":"dce6bcbb1a728ea8d871de6d169a2057", "task": { "type":"FunCaptchaTaskProxyless", "websiteURL":"https://funcaptcha.com/fc/api/nojs/?pkey=69A21A01-CC7B-B9C6-0F9A-E7FA06677FFC", "funcaptchaApiJSSubdomain":"mywebsite-api.funcaptcha.com", "data": "{\"blob\":\"dyXvXANMbHj1iDyz.Qj97JtSqR2n%2BuoY1V%2FbdgbrG7p%2FmKiqdU9AwJ6MifEt0np4vfYn6TTJDJEfZDlcz9Q1XMn9przeOV%2FCr2%2FIpi%2FC1s%3D\"}", "websitePublicKey":"69A21A01-CC7B-B9C6-0F9A-E7FA06677FFC" } }

 

Response example

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

Getting result

Use the method getTaskResult to request answer for FunCaptcha. You will get response within 10 - 30 secs period depending on service workload.

Property

Type

Description

token

String

FunCaptcha token that needs to be substituted into the form.

Example:

{ "errorId":0, "status":"ready", "solution": { "token":"36859d1086acb06e7.08293101|r=ap-southeast-1|metabgclr=%23ffffff|guitextcolor=%23555555|metaiconclr=%23cccccc|meta=3|pk=69A21A01-CC7B-B9C6-0F9A-E7FA06677FFC|injs=https://funcaptcha.com/fc/api/nojs/?pkey=69A21A01-CC7B-B9C6-0F9A-E7FA06677FFC|rid=11|cdn_url=https://cdn.funcaptcha.com/fc|surl=https://funcaptcha.com" } }