Skip to main content
Selecting two matching 3D objects on the web is a common Tiktok challenge. The user must click two 3D objects with the same shape inside a background image.
Tiktok 3D Select Object captcha

Example Tiktok 3D Select Object captcha

1. Create task

Request

POST https://api.omocaptcha.com/v2/createTask
widthView and heightView are the rendered dimensions of the image on the page, not the original image size. Use the browser’s Inspect element tool to get the correct values.

Response

Success:
The server returns errorId = 0 and the taskId on success. Failure:
The server returns errorId = 1 with an errorCode. See Error codes for details.

2. Get task result

Request

POST https://api.omocaptcha.com/v2/getTaskResult

Response

Success:
The server returns errorId = 0 and status = ready. Read the result from solution:
  • pointA — coordinates of the first object (x, y), relative to the widthView/heightView you sent.
  • pointB — coordinates of the second object.
Click both points on the image to complete the captcha. Processing:
The server returns status = processing. Wait ~2 seconds and call getTaskResult again. Failure:
The server returns errorId = 1 and status = fail.