---
title: "Taobao and Tmall Shop Product List API (V5)"
description: "Retrieves products from a Taobao shop by seller ID and shop ID, with optional shop-category filtering, keyword search, sorting, and page-based pagination. Use it to browse a shop catalog or find matching products within a shop."
aiUsagePrompt: true
---

# Taobao and Tmall Shop Product List API \(V5\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/taobao/get-shop-item-list/v5\"")'
  :summary='JSON.parse("\"Shop Product List (V5)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/taobao-and-tmall/shop-product-list-v5-en.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"Access token for this API service.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"sellerId\",\"in\":\"query\",\"description\":\"Taobao seller user ID associated with the shop.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"shopId\",\"in\":\"query\",\"description\":\"Taobao shop ID associated with the seller.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"catId\",\"in\":\"query\",\"description\":\"Shop category ID from Shop Detail. Omit to include all shop categories.\",\"required\":false,\"schema\":{\"type\":\"string\"}},{\"name\":\"keyword\",\"in\":\"query\",\"description\":\"Keyword to search for products within the shop. Omit to list products without a keyword filter.\",\"required\":false,\"schema\":{\"type\":\"string\"}},{\"name\":\"sort\",\"in\":\"query\",\"description\":\"Product sort order.\\n\\nAvailable Values:\\n- `comprehensive`: Comprehensive sorting\\n- `sales`: Sort by sales volume\\n- `new`: Sort by new arrivals, newest first\\n- `price-asc`: Price, lowest first\\n- `price-desc`: Price, highest first\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"comprehensive\",\"description\":\"Sort order for shop product list V5\",\"enum\":[\"comprehensive\",\"sales\",\"new\",\"price-asc\",\"price-desc\"]}},{\"name\":\"page\",\"in\":\"query\",\"description\":\"Page number, starting from 1.\",\"required\":false,\"schema\":{\"type\":\"integer\",\"format\":\"int32\",\"default\":1}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"type\":\"object\",\"description\":\"Taobao shop product results and pagination.\",\"properties\":{\"page\":{\"type\":\"integer\",\"description\":\"Page number reported for the current shop results.\"},\"pageSize\":{\"type\":\"integer\",\"description\":\"Page size reported for the current shop results.\"},\"hasNext\":{\"type\":\"boolean\",\"description\":\"Whether the response reports a subsequent page.\"},\"totalCnt\":{\"type\":\"integer\",\"description\":\"Total number of shop products reported for this response. It can vary between pages.\"},\"data\":{\"type\":\"array\",\"description\":\"Product rows returned for the requested shop page. The array can be empty.\",\"items\":{\"type\":\"object\",\"properties\":{\"item_id\":{\"type\":\"string\",\"description\":\"Taobao product ID, returned as a string.\"},\"title\":{\"type\":\"string\",\"description\":\"Title returned for the product.\"},\"auctionURL\":{\"type\":\"string\",\"description\":\"Taobao or Tmall product page URL. It can be scheme-relative.\"},\"pic_path\":{\"type\":\"string\",\"description\":\"Image URL returned for the product card.\"},\"uprightImg\":{\"type\":\"string\",\"description\":\"Portrait-oriented product image URL, when returned.\"},\"categoryp\":{\"type\":\"string\",\"description\":\"Product category ID path, returned as a space-separated string.\"},\"leafCategory\":{\"type\":\"string\",\"description\":\"Leaf category ID of the product.\"},\"userId\":{\"type\":\"string\",\"description\":\"Taobao seller user ID associated with the product.\"},\"shopTag\":{\"type\":\"string\",\"description\":\"Shop tag returned with the product.\"},\"shopInfo\":{\"type\":\"object\",\"description\":\"Public shop information included with the product card.\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"Display name of the shop.\"},\"url\":{\"type\":\"string\",\"description\":\"Taobao or Tmall shop URL. It can be scheme-relative.\"},\"shopLogo\":{\"type\":\"string\",\"description\":\"URL of the shop logo.\"}}},\"price\":{\"type\":\"string\",\"description\":\"Price returned for the product listing, as text.\"},\"priceShow\":{\"type\":\"object\",\"description\":\"Price and labels displayed on the product card.\",\"properties\":{\"price\":{\"type\":\"string\",\"description\":\"Amount shown in the card&#39;s price display, as text. It can differ from the listing price.\"},\"unit\":{\"type\":\"string\",\"description\":\"Currency indicator shown with the card price.\"},\"preText\":{\"type\":\"string\",\"description\":\"Prefix text for the price display. It can be empty.\"},\"priceDesc\":{\"type\":\"string\",\"description\":\"Additional description shown with the card price. It can be empty.\"}}},\"realSales\":{\"type\":\"string\",\"description\":\"Displayed sales or purchase-volume text. It can include a plus sign.\"},\"hotListInfo\":{\"type\":\"object\",\"description\":\"Ranking information shown on the product card, when provided.\",\"properties\":{\"rank_short_text\":{\"type\":\"string\",\"description\":\"Short ranking label displayed for the product.\"}}},\"tradeInfo\":{\"type\":\"object\",\"description\":\"Additional trade information shown on the product card, when provided.\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"Trade display text returned for the product.\"}}},\"icons\":{\"type\":\"array\",\"description\":\"Badge icons shown on the product card.\",\"items\":{\"type\":\"object\",\"properties\":{\"alias\":{\"type\":\"string\",\"description\":\"Identifier of the badge icon.\"},\"type\":{\"type\":\"string\",\"description\":\"Display type of the badge icon.\"},\"group\":{\"type\":\"string\",\"description\":\"Group identifier of the badge icon.\"},\"text\":{\"type\":\"string\",\"description\":\"Text shown with the badge, when provided.\"}}}},\"iconList\":{\"type\":\"string\",\"description\":\"Comma-separated list of the product card&#39;s badge icon aliases.\"},\"labelOrder\":{\"type\":\"array\",\"description\":\"Order of card label identifiers as returned.\",\"items\":{\"type\":\"string\"}},\"structuredUSPInfo\":{\"type\":\"array\",\"description\":\"Product attributes shown on the card, when provided.\",\"items\":{\"type\":\"object\",\"properties\":{\"propertyName\":{\"type\":\"string\",\"description\":\"Name of the displayed product attribute.\"},\"propertyValueName\":{\"type\":\"string\",\"description\":\"Displayed value of the product attribute.\"}}}},\"skuThumbList\":{\"type\":\"array\",\"description\":\"SKU thumbnails shown on the product card, when available. The array can be empty.\",\"items\":{\"type\":\"object\",\"properties\":{\"skuId\":{\"type\":\"integer\",\"description\":\"SKU ID, returned as an integer.\"},\"skuPropertyText\":{\"type\":\"string\",\"description\":\"SKU variant text displayed on the card.\"},\"skuImageUrl\":{\"type\":\"string\",\"description\":\"Image URL for this SKU thumbnail.\"},\"itemSkuUrl\":{\"type\":\"string\",\"description\":\"Product URL for this SKU. It can be scheme-relative.\"}}}}}}},\"iconStyle\":{\"type\":\"object\",\"description\":\"Badge display styles keyed by icon alias, when provided.\"}},\"required\":[\"data\"]}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"Invalid request parameters or body\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"Invalid or inactive access token\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"Permission denied\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"Request rate or daily quota limit exceeded\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"Internal server error\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"Service temporarily unavailable\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"Global production API (default)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/taobao/get-shop-item-list/v5\"")' />

