Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Taobao Product Search

Docs da API
https://api.sandbase.ai/v1/api/taobao/search/items

Search Taobao and Tmall products by keyword with titles, prices, images, sales and shop info. Sort by sales or price, filter to Tmall only and by price range.

Preço
$0.028571USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 5 opcionais

Playground

Entrada
Search keyword.
Sort order for the result set.
Whether to filter results to Tmall only.
Minimum price filter (inclusive).
Maximum price filter (inclusive).
Page number for pagination.
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

Taobao Product Search API

Returns a page of Taobao and Tmall product listings that match a keyword. Each item has a title, price, image URLs, a sales band, seller location and shop details. The only required input is keyword.

Use cases

  • Compare prices and sales bands for one product type, such as phone cases, across many shops.
  • Track which shops and sellers rank first for a keyword sorted by sales.
  • Build a catalog of product images and titles for a niche, filtered to Tmall only.
  • Check how many listings match a keyword and which brands, materials and styles appear most often.

Request

curl -X POST "https://api.sandbase.ai/v1/api/taobao/search/items" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "手机壳"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
keywordstringYesSearch keyword.
endPricestringNoMaximum price filter (inclusive).
pageintegerNoPage number for pagination.
sortstringNoSort order for the result set.
startPricestringNoMinimum price filter (inclusive).
tmallbooleanNoWhether to filter results to Tmall only.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "code": "SUCCESS",
  "extraMap": {
    "MtopCostMillis": 91
  },
  "model": {
    "brandList": [
      {
        "brandId": 20796,
        "brandName": "\u0003欧世铭\u0003欧康胜\u0003欧易金\u0002欧潭\u0003欧皇雅\u0003欧雅琪\u0002歌姿\u0003歌朵琪\u0004步止有礼\u0002氏分\u0002汇将\u0002沁缘\u0005泮水洗青竹\u0003活水泉\u0002浩岩\u0006浩鲸智在记录\u0002浪联\u0003海易鸿\u0002涎墨\u0003润源希\u0002润…",
        "count": 0
      }
    ],
    "costMillis": 91,
    "extraMap": {
      "Endpoint": "taobao_item",
      "EndpointHost": "33.78.87.32",
      "WorldsearchIP": "33.44.173.30",
      "WorldsearchName": "worldsearch033044173030.center.na620",
      "afterSearchCostMillis": 0,
      "sp_status": "OK"
    },
    "itemList": [
      {
        "cityEn": "",
        "commentCount": "",
        "discntPriceYuan": 136.0,
        "discntRate": 10000,
        "discntType": "特价秒杀",
        "extraMap": {},
        "fahuoDsr": "490",
        "frontStock": 3587930,
        "fuwuDsr": "488",
        "hasTongkuan": false,
        "hasXiangsi": false,
        "itemGradeAvg": 0.0
      }
    ],
    "page": {
      "nextNo": 2,
      "pageNo": 1,
      "pageSize": 10,
      "prevNo": 1,
      "showBegin": 1,
      "showEnd": 3,
      "totalItems": 48989,
      "totalPages": 4899
    },
    "propertyList": [
      {
        "flag": "qp_commend",
        "pid": 28102,
        "pname": "适用品牌",
        "valueList": [
          {
            "count": 6233,
            "flag": "qp_commend",
            "vid": 30111,
            "vname": "Apple/苹果"
          }
        ]
      }
    ],
    "responseStatus": 0,
    "success": true,
    "traceList": []
  }
}

Response fields

FieldMeaning
model.itemList[].itemIdProduct ID. Use it to look up one product in other Taobao APIs.
model.itemList[].itemName / itemSubNameListing title and the shorter selling-point line under it. The sub name can be empty.
model.itemList[].priceYuanDouble / priceFenList price in yuan, and the same price in fen (13600 fen is 136.0 yuan).
model.itemList[].discntPriceYuan / discntTypeDiscounted price in yuan and the label of the offer, such as 优惠价 or 特价秒杀.
model.itemList[].orderPayUVSales band shown as text, for example 1万+. It is a rounded label, not an exact count.
model.itemList[].picUrlFull / picUrlListFull URL of the main image, and a list of extra image paths for the product.
model.itemList[].shopId / shopName / sellerLevelShop ID, shop name and the seller level number.
model.itemList[].itemLoc / sellerLocProvince and city for the item and for the seller. Either can be an empty string.
model.page.pageNo / pageSize / totalItems / totalPagesCurrent page number, items per page, total matching items and total page count.
model.propertyList[].pname / valueList[].vname / countFilter facets such as brand or material, with the number of matching items for each value.

Notes

  • Request the next page with the page parameter. model.page.nextNo gives the next page number.
  • sort accepts _sale, _bid, bid and _coefp. The default is _sale.
  • Prices in startPrice and endPrice are strings and both limits are inclusive.
  • Pass itemId to Taobao Product Details for one product, or shopId to Taobao Shop Product List for a full shop.

Pricing

$0.028571 per successful call. Failed calls are not charged.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Taobao$0.028571 por chamadaJSON
Taobao$0.021429 por chamadaJSON
Taobao$0.021429 por chamadaJSON
Taobao$0.021429 por chamadaJSON
Taobao$0.028571 por chamadaJSON
Taobao$0.028571 por chamadaJSON

Guias:Best Taobao API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Taobao Product Search?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/taobao/search/items com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Taobao Product Search?

$0.028571 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Taobao Product Search aceita?

Obrigatórios: keyword (string). Opcionais: sort (um de _sale, _bid, bid, _coefp), tmall (boolean), startPrice (string), endPrice (string) e page (integer). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Taobao Product Search retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Taobao ou de uma chave de API?

Não. Taobao Product Search funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Taobao separadamente.