Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Type

Required

Possible values

Description

type

String

yes

ComplexImageTask

Specifies the task object type

class

String

yes

recaptcha

Specifies the task object class

imageUrls

Array

yes (if imagesBase64 is not filled)

[ “https://i.postimg.cc/yYjg75Kv/img1.jpg” ]

Single image 4x4, 3x3 or a new 1x1 captcha part (in an array).

imagesBase64

Array

yes (if imageUrls is not filled)

[ “/9j/4AAQSkZJRgABAQEAAAAAAAD…” ]

Single image 4x4, 3x3 or a new 1x1 captcha part in base64 format (in an array).

metadata.Grid

String

yes

4x4, 3x3, 1x1

Image grid size

metadata.TaskDefinition

String

yes (if metadata.Task is not filled)

/m/015qff and others

Technical value that defines the task type

How to get TaskDefinition

The data can be found in responses to "/recaptcha/{recaptchaApi}/reload" or "/recaptcha/{recaptchaApi}/userverify" requests, where recaptchaApi is "enterprise" or "api2" depending on the Recaptcha type. The response contains json, in which one can take a list of TaskDefinitions for loaded captchas.

metadata.Task

String

yes (if metadata.TaskDefinition is not filled)

Click on traffic lights and others

Task text (in English)

userAgent

String

no

-

The browser User-Agent to use when loading images if links were passed in imageUrls. It is required to use a modern browser signature, otherwise Google will return an error asking for a browser update.

websiteURL

String

no

-

URL of the page where the captcha is solved

...