<p>Retrieves products from a Taobao shop by seller ID and shop ID, with optional shop-category filtering, keyword search, sorting, and page-based pagination. Use it to browse a shop catalog or find matching products within a shop.</p>

## Highlights

::: tip Capability · Shop product coverage
<p>Supports retrieving all products from all Taobao shops through pagination.</p>
:::

::: tip Capability · Search within a shop
<p>Supports searching for products within a shop by keyword.</p>
:::

::: tip Capability · Filter by shop category
<p>Supports filtering products by a shop category ID.</p>
:::

::: warning Guidance · Limited capacity
<p>Capacity is limited. Retry failed requests, and contact an administrator to arrange additional resources for high-volume requests.</p>
:::

## Parameters

<div class="api-doc-table api-doc-table--params">

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | Yes | - | Access token for this API service. |
| <code>sellerId</code> | query | <code>string</code> | Yes | - | Taobao seller user ID associated with the shop. |
| <code>shopId</code> | query | <code>string</code> | Yes | - | Taobao shop ID associated with the seller. |
| <code>catId</code> | query | <code>string</code> | No | - | Shop category ID from Shop Detail. Omit to include all shop categories. |
| <code>keyword</code> | query | <code>string</code> | No | - | Keyword to search for products within the shop. Omit to list products without a keyword filter. |
| <code>sort</code> | query | <code>string</code> | No | <code>comprehensive</code> | Product sort order.<br /><br><br>Available Values:<br /><br>- <code>comprehensive</code>: Comprehensive sorting<br /><br>- <code>sales</code>: Sort by sales volume<br /><br>- <code>new</code>: Sort by new arrivals, newest first<br /><br>- <code>price-asc</code>: Price, lowest first<br /><br>- <code>price-desc</code>: Price, highest first |
| <code>page</code> | query | <code>integer</code> | No | <code>1</code> | Page number, starting from 1. |

