---
title: "Tmall API: Search | Perceptlayer"
description: "Search from Tmall as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/tmall/search
---

[APIs](https://perceptlayer.com/apis) / [Tmall](https://perceptlayer.com/apis/tmall) / Search

# Tmall: Search

Search from Tmall as JSON. 1 credit per successful call.

GET `/v1/tmall/search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 200 characters |
| `page` | integer | Optional | Any |
| `sort` | string | Optional | default, price\_asc, price\_desc |
| `min_price` | number | Optional | Any |
| `max_price` | number | Optional | Any |
| `site` | string | Optional | world, sg, my, th, jp, ca |

## Example request

Tmall

GET /v1/tmall/search?query=phone 

```
{
  "success": true,
  "data": {
    "query": "phone",
    "site": "world",
    "page": 1,
    "sort": "default",
    "results": [
      {
        "item_id": "1082615957972",
        "item_id_str": "cjcxT1FPanpyTTlZeGRMRTgvTGJYdz09",
        "title": "【新品現貨】Apple/蘋果 iPhone 18 Pro 2026新款手機官方官網5G全網通全新正品手機",
        "url": "https://world.taobao.com/item/cjcxT1FPanpyTTlZeGRMRTgvTGJYdz09.htm",
        "price": {
          "amount": 9999,
          "currency": "CNY",
          "original": 9999,
          "discount_label": "優惠價"
        },
        "shop": {
          "id": "67097224",
          "name": "中國移動天貓手機官方旗艦店"
        },
        "category_id": "1512",
        "images": [
          "https://img.alicdn.com/imgextra/O1CN01nV6V2K82gWD1chua_!!6000000000434-2-yinhe.png"
        ],
        "free_shipping": false,
        "is_tmall": true
      },
      {
        "item_id": "1081018009486",
        "item_id_str": "VE0rZVBsOE40SjRxWmJmM0R2SzRMQT09",
        "title": "【換新補貼 | 支持淘金幣】Apple/蘋果 iPhone 18 Pro Max 手機 256GB國行正品 支持淘金幣 全國聯保",
        "url": "https://world.taobao.com/item/VE0rZVBsOE40SjRxWmJmM0R2SzRMQT09.htm",
        "price": {
          "amount": 21499,
          "currency": "CNY",
          "original": 21499,
          "discount_label": "優惠價"
        },
        "shop": {
          "id": "319166369",
          "name": "天貓校園教育官方旗艦店"
        },
        "category_id": "1512",
        "images": [
          "https://img.alicdn.com/imgextra/i4/2212471406095/O1CN01aGVAHDoZXOD1chua_!!4611686018427387407-2-item_pic.png"
        ],
        "free_shipping": false,
        "is_tmall": true
      },
      {
        "item_id": "1083686096525",
        "item_id_str": "WHFsbUJpYUdzUWtDVmlMS1Ria1NxUT09",
        "title": "【12期免息 | 換新補貼立減4%】Apple/蘋果 iPhone 18 Pro手機官方旗艦店  官方正品全新未拆封 國行正品",
        "url": "https://world.taobao.com/item/WHFsbUJpYUdzUWtDVmlMS1Ria1NxUT09.htm",
        "price": {
          "amount": 9999,
          "currency": "CNY",
          "original": 9999
        },
        "shop": {
          "id": "319166369",
          "name": "天貓校園教育官方旗艦店"
        },
        "category_id": "1512",
        "images": [
          "https://img.alicdn.com/imgextra/i4/2212471406095/O1CN01XThJTeeNmdL1chua_!!4611686018427387407-2-item_pic.png"
        ],
        "free_shipping": false,
        "is_tmall": true
      }
    ],
    "count": 7,
    "total_results": 69886,
    "breadcrumb": [
      {
        "name": "首頁",
        "url": "https://world.taobao.com/"
      },
      {
        "name": "phone"
      }
    ],
    "has_more": false,
    "limitations": [
      "The logged-out catalogue exposes one page only. Page depth and server-side sorting are unavailable.",
      "Suggestions are autocomplete keywords, not product ids.",
      "Logged-out search does not publish seller, location or monthly sales volume. All prices are CNY on every storefront."
    ]
  },
  "meta": {
    "endpoint_family": "tmall_search",
    "request_id": "req_85e7ad4c27dc4a48845658bfd56577bf",
    "credits_charged": 1,
    "credits_remaining": 4857
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/tmall?try=search#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `site` | string |
| `results` | object\[\] |
| `breadcrumb` | object\[\] |
| `limitations` | string\[\] |
