Skip to content

Repository files navigation

🚀 Tmall Scraper

Tmall Scraper is a free and open-source scraper that gets you unlimited detailed Tmall data for free.

✨ What Can I Get?

  • 🛒 Full details of any Tmall product — 76,000+ necklaces alone — full title, price, pictures, description images, category path, payment methods, latest review, review tags, saves and the shop's scores
  • 🔍 Tmall's top 20 for a keyword, sorted 6 ways — price in CNY, HKD & TWD, promotion, selling points, shop rating, saves and feedback counts, plus the brands and properties Tmall lists for it
  • 🏬 Any Tmall store — Xiaomi's has 52M+ followers — logo, location, years on Tmall, exact scores against the industry, business licence and its first 60 products (Pandora's official store lists 763)
  • 📈 Saves & feedback for 50 products in one call — plus what Tmall's own search box suggests, 10 suggestions per keyword

🛒 Example: A Full Tmall Product

{
  "id": "TEJSc0dYRTl0cm5MQk9PRUpVZTF1Zz09",
  "item_id": "612345497006",
  "title": "Pandora潘多拉带桶形链扣蛇骨链925银手链百搭素链轻奢",
  "is_title_complete": true,
  "link": "https://world.taobao.com/item/TEJSc0dYRTl0cm5MQk9PRUpVZTF1Zz09.htm",
  "tmall_link": "https://detail.tmall.com/item.htm?id=612345497006",
  "images": ["https://img.alicdn.com/imgextra/bao/upload/O1CN01Li3rRO1NJUD34LPIV_!!6000000001549-2-yinhe.png", "https://img.alicdn.com/imgextra/i1/2978217349/O1CN01iGgMut249tqFu0sNK_!!2978217349.jpg"],
  "description_images": ["https://img.alicdn.com/imgextra/i2/2978217349/O1CN01ObuKgW249tqGmQH8q_!!2978217349.jpg"],
  "pricing": { "price": 598, "original_price": 598, "currency": "CNY", "has_price_range": false },
  "location": "上海",
  "category": { "id": "50013869", "path": [{ "id": "54294512", "name": "饰品" }, { "id": "55176008", "name": "手链" }] },
  "payment_methods": ["蚂蚁花呗", "信用卡支付", "集分宝"],
  "favorites_count": 9426,
  "feedback_count": 181,
  "review_count": 64,
  "review_tags": [{ "name": "整体效果好", "count": 5 }, { "name": "简约风设计", "count": 2 }],
  "reviews": [{ "rating": 5, "text": "确实很惊艳,一戴上就喜欢上了。", "variant": "颜色分类:银色;手链长度:17cm", "posted_at": "2026-11-06T12:20:00Z" }],
  "shop": {
    "id": "436025246",
    "name": "PANDORA潘多拉官方旗舰店",
    "is_tmall": true,
    "opened_at": "2016-08-29T03:37:15Z",
    "product_count": 986,
    "ratings": { "description": 4.9, "service": 4.9, "shipping": 4.9, "overall": 5 }
  }
}

Trimmed for readability.

🚀 Unlimited Free Tmall Data — Get It in 60 Seconds

1️⃣ Clone and install:

git clone https://github.com/omkarcloud/tmall-scraper
cd tmall-scraper
python -m pip install -r requirements.txt

2️⃣ Start the API:

python run.py

Your own connection gets shops, search, suggestions and stats. For sorted lists and full product titles, set TMALL_PROXY=http://user:pass@host:port to a residential proxy in Taiwan.

3️⃣ Get your first data:

curl "http://localhost:8000/products/details?product=TEJSc0dYRTl0cm5MQk9PRUpVZTF1Zz09"
{
  "id": "TEJSc0dYRTl0cm5MQk9PRUpVZTF1Zz09",
  "item_id": "612345497006",
  "title": "Pandora潘多拉带桶形链扣蛇骨链925银手链百搭素链轻奢",
  "link": "https://world.taobao.com/item/TEJSc0dYRTl0cm5MQk9PRUpVZTF1Zz09.htm",
  "tmall_link": "https://detail.tmall.com/item.htm?id=612345497006",
  "pricing": { "price": 598, "original_price": 598, "currency": "CNY", "has_price_range": false },
  "location": "上海",
  "favorites_count": 9426,
  "review_count": 64,
  "reviews": [{ "rating": 5, "text": "确实很惊艳,一戴上就喜欢上了。", "variant": "颜色分类:银色;手链长度:17cm", "posted_at": "2026-11-06T12:20:00Z" }],
  "shop": {
    "id": "436025246",
    "name": "PANDORA潘多拉官方旗舰店",
    "seller_id": "2978217349",
    "opened_at": "2016-08-29T03:37:15Z",
    "product_count": 986,
    "ratings": { "description": 4.9, "service": 4.9, "shipping": 4.9, "overall": 5 }
  }
}

All 6 endpoints are now live at http://localhost:8000.

📚 Endpoints

6 endpoints cover everything you need.

Endpoint Path Returns
Product Details /products/details The whole product in one call: price, pictures, reviews, shop scores
Search Suggestions /products/suggestions What Tmall's search box suggests for any text
Search Products /products/search The top 20 products per keyword, sorted 6 ways, with brand facets
Product Stats /products/stats Saves and feedback counts for 50 products in one call
Shop Details / Shop Products /shops/details, /shops/products Any store's followers, exact scores and first 60 products

🔍 Exploring Parameters

The same API is published on RapidAPI, and its playground is the easiest place to try parameters and see raw responses. Once a request looks right, run it locally for unlimited free data.

  1. Subscribe to the free plan — 1,000 calls/month, no credit card.
  2. Try the endpoints in the playground — every param is pre-filled, so you see real data in one click.
  3. Copy the generated code and replace https://best-tmall-scraper-free-1000-calls.p.rapidapi.com with http://localhost:8000. It will now run against your local API.
import requests

# generated by the playground, host swapped for the local API
response = requests.get(
    "http://localhost:8000/products/details",
    params={"product": "TEJSc0dYRTl0cm5MQk9PRUpVZTF1Zz09"},
)
print(response.json())

💬 Have Questions? We Have Answers.

You're a developer — we know how hard completing a project can be. So we offer full support: just message us and we'll reply ✅ with a solution within 1 working day.

Message Us on WhatsApp about Tmall Scraper

Ask Us by Email about Tmall Scraper

⚡ Popular Scrapers by Omkar Cloud

⭐ Love It? Star It ⭐!

Star the repo ⭐ and become my star hero!

It's just 1 click, but it means the world to me.

Star us on GitHub