</div>

## Code Samples

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/taobao/get-shop-item-list/v5?token=YOUR_API_KEY&sellerId=VALUE&shopId=VALUE'
```

```text [🤖 AI Prompt]
I want to use the "Shop Product List (V5)" API from JustOneAPI.
Base URL: https://api.justoneapi.com.
API Path: /api/taobao/get-shop-item-list/v5?token=YOUR_API_KEY&sellerId=VALUE&shopId=VALUE
API Endpoint: BASE_URL + /api/taobao/get-shop-item-list/v5?token=YOUR_API_KEY&sellerId=VALUE&shopId=VALUE
HTTP Method: GET
Authentication: Append the "token" query parameter to the URL.
OpenAPI Definition: https://docs.justoneapi.com/openapi/taobao-and-tmall/shop-product-list-v5-en.json

Parameters:
- token (query): Access token for this API service. (Required)
- sellerId (query): Taobao seller user ID associated with the shop. (Required)
- shopId (query): Taobao shop ID associated with the seller. (Required)
- catId (query): Shop category ID from Shop Detail. Omit to include all shop categories.
- keyword (query): Keyword to search for products within the shop. Omit to list products without a keyword filter.
- sort (query): Product sort order.

Available Values:
- `comprehensive`: Comprehensive sorting
- `sales`: Sort by sales volume
- `new`: Sort by new arrivals, newest first
- `price-asc`: Price, lowest first
- `price-desc`: Price, highest first
- page (query): Page number, starting from 1.

Return format: safely handle JSON or text according to the actual Content-Type.

Response Handling & Error Codes:
1. Business results should be determined by the "code" field in the response body (code 0 means success).
2. Timeout Recommendation: Set the request timeout to 120 seconds. If 120 seconds is too long for your use case, use at least 60 seconds, but a small number of requests may time out before receiving a result.
3. Business Code Reference:
   - 0: Success
   - 100: Invalid or Inactive Token
   - 301: Collection Failed. Please Retry.
   - 302: Rate Limit Exceeded
   - 303: Daily Quota Exceeded
   - 400: Invalid Parameters
   - 500: Internal Server Error
   - 600: Permission Denied
   - 601: Insufficient Balance
   - 602: Token Budget Exceeded
4. Code 601 means the shared account balance is insufficient. Code 602 means the current API token's own cumulative budget limit has been reached. Token budget limits do not transfer funds out of the shared account balance.

Please help me write a script in my preferred programming language to call this API and handle the response.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # Provided by OpenAPI servers

url = BASE_URL + "/api/taobao/get-shop-item-list/v5?token=YOUR_API_KEY&sellerId=VALUE&shopId=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
const url = BASE_URL + "/api/taobao/get-shop-item-list/v5?token=YOUR_API_KEY&sellerId=VALUE&shopId=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
        final String url = BASE_URL + "/api/taobao/get-shop-item-list/v5?token=YOUR_API_KEY&sellerId=VALUE&shopId=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // Provided by OpenAPI servers

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/taobao/get-shop-item-list/v5?token=YOUR_API_KEY&sellerId=VALUE&shopId=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // Provided by OpenAPI servers
$url = $BASE_URL . '/api/taobao/get-shop-item-list/v5?token=YOUR_API_KEY&sellerId=VALUE&shopId=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/taobao-and-tmall/shop-product-list-v5-en.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[OpenAPI Definition (JSON)]</a>
</div>

## Response Fields

Key fields in a successful response (`code = 0`).

<div class="api-doc-table api-doc-table--response">

