APIs / Marketplaces / Taobao

1 credit per call5 endpoints10 datapointsChecked working 6 Dec 2026

Taobao API

Taobao API for Chinese marketplace data: search, item prices in CNY, seller scores, shop catalogues and categories. 1 credit per successful call.

Taobao
GET/v1/taobao/search?query=phone
{
  "success": true,
  "data": {
    "query": "phone",
    "site": "world",
    "page": 1,
    "sort": "default",
    "results": [
      {
        "item_id": "1081525478551",
        "item_id_str": "eHNLbXFpWTZqVFpnUGtNa3BZd0wyUT09",
        "title": "Apple/蘋果 iPhone 18 Pro",
        "url": "https://world.taobao.com/item/eHNLbXFpWTZqVFpnUGtNa3BZd0wyUT09.htm",
        "price": {
          "amount": 9999,
          "currency": "CNY",
          "original": 9999
        },
        "shop": {
          "id": "107922698",
          "name": "Apple Store 官方旗艦店"
        },
        "category_id": "1512",
        "images": [
          "https://img.alicdn.com/imgextra/O1CN01K07O05Uz4nH1chua_!!6000000000091-2-yinhe.png"
        ],
        "free_shipping": false,
        "is_tmall": false
      },
      {
        "item_id": "1082579041881",
        "item_id_str": "NnA1ek1CdXZMRTBpaEE4WUpxeUtnQT09",
        "title": "Apple/蘋果 iPhone 18 Pro Max",
        "url": "https://world.taobao.com/item/NnA1ek1CdXZMRTBpaEE4WUpxeUtnQT09.htm",
        "price": {
          "amount": 10999,
          "currency": "CNY",
          "original": 10999
        },
        "shop": {
          "id": "107922698",
          "name": "Apple Store 官方旗艦店"
        },
        "category_id": "1512",
        "images": [
          "https://img.alicdn.com/imgextra/O1CN01MLsE4VlUqVD1chua_!!6000000000149-2-yinhe.png"
        ],
        "free_shipping": false,
        "is_tmall": false
      },
      {
        "item_id": "1083623832870",
        "item_id_str": "S0FEVXJZeTRmL2NpQUNCaGR3TlBLdz09",
        "title": "【贈20W充電頭】Apple/蘋果 iPhone 18 Pro Max 手機",
        "url": "https://world.taobao.com/item/S0FEVXJZeTRmL2NpQUNCaGR3TlBLdz09.htm",
        "price": {
          "amount": 10999,
          "currency": "CNY",
          "original": 10999
        },
        "shop": {
          "id": "433656060",
          "name": "Apple授權專營店"
        },
        "category_id": "1512",
        "images": [
          "https://img.alicdn.com/imgextra/i3/2213124066374/O1CN016u9VvGSThlF1chua_!!4611686018427382854-0-item_pic.jpg"
        ],
        "free_shipping": false,
        "is_tmall": false
      }
    ],
    "count": 20,
    "total_results": 69851,
    "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": "search",
    "request_id": "req_43f7f14d51994af59e7ba22e7cafc7a1",
    "credits_charged": 1,
    "credits_remaining": 4862
  }
}
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
11081525478551eHNLbXFpWTZqVFpnUGtNa3BZd0wyUT09Apple/蘋果 iPhone 18 Prohttps://world.taobao.com/item/eHNLbXFpWTZqVFpnUGtNa3BZd0wyUT09.htm{3 fields}{2 fields}1512[1 item]falsefalse
21082579041881NnA1ek1CdXZMRTBpaEE4WUpxeUtnQT09Apple/蘋果 iPhone 18 Pro Maxhttps://world.taobao.com/item/NnA1ek1CdXZMRTBpaEE4WUpxeUtnQT09.htm{3 fields}{2 fields}1512[1 item]falsefalse
31083623832870S0FEVXJZeTRmL2NpQUNCaGR3TlBLdz09【贈20W充電頭】Apple/蘋果 iPhone 18 Pro Max 手機https://world.taobao.com/item/S0FEVXJZeTRmL2NpQUNCaGR3TlBLdz09.htm{3 fields}{2 fields}1512[1 item]falsefalse

Recorded from our API · 3 items shown · 10 datapoints per itemGET /v1/taobao/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/taobao/search?query=phone" \
  -H "X-API-Key: $API_KEY"

Taobao · 5 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/taobao/category
id
siteresultslimitations
1 credit
GET/v1/taobao/item
id
item_iditem_id_strtitleurlimageslocation+8 more
1 credit
GET/v1/taobao/search
query+5 optional
siteresultsbreadcrumblimitations
1 credit
GET/v1/taobao/shop
id
shop_idnameurllogosellerlimitations+1 more
1 credit
GET/v1/taobao/suggest
query
suggestionsis_product_id_sourcelimitations
1 credit

Overview

About the Taobao API

What you can get

The Taobao API returns marketplace data from Taobao as JSON through 5 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). suggest takes a query and returns autocomplete keywords.
  • Categories: category takes a category id (such as 1512, phones).
  • Items: item takes an id, the encoded item_id_str from search.
  • Shops: shop takes a shop id.

The recorded search for "phone" returns total_results (71,363) and results, each with item_id, item_id_str, title, url, price (amount, currency and original), shop (id and name), category_id, images, free_shipping and is_tmall. The recorded item call for an iPhone 18 Pro Max at 10,999 CNY adds location, sale_price, original_price, the shop, the seller with its credit_level, item count and service scores, one sample review in rating, and services.

How a call works

Search, then look up: GET /v1/taobao/search?query=phone with your key in the X-API-Key header returns each item's item_id_str and its shop.id. Pass item_id_str as id to item, and the shop id to shop for that shop's product list. Every successful call costs 1 credit; failed calls cost nothing.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Check Taobao prices in CNY for a product across shops

Use the Taobao API to check Taobao prices in CNY for a product across shops

Compare sellers by credit level and service scores

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

List a shop's products and prices

Use the Taobao API to list a shop's products and prices

Browse a category such as phones for current listings

Use the Taobao API to browse a category such as phones for current listings

FAQ

Questions

How much does the Taobao API cost?

Each successful call costs 1 credit, for every endpoint. Failed calls cost nothing.

How many results does search return?

One page. The recorded responses list their own limits: search exposes one page only, without deeper paging or server-side sorting, and has no seller location or monthly sales volume. The recorded search returned 20 items with `has_more` false.

What does item leave out?

Per-SKU prices and stock, the monthly sales count and the full review list are not available; `rating` holds a sample review. `sale_price` is the live promotional price and can differ from the search list price. All prices are in CNY whatever the `site`.

Do I need a Taobao account?

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

Is this the official Taobao API?

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

Should I build a Taobao scraper instead?

You can, but a Taobao scraper is code you maintain: page changes break it, requests get blocked, and Taobao's terms govern how you collect data. The Taobao API gives you 5 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 Taobao API with 100 free credits

No credit card. Failed calls are never billed.