---
title: "Taobao API: Chinese marketplace data as JSON | Perceptlayer"
description: "Taobao API for Chinese marketplace data: search, item prices in CNY, seller scores, shop catalogues and categories. 1 credit per successful call."
url: https://perceptlayer.com/apis/taobao
---

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

1 credit per call 5 endpoints 10 datapoints 

# Taobao API

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

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

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 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 | 1081525478551 | eHNLbXFpWTZqVFpnUGtNa3BZd0wyUT09 | Apple/蘋果 iPhone 18 Pro | https://world.taobao.com/item/eHNLbXFpWTZqVFpnUGtNa3BZd0wyUT09.htm | {3 fields} | {2 fields} | 1512 | \[1 item\] | false | false |
| 2 | 1082579041881 | NnA1ek1CdXZMRTBpaEE4WUpxeUtnQT09 | Apple/蘋果 iPhone 18 Pro Max | https://world.taobao.com/item/NnA1ek1CdXZMRTBpaEE4WUpxeUtnQT09.htm | {3 fields} | {2 fields} | 1512 | \[1 item\] | false | false |
| 3 | 1083623832870 | S0FEVXJZeTRmL2NpQUNCaGR3TlBLdz09 | 【贈20W充電頭】Apple/蘋果 iPhone 18 Pro Max 手機 | https://world.taobao.com/item/S0FEVXJZeTRmL2NpQUNCaGR3TlBLdz09.htm | {3 fields} | {2 fields} | 1512 | \[1 item\] | false | false |

Recorded from our API · 3 items shown · 10 datapoints per item GET /v1/taobao/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/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.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/taobao/category`](https://perceptlayer.com/apis/taobao/category) | `id` | `site` `results` `limitations` | 1 credit |
| [GET `/v1/taobao/item`](https://perceptlayer.com/apis/taobao/item) | `id` | `item_id` `item_id_str` `title` `url` `images` `location` +8 more | 1 credit |
| [GET `/v1/taobao/search`](https://perceptlayer.com/apis/taobao/search) | `query` +5 optional | `site` `results` `breadcrumb` `limitations` | 1 credit |
| [GET `/v1/taobao/shop`](https://perceptlayer.com/apis/taobao/shop) | `id` | `shop_id` `name` `url` `logo` `seller` `limitations` +1 more | 1 credit |
| [GET `/v1/taobao/suggest`](https://perceptlayer.com/apis/taobao/suggest) | `query` | `suggestions` `is_product_id_source` `limitations` | 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.

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

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