---
title: "Tmall API: Chinese brand stores as JSON | Perceptlayer"
description: "Tmall API for Chinese brand stores: product search with prices in CNY, then item details, shop and seller scores as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/tmall
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / Tmall

1 credit per call 2 endpoints 10 datapoints 

# Tmall API

Tmall API for Chinese brand stores: product search with prices in CNY, then item details, shop and seller scores as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

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.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | item\_id string | item\_id\_str string | title string | url url | price object | shop object | category\_id string | images string\[\] | free\_shipping boolean | is\_tmall boolean |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 1082615957972 | cjcxT1FPanpyTTlZeGRMRTgvTGJYdz09 | 【新品現貨】Apple/蘋果 iPhone 18 Pro 2026新款手機官方官網5G全網通全新正品手機 | https://world.taobao.com/item/cjcxT1FPanpyTTlZeGRMRTgvTGJYdz09.htm | {4 fields} | {2 fields} | 1512 | \[1 item\] | false | true |
| 2 | 1081018009486 | VE0rZVBsOE40SjRxWmJmM0R2SzRMQT09 | 【換新補貼 \| 支持淘金幣】Apple/蘋果 iPhone 18 Pro Max 手機 256GB國行正品 支持淘金幣 全國聯保 | https://world.taobao.com/item/VE0rZVBsOE40SjRxWmJmM0R2SzRMQT09.htm | {4 fields} | {2 fields} | 1512 | \[1 item\] | false | true |
| 3 | 1083686096525 | WHFsbUJpYUdzUWtDVmlMS1Ria1NxUT09 | 【12期免息 \| 換新補貼立減4%】Apple/蘋果 iPhone 18 Pro手機官方旗艦店 官方正品全新未拆封 國行正品 | https://world.taobao.com/item/WHFsbUJpYUdzUWtDVmlMS1Ria1NxUT09.htm | {3 fields} | {2 fields} | 1512 | \[1 item\] | false | true |

Recorded from our API · 3 items shown · 10 datapoints per item GET /v1/tmall/search?query=phone

10 datapoints

### Identity

-   item\_id string
-   item\_id\_str string
-   title string
-   category\_id string

### Contact

-   url url

### Reputation

-   images string\[\]

### Price

-   price object

### Other

-   shop object
-   free\_shipping boolean
-   is\_tmall boolean

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/tmall/search?query=phone" \
  -H "X-API-Key: $API_KEY"
```

Tmall · 2 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/tmall/item`](https://perceptlayer.com/apis/tmall/item) | `id` | `item_id` `item_id_str` `title` `url` `images` `location` +8 more | 1 credit |
| [GET `/v1/tmall/search`](https://perceptlayer.com/apis/tmall/search) | `query` +5 optional | `site` `results` `breadcrumb` `limitations` | 1 credit |

Overview

## About the Tmall API

## What you can get

The Tmall API returns product data from Tmall, the brand store marketplace, as JSON through 2 endpoints. Prices are in CNY.

-   **Search:** `search` takes a `query`, with `sort` (default, price\_asc or price\_desc), `min_price`, `max_price`, `page` and `site` (world, sg, my, th, jp or ca).
-   **Items:** `item` takes an `id`, the encoded `item_id_str` from search.

The recorded search for "phone" returns `total_results` (73,131) and `results`, each with `item_id`, `item_id_str`, `title`, `url`, `price` ( `amount`, `currency`, `original` and `discount_label`), `shop` ( `id` and `name`), `category_id`, `images`, `free_shipping` and `is_tmall`. The recorded `item` call for an iPhone 18 Pro Max in the Apple Store flagship shop returns 10,999 CNY, `location`, `sale_price`, `original_price`, the `seller` with its `credit_level` and service scores, and one sample review.

## How a call works

Search, then look up: `GET /v1/tmall/search?query=phone` with your key in the `X-API-Key` header returns each item's `item_id_str`; pass it as `id` to `item`. Every successful call costs 1 credit; failed calls cost nothing.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [Albert Heijn](https://perceptlayer.com/apis/albert-heijn) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [Alibaba](https://perceptlayer.com/apis/alibaba) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo)

Use cases

### Check Tmall prices in CNY for a product across official stores

`Use the Tmall API to check Tmall prices in CNY for a product across official stores` 

### Compare the flagship stores selling one model

`Use the Tmall API to compare the flagship stores selling one model` 

### Track list and promotional prices for an item

`Use the Tmall API to track list and promotional prices for an item` 

### Compare sellers by credit level and service scores

`Use the Tmall API to compare sellers by credit level and service scores` 

FAQ

## Questions

**How much does the Tmall API cost?**

Each successful call costs 1 credit, for both endpoints. Failed calls cost nothing.

**How many results does search return?**

One page: search exposes a single page, without deeper paging or server-side sorting. The recorded search returned 8 items with \`has\_more\` false, though \`total\_results\` reported 73,131.

**What does item leave out?**

Per-SKU prices and stock, the monthly sales count, the full review list and a rating breakdown are not available. \`sale\_price\` is the live promotional price and can differ from the search list price. Prices are in CNY whatever the \`site\`.

**Do I need a Tmall account?**

No. You call this Tmall API with your Perceptlayer key in the \`X-API-Key\` header, with no Tmall login.

**Is this the official Tmall API?**

No. Perceptlayer is an independent service and is not affiliated with Tmall. It returns Tmall data as JSON with a Perceptlayer key, so there is no Tmall developer account, app review or partner approval to get first. It only reads data: if Tmall has an official API and you need to act on your own Tmall account, such as posting, managing orders or reading private data, use that one.

**Should I build a Tmall scraper instead?**

You can, but a Tmall scraper is code you maintain: page changes break it, requests get blocked, and Tmall's terms govern how you collect data. The Tmall API gives you 2 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Tmall API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
