Skip to main content
Web slider is a common Geetest captcha type.

1. Create task

Request

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

Response

Success:
Server returns errorId = 0 and a taskId on success. Failure:
Server returns errorId = 1 with the corresponding errorCode.

2. Get task result

Request

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

Response

Success:
Server returns errorId = 0 and status = ready. Read the answer in the solution field.
solution.end is the target end position (in original image pixels) the slider should be dragged to. Compute drag distance by subtracting the slider’s initial x from end.x.
Processing:
Server returns errorId = 0 and status = processing. Wait 2 seconds and retry. Failure:
Server returns errorId = 1 when the task fails.