All Products
Search
Document Center

Captcha:What is Captcha 2.0

Last Updated:Mar 31, 2026

CAPTCHA 2.0 is Alibaba Cloud's next-generation CAPTCHA service that distinguishes human users from automated programs using simple, secure, and diverse interaction logic. It protects web and mobile applications against bot attacks while minimizing and even preventing network resource abuse by computer programs that simulate human users. This ensures an authentic user experience while enhancing the defense of website resources against access from malicious programs.

Common use cases include account registration, SMS delivery, ticket booking, information queries, free downloads, forum posting, and online voting.

Benefits

CAPTCHA 2.0 improves on CAPTCHA 1.0 in the following ways:

  • All-in-one integration: Integrate once and receive automatic updates to protection capabilities and CAPTCHA types — no code changes required.

  • Multi-dimensional analysis: Analyzes reasoning logic, device data, and interactive behavior models to protect against bot attacks from multiple angles.

  • Broad platform support: Works on web, HTML5, iOS, and Android clients and in WeChat Mini Programs.

  • High availability: Delivers 99.99% availability with built-in disaster recovery.

Supported CAPTCHA types

CAPTCHA 2.0 supports six CAPTCHA types. Choose based on the risk level and acceptable friction for your use case.

CAPTCHA typeHow it works
Invisible CAPTCHAAnalyzes mouse movements, click frequency, and device fingerprint in the background.
One-click CAPTCHAThe user selects the Confirm you are not a robot checkbox. The system verifies identity by analyzing IP address, device fingerprint, and clicking behavior.
Slider CAPTCHAThe user drags a slider to the required position. The system verifies identity by analyzing trajectory characteristics such as speed and jitter.
Puzzle CAPTCHAThe user drags a puzzle piece to the required position. Uses image recognition and trajectory analysis for verification.
Visual reasoning CAPTCHAThe user solves a challenge based on spatial relationships, such as rotating an image or selecting the correct view.
Image restoration CAPTCHAThe user reassembles scrambled image blocks, such as assembling a puzzle or aligning fragments.
验证码形态.png

How it works

CAPTCHA 2.0 uses different verification flows depending on the CAPTCHA type.

Standard verification

This flow applies to slider, puzzle, visual reasoning, one-click, and image restoration CAPTCHA types.

image
  1. The user triggers a CAPTCHA challenge on your business page. The business client requests CAPTCHA resources (such as images and questions) from the CAPTCHA 2.0 server. If the request fails, the error information returned to the business client can be used to troubleshoot the failure.

  2. The user completes the CAPTCHA challenge and the business interaction (such as logon or registration). The business client sends both the CAPTCHA information and the business information to the business server.

  3. The business server calls the VerifyIntelligentCaptcha operation to send a risk verification request to the CAPTCHA 2.0 server.

  4. The CAPTCHA 2.0 server performs risk verification and returns the result to the business server.

  5. The business server processes the result according to your business logic, then returns the verification result and business processing result to the business client.

  6. A notification is displayed on the business page and the business client proceeds with business processing.

If verification fails, the CAPTCHA challenge is re-triggered and the process restarts from step 1.

Sequence diagram:

image

Invisible CAPTCHA verification

Invisible CAPTCHA uses a risk-adaptive flow. The initial steps are the same as standard verification, but step 5 branches based on the detected risk level.

image
  1. The user triggers a CAPTCHA challenge on your business page. The business client requests CAPTCHA resources from the CAPTCHA 2.0 server. If the request fails, the error information returned to the business client can be used to troubleshoot the failure.

  2. The user completes the business interaction (such as logon or registration). The business client sends the invisible CAPTCHA information and business information to the business server.

  3. The business server calls the VerifyIntelligentCaptcha operation to send a risk verification request to the CAPTCHA 2.0 server.

  4. The CAPTCHA 2.0 server performs risk verification and returns the result to the business server.

  5. The business server processes the result:

    • No risk detected: Verification ends. The business server returns the result to the business client and the business interaction is complete.

    • Risk detected: An additional CAPTCHA challenge is triggered:

      1. The user completes a secondary CAPTCHA challenge (slider, puzzle, visual reasoning, or image restoration) and the business interaction. The business client sends the CAPTCHA information and business information to the business server.

      2. The business server calls VerifyIntelligentCaptcha again for risk verification.

      3. The CAPTCHA 2.0 server performs risk verification and returns the result.

      4. The business server processes the result and returns the verification result and business processing result to the business client.

      5. A notification is displayed on the business page and the business client proceeds with business processing.

If verification fails, the CAPTCHA challenge is re-triggered and the process restarts from step i.

Sequence diagram:

image

What's next