---
title: "1688 Product Search API (V1)"
description: "Searches 1688 wholesale product listings by keyword. Use it to discover candidate products or suppliers during sourcing and market research."
aiUsagePrompt: true
---

# 1688 Product Search API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/1688/search-item-list/v1\"")'
  :summary='JSON.parse("\"Product Search (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/1688/product-search-v1-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\":\"keyword\",\"in\":\"query\",\"description\":\"Search keyword.\",\"required\":true,\"schema\":{\"type\":\"string\"}}]")'
  :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\":\"1688 search response containing the platform status and available offer or advertisement data.\",\"properties\":{\"code\":{\"type\":\"integer\",\"description\":\"1688 search status code. The outer `code` is the JustOneAPI business code.\"},\"success\":{\"type\":\"boolean\",\"description\":\"Whether 1688 reported successful search processing.\"},\"data\":{\"type\":\"object\",\"description\":\"Result sections of the 1688 search response.\",\"properties\":{\"OFFER\":{\"type\":\"object\",\"description\":\"Offer search results and summary metadata.\",\"properties\":{\"code\":{\"type\":\"integer\",\"description\":\"1688 status code of the offer result section when provided.\"},\"keywords\":{\"type\":\"string\",\"description\":\"Keyword reported in the offer section when provided.\"},\"found\":{\"type\":\"integer\",\"description\":\"Result count reported by 1688. A response can report a positive count while omitting `items`.\"},\"hasMore\":{\"type\":\"boolean\",\"description\":\"Whether 1688 reports further matches. The only search parameter in this V1 endpoint is `keyword`.\"},\"items\":{\"type\":\"array\",\"description\":\"Offer cards in this response. The field may be omitted when no offer cards are returned.\",\"items\":{\"type\":\"object\",\"description\":\"One result card with offer data.\",\"properties\":{\"data\":{\"type\":\"object\",\"description\":\"Offer information on the card.\",\"properties\":{\"offerId\":{\"type\":\"integer\",\"description\":\"1688 offer identifier.\"},\"title\":{\"type\":\"string\",\"description\":\"Offer title shown in search results.\"},\"offerPicUrl\":{\"type\":\"string\",\"description\":\"Product image URL on the offer card.\"},\"odPicUrl\":{\"type\":\"string\",\"description\":\"Additional offer image URL. It can match the card image.\"},\"province\":{\"type\":\"string\",\"description\":\"Province or region shown for the offer.\"},\"city\":{\"type\":\"string\",\"description\":\"City shown for the offer.\"},\"priceInfo\":{\"type\":\"object\",\"description\":\"Pricing information used for the offer display.\",\"properties\":{\"price\":{\"type\":\"string\",\"description\":\"Displayed offer price as text.\"},\"priceInteger\":{\"type\":\"string\",\"description\":\"Integer portion of the price display when provided.\"},\"priceDecimal\":{\"type\":\"string\",\"description\":\"Fractional display fragment including its decimal separator when provided. Concatenate it directly after the integer fragment.\"},\"priceType\":{\"type\":\"string\",\"description\":\"1688 price display type code.\"},\"priceDescription\":{\"type\":\"string\",\"description\":\"Caption accompanying the displayed price when provided.\"}}},\"afterPrice\":{\"type\":\"object\",\"description\":\"Display line shown with the offer price.\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"Display text that can contain a sales-volume label or an abbreviated count.\"}}},\"afterPriceList\":{\"type\":\"array\",\"description\":\"Supplementary display lines for the offer price.\",\"items\":{\"type\":\"object\",\"description\":\"One supplementary display line.\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"Display text when this entry carries a line.\"}}}},\"bookedCount\":{\"type\":\"string\",\"description\":\"1688 booked-count metric as text. The sales display line is reported separately.\"},\"offerRepurchaseRate\":{\"type\":\"string\",\"description\":\"Reported offer repurchase rate as percentage text when available. The string can be empty.\"},\"shop\":{\"type\":\"object\",\"description\":\"Shop display information available for the offer.\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"Shop display name.\"}}},\"shopAddition\":{\"type\":\"object\",\"description\":\"Additional shop and wholesale pricing information.\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"Supplementary display text for the shop.\"},\"quantityPrices\":{\"type\":\"array\",\"description\":\"Wholesale price tiers reported for the offer.\",\"items\":{\"type\":\"object\",\"description\":\"One quantity tier and its quoted price.\",\"properties\":{\"quantity\":{\"type\":\"string\",\"description\":\"Quantity text for this tier. It can include a unit, threshold, or range.\"},\"value\":{\"type\":\"string\",\"description\":\"Price text for this quantity tier.\"}}}},\"tradeService\":{\"type\":\"object\",\"description\":\"Shop service scores reported by 1688.\",\"properties\":{\"compositeNewScore\":{\"type\":\"string\",\"description\":\"Overall shop-service score as display text.\"},\"consultationScore\":{\"type\":\"string\",\"description\":\"Consultation service score as display text.\"},\"logisticsScore\":{\"type\":\"string\",\"description\":\"Logistics service score as display text.\"},\"goodsScore\":{\"type\":\"string\",\"description\":\"Product service score as display text.\"},\"returnScore\":{\"type\":\"string\",\"description\":\"Returns service score as display text.\"},\"disputeScore\":{\"type\":\"string\",\"description\":\"Dispute handling score as display text.\"}}}}},\"businessInspection\":{\"type\":\"boolean\",\"description\":\"Business inspection badge flag reported by 1688.\"},\"factoryInspection\":{\"type\":\"boolean\",\"description\":\"Factory inspection badge flag reported by 1688.\"},\"isP4P\":{\"type\":\"boolean\",\"description\":\"1688 P4P promotion flag attached to the offer card.\"},\"tags\":{\"type\":\"array\",\"description\":\"Display tags attached to the offer card.\",\"items\":{\"type\":\"object\",\"description\":\"One offer-card label.\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"Label text shown on the offer card.\"}}}},\"offerTags\":{\"type\":\"object\",\"description\":\"Service and promotion tags assigned to the offer.\",\"properties\":{\"serviceTags\":{\"type\":\"array\",\"description\":\"Service tag values returned with the offer.\",\"items\":{\"type\":\"string\",\"description\":\"One service tag value.\"}},\"promotionTags\":{\"type\":\"array\",\"description\":\"Promotion tag values returned with the offer.\",\"items\":{\"type\":\"string\",\"description\":\"One promotion tag value.\"}}}},\"offerMiddle\":{\"type\":\"array\",\"description\":\"Additional labels in the body of the offer card.\",\"items\":{\"type\":\"object\",\"description\":\"One label in the offer card body.\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"Displayed label text in the offer card body.\"}}}},\"marketTags\":{\"type\":\"array\",\"description\":\"Market labels shown for the offer when available.\",\"items\":{\"type\":\"object\",\"description\":\"One market label.\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"Market label text when available.\"},\"description\":{\"type\":\"string\",\"description\":\"Additional description for the market label.\"}}}}}}}}}}},\"ADVERTISEMENT\":{\"type\":\"object\",\"description\":\"Advertisement section supplied separately from offer cards.\",\"properties\":{\"data\":{\"type\":\"object\",\"description\":\"Advertisement data when provided.\",\"properties\":{\"cpc\":{\"type\":\"array\",\"description\":\"CPC advertisement entries returned by 1688. The array can be empty.\",\"items\":{\"type\":\"object\",\"description\":\"One advertised offer.\",\"properties\":{\"offerId\":{\"type\":\"integer\",\"description\":\"1688 offer identifier for the advertised listing.\"},\"title\":{\"type\":\"string\",\"description\":\"Offer title in the advertised listing.\"},\"offerPicUrl\":{\"type\":\"string\",\"description\":\"Product image URL in the advertised listing.\"},\"province\":{\"type\":\"string\",\"description\":\"Province or region shown in the advertised listing.\"},\"city\":{\"type\":\"string\",\"description\":\"City shown in the advertised listing.\"},\"priceInfo\":{\"type\":\"object\",\"description\":\"Price display information for the advertised listing.\",\"properties\":{\"price\":{\"type\":\"string\",\"description\":\"Displayed offer price in the advertised listing, as text.\"},\"priceDescription\":{\"type\":\"string\",\"description\":\"Caption accompanying the advertised offer price.\"}}},\"shop\":{\"type\":\"object\",\"description\":\"Shop information in the advertised listing.\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"Shop display name in the advertised listing.\"}}},\"price\":{\"type\":\"string\",\"description\":\"Separate price text reported on the CPC record.\"}}}},\"cpt\":{\"type\":\"array\",\"description\":\"CPT advertisement entries returned by 1688. The array can be empty.\",\"items\":{\"type\":\"object\",\"description\":\"One advertised offer.\",\"properties\":{\"offerId\":{\"type\":\"integer\",\"description\":\"1688 offer identifier for the advertised listing.\"},\"title\":{\"type\":\"string\",\"description\":\"Offer title in the advertised listing.\"},\"offerPicUrl\":{\"type\":\"string\",\"description\":\"Product image URL in the advertised listing.\"},\"province\":{\"type\":\"string\",\"description\":\"Province or region shown in the advertised listing.\"},\"city\":{\"type\":\"string\",\"description\":\"City shown in the advertised listing.\"},\"priceInfo\":{\"type\":\"object\",\"description\":\"Price display information for the advertised listing.\",\"properties\":{\"price\":{\"type\":\"string\",\"description\":\"Displayed offer price in the advertised listing, as text.\"},\"priceDescription\":{\"type\":\"string\",\"description\":\"Caption accompanying the advertised offer price.\"}}},\"shop\":{\"type\":\"object\",\"description\":\"Shop information in the advertised listing.\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"Shop display name in the advertised listing.\"}}}}}}}}}}}}}}}},\"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/1688/search-item-list/v1\"")' />

