APIs / Marketplaces / Tmall

1 credit per call2 endpoints10 datapointsChecked working 6 Dec 2026

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.

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 OKJSONX-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_idstringitem_id_strstringtitlestringurlurlpriceobjectshopobjectcategory_idstringimagesstring[]free_shippingbooleanis_tmallboolean
11082615957972cjcxT1FPanpyTTlZeGRMRTgvTGJYdz09【新品現貨】Apple/蘋果 iPhone 18 Pro 2026新款手機官方官網5G全網通全新正品手機https://world.taobao.com/item/cjcxT1FPanpyTTlZeGRMRTgvTGJYdz09.htm{4 fields}{2 fields}1512[1 item]falsetrue
21081018009486VE0rZVBsOE40SjRxWmJmM0R2SzRMQT09【換新補貼 | 支持淘金幣】Apple/蘋果 iPhone 18 Pro Max 手機 256GB國行正品 支持淘金幣 全國聯保https://world.taobao.com/item/VE0rZVBsOE40SjRxWmJmM0R2SzRMQT09.htm{4 fields}{2 fields}1512[1 item]falsetrue
31083686096525WHFsbUJpYUdzUWtDVmlMS1Ria1NxUT09【12期免息 | 換新補貼立減4%】Apple/蘋果 iPhone 18 Pro手機官方旗艦店 官方正品全新未拆封 國行正品https://world.taobao.com/item/WHFsbUJpYUdzUWtDVmlMS1Ria1NxUT09.htm{3 fields}{2 fields}1512[1 item]falsetrue

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

10 datapoints

Identity

  • item_idstring
  • item_id_strstring
  • titlestring
  • category_idstring

Contact

  • urlurl

Reputation

  • imagesstring[]

Price

  • priceobject

Other

  • shopobject
  • free_shippingboolean
  • is_tmallboolean

Playground

Run this API

cURLshell
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.

EndpointRequired parametersReturnsCost
GET/v1/tmall/item
id
item_iditem_id_strtitleurlimageslocation+8 more
1 credit
GET/v1/tmall/search
query+5 optional
siteresultsbreadcrumblimitations
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.

MarketplacesJSONRESTMCP

More marketplaces APIs

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.