---
title: "Taobao API: Search | Perceptlayer"
description: "Search from Taobao as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/taobao/search
---

[APIs](https://perceptlayer.com/apis) / [Taobao](https://perceptlayer.com/apis/taobao) / Search

# Taobao: Search

Search from Taobao as JSON. 1 credit per successful call.

GET `/v1/taobao/search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 200 characters |
| `page` | integer | Optional | Any |
| `sort` | string | Optional | default, price\_asc, price\_desc |
| `min_price` | number | Optional | Any |
| `max_price` | number | Optional | Any |
| `site` | string | Optional | world, sg, my, th, jp, ca |

## Example request

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.

[Run this endpoint in the playground](https://perceptlayer.com/apis/taobao?try=search#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `site` | string |
| `results` | object\[\] |
| `breadcrumb` | object\[\] |
| `limitations` | string\[\] |
