Skip to content
Captcha OCR

Supported image formats and limits

Send the captcha image as base64 in the image field. The type is detected from the bytes, not from the file name. A data:image/…;base64, prefix is accepted. Line breaks in the base64 are not.

Accepted

Limits

A file that is empty, tiny, or not one of those formats comes back as invalid_image. That call is not charged.

What to crop

Send the captcha, not the whole form. A screenshot that includes the words “Enter captcha” is read as letters. In numeric mode those letters can fold into extra digits. If the page never exposes an image, there is nothing to crop. See which captchas are an image.

What this does not accept

Field names and errors are in the API guide.