| Field path | Type | Description |
| --- | --- | --- |
| <code>data</code> | <code>object</code> | Taobao shop product results and pagination. |
| <code>data.page</code> | <code>integer</code> | Page number reported for the current shop results. |
| <code>data.pageSize</code> | <code>integer</code> | Page size reported for the current shop results. |
| <code>data.hasNext</code> | <code>boolean</code> | Whether the response reports a subsequent page. |
| <code>data.totalCnt</code> | <code>integer</code> | Total number of shop products reported for this response. It can vary between pages. |
| <code>data.data</code> | <code>array</code> | Product rows returned for the requested shop page. The array can be empty. |
| <code>data.data[]</code> | <code>object</code> | - |
| <code>data.data[].item_id</code> | <code>string</code> | Taobao product ID, returned as a string. |
| <code>data.data[].title</code> | <code>string</code> | Title returned for the product. |
| <code>data.data[].auctionURL</code> | <code>string</code> | Taobao or Tmall product page URL. It can be scheme-relative. |
| <code>data.data[].pic_path</code> | <code>string</code> | Image URL returned for the product card. |
| <code>data.data[].uprightImg</code> | <code>string</code> | Portrait-oriented product image URL, when returned. |
| <code>data.data[].categoryp</code> | <code>string</code> | Product category ID path, returned as a space-separated string. |
| <code>data.data[].leafCategory</code> | <code>string</code> | Leaf category ID of the product. |
| <code>data.data[].userId</code> | <code>string</code> | Taobao seller user ID associated with the product. |
| <code>data.data[].shopTag</code> | <code>string</code> | Shop tag returned with the product. |
| <code>data.data[].shopInfo</code> | <code>object</code> | Public shop information included with the product card. |
| <code>data.data[].shopInfo.title</code> | <code>string</code> | Display name of the shop. |
| <code>data.data[].shopInfo.url</code> | <code>string</code> | Taobao or Tmall shop URL. It can be scheme-relative. |
| <code>data.data[].shopInfo.shopLogo</code> | <code>string</code> | URL of the shop logo. |
| <code>data.data[].price</code> | <code>string</code> | Price returned for the product listing, as text. |
| <code>data.data[].priceShow</code> | <code>object</code> | Price and labels displayed on the product card. |
| <code>data.data[].priceShow.price</code> | <code>string</code> | Amount shown in the card's price display, as text. It can differ from the listing price. |
| <code>data.data[].priceShow.unit</code> | <code>string</code> | Currency indicator shown with the card price. |
| <code>data.data[].priceShow.preText</code> | <code>string</code> | Prefix text for the price display. It can be empty. |
| <code>data.data[].priceShow.priceDesc</code> | <code>string</code> | Additional description shown with the card price. It can be empty. |
| <code>data.data[].realSales</code> | <code>string</code> | Displayed sales or purchase-volume text. It can include a plus sign. |
| <code>data.data[].hotListInfo</code> | <code>object</code> | Ranking information shown on the product card, when provided. |
| <code>data.data[].hotListInfo.rank_short_text</code> | <code>string</code> | Short ranking label displayed for the product. |
| <code>data.data[].tradeInfo</code> | <code>object</code> | Additional trade information shown on the product card, when provided. |
| <code>data.data[].tradeInfo.text</code> | <code>string</code> | Trade display text returned for the product. |
| <code>data.data[].icons</code> | <code>array</code> | Badge icons shown on the product card. |
| <code>data.data[].icons[]</code> | <code>object</code> | - |
| <code>data.data[].icons[].alias</code> | <code>string</code> | Identifier of the badge icon. |
| <code>data.data[].icons[].type</code> | <code>string</code> | Display type of the badge icon. |
| <code>data.data[].icons[].group</code> | <code>string</code> | Group identifier of the badge icon. |
| <code>data.data[].icons[].text</code> | <code>string</code> | Text shown with the badge, when provided. |
| <code>data.data[].iconList</code> | <code>string</code> | Comma-separated list of the product card's badge icon aliases. |
| <code>data.data[].labelOrder</code> | <code>array</code> | Order of card label identifiers as returned. |
| <code>data.data[].labelOrder[]</code> | <code>string</code> | - |
| <code>data.data[].structuredUSPInfo</code> | <code>array</code> | Product attributes shown on the card, when provided. |
| <code>data.data[].structuredUSPInfo[]</code> | <code>object</code> | - |
| <code>data.data[].structuredUSPInfo[].propertyName</code> | <code>string</code> | Name of the displayed product attribute. |
| <code>data.data[].structuredUSPInfo[].propertyValueName</code> | <code>string</code> | Displayed value of the product attribute. |
| <code>data.data[].skuThumbList</code> | <code>array</code> | SKU thumbnails shown on the product card, when available. The array can be empty. |
| <code>data.data[].skuThumbList[]</code> | <code>object</code> | - |
| <code>data.data[].skuThumbList[].skuId</code> | <code>integer</code> | SKU ID, returned as an integer. |
| <code>data.data[].skuThumbList[].skuPropertyText</code> | <code>string</code> | SKU variant text displayed on the card. |
| <code>data.data[].skuThumbList[].skuImageUrl</code> | <code>string</code> | Image URL for this SKU thumbnail. |
| <code>data.data[].skuThumbList[].itemSkuUrl</code> | <code>string</code> | Product URL for this SKU. It can be scheme-relative. |
| <code>data.iconStyle</code> | <code>object</code> | Badge display styles keyed by icon alias, when provided. |

</div>

## Response Example

<ApiExampleSection :api='JSON.parse("\"/api/taobao/get-shop-item-list/v5\"")' />

