...
Request format:POST
application/json
Request Parameters
Parameters | Type | Required | Description |
---|---|---|---|
clientKey | string | true | Account client key, which can be found in the personal center |
type | string | true | Task type: FuncaptchaTaskProxyless |
websiteURL | string | true | Website url using Funcaptcha, usually a fixed value |
websiteKey | string | true | Funcaptcha site key, a fixed value |
Request Example
Code Block |
---|
POST https://api.ez-captcha.com/createTask Content-Type: application/json { "clientKey": "7e5ffc29e3354a19991002f2a19978bb696679", "task": { "websiteURL": "https://signup.live.com/signup2", "websiteKey": "B7D8911C-5CC8-A9A3-35B0-554ACEE604DA", "type": "FuncaptchaTaskProxyless" } } |
...
Code Block |
---|
POST https://api.ez-captcha.com/getTaskResult Content-Type: application/json { "clientKey":"YOUR_API_KEY", "taskId": "TASKID OF CREATETASK" //TaskID created by createTask api } |
响应结果
Parameter | Type | Description |
---|---|---|
errorId | Integer | Error message: 0 - no error, 1 - error |
errorCode | string | Error code, click here to view all error list |
errorDescription | string | Detailed error description |
status |
string | processing - task is in progress, please try again in 1 seconds ready - task is complete, find the result in the solution parameter | |
solution | Object | The recognition result will be different for different types of captcha. For Funcaptcha, the result is token in the object. |
solution.token | string | Recognition result: token value, used for POST or simulate d submission to the target website. It is recommended to use immediately |
Response Example
Code Block |
---|
{ "errorId": 0, "solution": { "token": "03AGdBq25SxXT-pmSeBXjzScW-EiocHwwpwqtk1QXlJnGnU......" }, "status": "ready" } |
...