<p>Searches 1688 wholesale product listings by keyword. Use it to discover candidate products or suppliers during sourcing and market research.</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>keyword</code> | query | <code>string</code> | Yes | - | Search keyword. |

</div>

## Code Samples

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/1688/search-item-list/v1?token=YOUR_API_KEY&keyword=VALUE'
```

```text [🤖 AI Prompt]
I want to use the "Product Search (V1)" API from JustOneAPI.
Base URL: https://api.justoneapi.com.
API Path: /api/1688/search-item-list/v1?token=YOUR_API_KEY&keyword=VALUE
API Endpoint: BASE_URL + /api/1688/search-item-list/v1?token=YOUR_API_KEY&keyword=VALUE
HTTP Method: GET
Authentication: Append the "token" query parameter to the URL.
OpenAPI Definition: https://docs.justoneapi.com/openapi/1688/product-search-v1-en.json

Parameters:
- token (query): Access token for this API service. (Required)
- keyword (query): Search keyword. (Required)

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/1688/search-item-list/v1?token=YOUR_API_KEY&keyword=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/1688/search-item-list/v1?token=YOUR_API_KEY&keyword=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/1688/search-item-list/v1?token=YOUR_API_KEY&keyword=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/1688/search-item-list/v1?token=YOUR_API_KEY&keyword=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/1688/search-item-list/v1?token=YOUR_API_KEY&keyword=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/1688/product-search-v1-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> | 1688 search response containing the platform status and available offer or advertisement data. |
| <code>data.code</code> | <code>integer</code> | 1688 search status code. The outer <code>code</code> is the JustOneAPI business code. |
| <code>data.success</code> | <code>boolean</code> | Whether 1688 reported successful search processing. |
| <code>data.data</code> | <code>object</code> | Result sections of the 1688 search response. |
| <code>data.data.OFFER</code> | <code>object</code> | Offer search results and summary metadata. |
| <code>data.data.OFFER.code</code> | <code>integer</code> | 1688 status code of the offer result section when provided. |
| <code>data.data.OFFER.keywords</code> | <code>string</code> | Keyword reported in the offer section when provided. |
| <code>data.data.OFFER.found</code> | <code>integer</code> | Result count reported by 1688. A response can report a positive count while omitting <code>items</code>. |
| <code>data.data.OFFER.hasMore</code> | <code>boolean</code> | Whether 1688 reports further matches. The only search parameter in this V1 endpoint is <code>keyword</code>. |
| <code>data.data.OFFER.items</code> | <code>array</code> | Offer cards in this response. The field may be omitted when no offer cards are returned. |
| <code>data.data.OFFER.items[]</code> | <code>object</code> | One result card with offer data. |
| <code>data.data.OFFER.items[].data</code> | <code>object</code> | Offer information on the card. |
| <code>data.data.OFFER.items[].data.offerId</code> | <code>integer</code> | 1688 offer identifier. |
| <code>data.data.OFFER.items[].data.title</code> | <code>string</code> | Offer title shown in search results. |
| <code>data.data.OFFER.items[].data.offerPicUrl</code> | <code>string</code> | Product image URL on the offer card. |
| <code>data.data.OFFER.items[].data.odPicUrl</code> | <code>string</code> | Additional offer image URL. It can match the card image. |
| <code>data.data.OFFER.items[].data.province</code> | <code>string</code> | Province or region shown for the offer. |
| <code>data.data.OFFER.items[].data.city</code> | <code>string</code> | City shown for the offer. |
| <code>data.data.OFFER.items[].data.priceInfo</code> | <code>object</code> | Pricing information used for the offer display. |
| <code>data.data.OFFER.items[].data.priceInfo.price</code> | <code>string</code> | Displayed offer price as text. |
| <code>data.data.OFFER.items[].data.priceInfo.priceInteger</code> | <code>string</code> | Integer portion of the price display when provided. |
| <code>data.data.OFFER.items[].data.priceInfo.priceDecimal</code> | <code>string</code> | Fractional display fragment including its decimal separator when provided. Concatenate it directly after the integer fragment. |
| <code>data.data.OFFER.items[].data.priceInfo.priceType</code> | <code>string</code> | 1688 price display type code. |
| <code>data.data.OFFER.items[].data.priceInfo.priceDescription</code> | <code>string</code> | Caption accompanying the displayed price when provided. |
| <code>data.data.OFFER.items[].data.afterPrice</code> | <code>object</code> | Display line shown with the offer price. |
| <code>data.data.OFFER.items[].data.afterPrice.text</code> | <code>string</code> | Display text that can contain a sales-volume label or an abbreviated count. |
| <code>data.data.OFFER.items[].data.afterPriceList</code> | <code>array</code> | Supplementary display lines for the offer price. |
| <code>data.data.OFFER.items[].data.afterPriceList[]</code> | <code>object</code> | One supplementary display line. |
| <code>data.data.OFFER.items[].data.afterPriceList[].text</code> | <code>string</code> | Display text when this entry carries a line. |
| <code>data.data.OFFER.items[].data.bookedCount</code> | <code>string</code> | 1688 booked-count metric as text. The sales display line is reported separately. |
| <code>data.data.OFFER.items[].data.offerRepurchaseRate</code> | <code>string</code> | Reported offer repurchase rate as percentage text when available. The string can be empty. |
| <code>data.data.OFFER.items[].data.shop</code> | <code>object</code> | Shop display information available for the offer. |
| <code>data.data.OFFER.items[].data.shop.text</code> | <code>string</code> | Shop display name. |
| <code>data.data.OFFER.items[].data.shopAddition</code> | <code>object</code> | Additional shop and wholesale pricing information. |
| <code>data.data.OFFER.items[].data.shopAddition.text</code> | <code>string</code> | Supplementary display text for the shop. |
| <code>data.data.OFFER.items[].data.shopAddition.quantityPrices</code> | <code>array</code> | Wholesale price tiers reported for the offer. |
| <code>data.data.OFFER.items[].data.shopAddition.quantityPrices[]</code> | <code>object</code> | One quantity tier and its quoted price. |
| <code>data.data.OFFER.items[].data.shopAddition.quantityPrices[].quantity</code> | <code>string</code> | Quantity text for this tier. It can include a unit, threshold, or range. |
| <code>data.data.OFFER.items[].data.shopAddition.quantityPrices[].value</code> | <code>string</code> | Price text for this quantity tier. |
| <code>data.data.OFFER.items[].data.shopAddition.tradeService</code> | <code>object</code> | Shop service scores reported by 1688. |
| <code>data.data.OFFER.items[].data.shopAddition.tradeService.compositeNewScore</code> | <code>string</code> | Overall shop-service score as display text. |
| <code>data.data.OFFER.items[].data.shopAddition.tradeService.consultationScore</code> | <code>string</code> | Consultation service score as display text. |
| <code>data.data.OFFER.items[].data.shopAddition.tradeService.logisticsScore</code> | <code>string</code> | Logistics service score as display text. |
| <code>data.data.OFFER.items[].data.shopAddition.tradeService.goodsScore</code> | <code>string</code> | Product service score as display text. |
| <code>data.data.OFFER.items[].data.shopAddition.tradeService.returnScore</code> | <code>string</code> | Returns service score as display text. |
| <code>data.data.OFFER.items[].data.shopAddition.tradeService.disputeScore</code> | <code>string</code> | Dispute handling score as display text. |
| <code>data.data.OFFER.items[].data.businessInspection</code> | <code>boolean</code> | Business inspection badge flag reported by 1688. |
| <code>data.data.OFFER.items[].data.factoryInspection</code> | <code>boolean</code> | Factory inspection badge flag reported by 1688. |
| <code>data.data.OFFER.items[].data.isP4P</code> | <code>boolean</code> | 1688 P4P promotion flag attached to the offer card. |
| <code>data.data.OFFER.items[].data.tags</code> | <code>array</code> | Display tags attached to the offer card. |
| <code>data.data.OFFER.items[].data.tags[]</code> | <code>object</code> | One offer-card label. |
| <code>data.data.OFFER.items[].data.tags[].text</code> | <code>string</code> | Label text shown on the offer card. |
| <code>data.data.OFFER.items[].data.offerTags</code> | <code>object</code> | Service and promotion tags assigned to the offer. |
| <code>data.data.OFFER.items[].data.offerTags.serviceTags</code> | <code>array</code> | Service tag values returned with the offer. |
| <code>data.data.OFFER.items[].data.offerTags.serviceTags[]</code> | <code>string</code> | One service tag value. |
| <code>data.data.OFFER.items[].data.offerTags.promotionTags</code> | <code>array</code> | Promotion tag values returned with the offer. |
| <code>data.data.OFFER.items[].data.offerTags.promotionTags[]</code> | <code>string</code> | One promotion tag value. |
| <code>data.data.OFFER.items[].data.offerMiddle</code> | <code>array</code> | Additional labels in the body of the offer card. |
| <code>data.data.OFFER.items[].data.offerMiddle[]</code> | <code>object</code> | One label in the offer card body. |
| <code>data.data.OFFER.items[].data.offerMiddle[].text</code> | <code>string</code> | Displayed label text in the offer card body. |
| <code>data.data.OFFER.items[].data.marketTags</code> | <code>array</code> | Market labels shown for the offer when available. |
| <code>data.data.OFFER.items[].data.marketTags[]</code> | <code>object</code> | One market label. |
| <code>data.data.OFFER.items[].data.marketTags[].text</code> | <code>string</code> | Market label text when available. |
| <code>data.data.OFFER.items[].data.marketTags[].description</code> | <code>string</code> | Additional description for the market label. |
| <code>data.data.ADVERTISEMENT</code> | <code>object</code> | Advertisement section supplied separately from offer cards. |
| <code>data.data.ADVERTISEMENT.data</code> | <code>object</code> | Advertisement data when provided. |
| <code>data.data.ADVERTISEMENT.data.cpc</code> | <code>array</code> | CPC advertisement entries returned by 1688. The array can be empty. |
| <code>data.data.ADVERTISEMENT.data.cpc[]</code> | <code>object</code> | One advertised offer. |
| <code>data.data.ADVERTISEMENT.data.cpc[].offerId</code> | <code>integer</code> | 1688 offer identifier for the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpc[].title</code> | <code>string</code> | Offer title in the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpc[].offerPicUrl</code> | <code>string</code> | Product image URL in the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpc[].province</code> | <code>string</code> | Province or region shown in the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpc[].city</code> | <code>string</code> | City shown in the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpc[].priceInfo</code> | <code>object</code> | Price display information for the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpc[].priceInfo.price</code> | <code>string</code> | Displayed offer price in the advertised listing, as text. |
| <code>data.data.ADVERTISEMENT.data.cpc[].priceInfo.priceDescription</code> | <code>string</code> | Caption accompanying the advertised offer price. |
| <code>data.data.ADVERTISEMENT.data.cpc[].shop</code> | <code>object</code> | Shop information in the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpc[].shop.text</code> | <code>string</code> | Shop display name in the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpc[].price</code> | <code>string</code> | Separate price text reported on the CPC record. |
| <code>data.data.ADVERTISEMENT.data.cpt</code> | <code>array</code> | CPT advertisement entries returned by 1688. The array can be empty. |
| <code>data.data.ADVERTISEMENT.data.cpt[]</code> | <code>object</code> | One advertised offer. |
| <code>data.data.ADVERTISEMENT.data.cpt[].offerId</code> | <code>integer</code> | 1688 offer identifier for the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpt[].title</code> | <code>string</code> | Offer title in the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpt[].offerPicUrl</code> | <code>string</code> | Product image URL in the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpt[].province</code> | <code>string</code> | Province or region shown in the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpt[].city</code> | <code>string</code> | City shown in the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpt[].priceInfo</code> | <code>object</code> | Price display information for the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpt[].priceInfo.price</code> | <code>string</code> | Displayed offer price in the advertised listing, as text. |
| <code>data.data.ADVERTISEMENT.data.cpt[].priceInfo.priceDescription</code> | <code>string</code> | Caption accompanying the advertised offer price. |
| <code>data.data.ADVERTISEMENT.data.cpt[].shop</code> | <code>object</code> | Shop information in the advertised listing. |
| <code>data.data.ADVERTISEMENT.data.cpt[].shop.text</code> | <code>string</code> | Shop display name in the advertised listing. |

</div>

## Response Example

<ApiExampleSection :api='JSON.parse("\"/api/1688/search-item-list/v1\"")' />

