Launched Temu captcha solver

How to solve and bypass Temu captcha

We’ve added Temu support — you can now solve Temu via our API. Submit the site data, receive the solution, and automate workflows on target sites.

If you have ever tried to automate interactions with Temu, you've probably run into its captchas.

They come in different types — for example, icon-based (Temu Icon) or line-based (Temu Line). We already supports solving these captchas.

How to solve and bypass Temu Line captcha

Temu Line — a captcha where you need to align lines on the image.

Temu Line

Submit a task to a solver service via the API.

  • TemuImageTask - we use the image (image in base64 format) and parts - images of the response parts that need to be moved.
    You need to get all the images and convert them to Base64-encoded strings.

TemuCaptchaTask task type specification

Property Type Required Description
type String Yes Task type:
TemuCaptchaTask
image String Yes Main background image as base64-encoded string
parts Array Yes An array of movable image pieces in base64 format

Request examples

Method: createTask
API endpoint: https://api.2captcha.com/createTask

TemuImageTask

json Copy
{
    "clientKey": "YOUR_API_KEY",
    "task": {
        "type":"TemuImageTask",
        "image":"/9j/4AAQSkZJRg......",
        "parts":[
            "part1_b64",
            "part2_b64",
            "part3_b64"
        ]
    }
}

The query will return the ID of your captcha, which should be used to get the result.

json Copy
{
   "errorId": 0, 
   "taskId": 80306543329
}

Response example

Method: getTaskResult
API endpoint: https://api.2captcha.com/getTaskResult

json Copy
{
    "cost": "0.0012",
    "createTime": 1754563182,
    "endTime": 1754563190,
    "errorId": 0,
    "ip": "46.53.232.76",
    "solution": {
        "coordinates": [
            {
                "x": 155,
                "y": 358
            },
            {
                "x": 152,
                "y": 153
            },
            {
                "x": 251,
                "y": 333
            }
        ]
    },
    "solveCount": 1,
    "status": "ready"
}

Use the received coordinates to position the image pieces correctly.

How to solve and bypass Temu Icon captcha

Submitting Temu Icon is almost the same — you just need to prepare images in the required format.

In this article we'll show how to submit a TEMU CAPTCHA image (Icon type) for solving via the API — with example requests in Python and explanations.

All you need to do is send the main image and the fragments in an API request, and you'll get back the coordinates of where to “click” to pass the check.

For Temu Icon you need:

  1. The main captcha image — in its original size (recommended: 745×749 px)
  2. Three fragments (icons) that should be matched to parts of the main image — each 167×167 px
  3. All images must be encoded in base64

Example request

Create the task using createTask, same as other captcha types:

python Copy
data = {
    "clientKey": my_key,
    "task": {
        "type": "TemuImageTask",
        "image": img_b64,
        "parts": [
            part1_b64,
            part2_b64,
            part3_b64,
        ]
    }
}

response = requests.post("https://api.2captcha.com/createTask", json=data).json()
print(response)

After receiving the taskId, wait a few seconds (about 8–10) and then request the result:

python Copy
if response['errorId'] == 0:
    time.sleep(9)
    data = {
        "clientKey": my_key,
        "taskId": response['taskId']
    }
    result = requests.post("https://api.2captcha.com/getTaskResult", json=data).json()
    pprint(result)

Example response

An example of a successful task result:

python Copy
{
 'cost': '0.0012',
 'createTime': 1761984461,
 'endTime': 1761984465,
 'errorId': 0,
 'ip': '151.249.214.244',
 'solution': {
     'coordinates': [
         {'x': 438, 'y': 305},
         {'x': 12, 'y': 518},
         {'x': 171, 'y': 23}
     ]
 },
 'solveCount': 1,
 'status': 'ready'
}

How to interpret the coordinates

The response returns coordinates of the top-left corners of the found fragments, in the same order they were sent.

To emulate a click on the center of an element, apply the appropriate offset to those coordinates.

How to interpret the coordinates

Simply send the main image and three fragments encoded in base64, set the task type to TemuImageTask, and within a few seconds you'll receive the coordinates ready for clicking.

Summary

Solving Temu requires a bypass service. See the documentation for details: API for solving Temu.


Need help? Open a ticket and our specialist will respond quickly.