✨ NoCaptcha v2 is here — fresh look, API v2 & agentic solving.Read the changelog →
Image Tasks

TikTok

Solve TikTok captchas with the NoCaptchaAI API.

Create a task

POST https://api.nocaptchaai.com/createTask

Circle / Rotate-slide captcha

{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "TiktokClassification",
    "images": ["base64-outer-ring-image"],
    "examples": ["base64-inner-target-image"],
    "question": "tiktok_slide:Rotate the image to the correct angle",
    "websiteURL": "https://example.com"
  }
}

Click captcha

{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "TiktokClassification",
    "images": ["base64-single-image"],
    "examples": [],
    "question": "tiktok_click:Select all matching images",
    "websiteURL": "https://example.com"
  }
}

Get the result

// Circle — angles to rotate the dial:
{ "errorId": 0, "solution": { "slide": [[45], [67]] } }

// Click — per-image solution + original size:
{
  "errorId": 0,
  "solution": [
    { "solution": [[120, 90], [300, 45]], "size": [720, 405] }
  ]
}
  • Circle: each angle in solution.slide is converted to a pixel distance and the slider is dragged.
  • Click: solution[0].solution is a list of [x, y] points. solution[0].size is [height, width] of the original image; points are scaled to the rendered size.

Code example

import requests
API_KEY = "YOUR_API_KEY"; BASE = "https://api.nocaptchaai.com"
res = requests.post(f"{BASE}/createTask", json={
    "clientKey": API_KEY,
    "task": {
        "type": "TiktokClassification",
        "images": ["base64-outer-ring-image"],
        "examples": ["base64-inner-target-image"],
        "question": "tiktok_slide:Rotate the image to the correct angle",
        "websiteURL": "https://example.com"
    }
}).json()
print(res)
const API_KEY = "YOUR_API_KEY", BASE = "https://api.nocaptchaai.com";
const res = await fetch(`${BASE}/createTask`, {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    clientKey: API_KEY,
    task: {
      type: "TiktokClassification",
      images: ["base64-outer-ring-image"],
      examples: ["base64-inner-target-image"],
      question: "tiktok_slide:Rotate the image to the correct angle",
      websiteURL: "https://example.com"
    }
  })
}).then(r => r.json());
console.log(res);
curl -X POST https://api.nocaptchaai.com/createTask \
  -H "Content-Type: application/json" \
  -d '{
    "clientKey": "YOUR_API_KEY",
    "task": {
      "type": "TiktokClassification",
      "images": ["base64-outer-ring-image"],
      "examples": ["base64-inner-target-image"],
      "question": "tiktok_slide:Rotate the image to the correct angle",
      "websiteURL": "https://example.com"
    }
  }'

Next steps

On this page

Content-Length: 0