Skip to content

Repository files navigation

🚀 Taobao Scraper

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

✨ What Can I Get?

  • 🛒 Hundreds of millions of Taobao & Tmall products — full title, price, promotion, pictures, description images, ships-from city, category path and review summary
  • ⭐ What Taobao's 1 billion+ users rate best — the top-rated products for any keyword, with real reviews, review tags and buyer Q&A
  • 🏬 Any shop, official stores included — best sellers, newest products, logo, seller id, opening date and service scores (Pandora's official store lists 767 products)
  • 🗂️ All 107 Taobao categories — plus brand and property filters, search suggestions and English titles with 30-day sold counts

🛒 Example: A Full Taobao Product

{
  "id": "VFI2N0tuMVpudVA4Ymw0MGE5Sy9DQT09",
  "item_id": "539431566629",
  "title": "Pandora潘多拉Moments经典扣银手链小众经典款DIY素链礼物轻奢",
  "is_title_complete": true,
  "link": "https://world.taobao.com/item/VFI2N0tuMVpudVA4Ymw0MGE5Sy9DQT09.htm",
  "type": "tmall",
  "images": ["https://img.alicdn.com/imgextra/bao/upload/O1CN01p0P3Qa1bVlRtmekAo_!!6000000003471-2-yinhe.png", "https://img.alicdn.com/imgextra/i2/2978217349/O1CN01abl6oJ249tpnFUtlF_!!2978217349.jpg"],
  "description_images": ["https://img.alicdn.com/imgextra/i1/2978217349/O1CN01YUISGC249tpnduu9q_!!2978217349.jpg"],
  "pricing": { "price": 728, "original_price": 728, "currency": "CNY", "has_price_range": false },
  "location": "上海",
  "category": { "id": "50013869", "path": [{ "id": "54294512", "name": "饰品" }, { "id": "55176008", "name": "手链" }] },
  "review_count": 20,
  "review_tags": [{ "name": "耐用性好", "count": 1 }, { "name": "外观很好看", "count": 1 }],
  "reviews": [{ "rating": 5, "text": "非常喜欢😘", "variant": "颜色分类:20", "posted_at": "2026-06-21T11:37:00Z" }],
  "shop": {
    "id": "436025246",
    "name": "PANDORA潘多拉官方旗舰店",
    "type": "tmall",
    "opened_at": "2016-08-29T03:37:15Z",
    "product_count": 990,
    "ratings": { "description": 4.9, "service": 4.9, "shipping": 4.9, "overall": 5 }
  }
}

Trimmed for readability.

🚀 Unlimited Free Taobao Data — Get It in 60 Seconds

1️⃣ Clone and install:

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

2️⃣ Start the API:

python run.py

From Asia or Australia, your own connection gets everything. Anywhere else, set TAOBAO_PROXY=http://user:pass@host:port to a residential proxy in Taiwan, or sorts, price ranges, filters and full product details may not come through.

3️⃣ Get your first data:

curl "http://localhost:8000/products/details?product=VFI2N0tuMVpudVA4Ymw0MGE5Sy9DQT09"
{
  "id": "VFI2N0tuMVpudVA4Ymw0MGE5Sy9DQT09",
  "item_id": "539431566629",
  "title": "Pandora潘多拉Moments经典扣银手链小众经典款DIY素链礼物轻奢",
  "link": "https://world.taobao.com/item/VFI2N0tuMVpudVA4Ymw0MGE5Sy9DQT09.htm",
  "type": "tmall",
  "pricing": { "price": 728, "original_price": 728, "currency": "CNY", "has_price_range": false },
  "location": "上海",
  "review_count": 20,
  "reviews": [{ "rating": 5, "text": "非常喜欢😘", "variant": "颜色分类:20", "posted_at": "2026-06-21T11:37:00Z" }],
  "shop": {
    "id": "436025246",
    "name": "PANDORA潘多拉官方旗舰店",
    "seller_id": "2978217349",
    "opened_at": "2016-08-29T03:37:15Z",
    "product_count": 990,
    "ratings": { "description": 4.9, "service": 4.9, "shipping": 4.9, "overall": 5 }
  }
}

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

📚 Endpoints

7 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 Taobao's search box suggests, with refinement words
Search Products /products/search 20 products per keyword, with brand and property filters
Top-Rated Products /products/best A keyword's best-rated products with real reviews and buyer Q&A
Shop Products /shops/products Any shop's products, logo, seller id and service scores
Categories / Category Products /categories/list, /categories/products All 107 categories and the best sellers in each

🔍 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-taobao-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": "VFI2N0tuMVpudVA4Ymw0MGE5Sy9DQT09"},
)
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 Taobao Scraper

Ask Us by Email about Taobao 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

Releases

Packages

Contributors

Languages