Polyv Help Center

Help Center

Query Channel Product List Click Statistics

Updated: 2026-07-13 11:28:48

API Description

1、分页查询直播频道购物袋展开次数
2、接口支持https协议

API URL

http://api.polyv.net/live/v4/channel/product/click/product-list

Online API Call

Request Method

GET

API Constraints

  1. The API supports both HTTP and HTTPS. HTTPS is recommended to ensure API security. API calls have frequency limits. See details

Request Parameter Description

Parameter Required Type Description
appId true String Account appId See details for obtaining secret key
timestamp true Long Current 13-digit millisecond timestamp, valid for 3 minutes
sign true String Signature, a 32-character uppercase MD5 value. The appSecret key used to generate the signature is critical for communication data security. It must not be saved or used directly on the client side. All APIs must be called through the customer's own server to relay requests to the POLYV server for response data. See details for signature generation rules
channelId true String Channel ID
sessionId false String Session ID
startTime false Long Start time, 13-digit millisecond timestamp
endTime false Long End time, 13-digit millisecond timestamp
pageNumber false Integer Current page number
pageSize false Integer Number of records per page, default 10, maximum 1000

Example


Response Parameter Description

Parameter Type Description
code Integer Status code, same as HTTP status code, used to determine the basic response status
status String Response result, determined by business logic. Returns success on success, error on failure
success Boolean Whether the response was successful
requestId String Request ID, a unique UUID generated for each request. Only used for troubleshooting and debugging, not related to business logic
error Object Error information when status code is not 200 See details for Error field description
data Object See details for data field description

Error Parameter Description

Parameter Type Description
code Integer Error code, used to determine the specific error reason
desc String Error description, corresponding to error.code

data Parameter Description

Parameter Type Description
pageNumber Integer Current page number
pageSize Integer Number of records per page
totalPages Long Total number of pages
totalItems Long Total number of records
contents Array Content of the current page See details for contents field description

contents Parameter Description

Parameter Type Description
channelId String Channel ID
sessionId String Session ID
productListClickNum Integer Number of product list clicks

Java Request Example

For quick integration of basic code, please download the relevant dependency source code. Click here to download the source code. After downloading, add it to your own source code project. The test cases include HttpUtil.java and LiveSignUtil.java in the downloaded file.

It is strongly recommended to use the Live Java SDK for API integration. The Live Java SDK provides unified packaging and optimization for API call logic, exception handling, data signing, and HTTP request thread pooling.


Response Example

For system-wide error descriptions, see Global Error Description

Success Example

{
    "code": 200,
    "status": "success",
    "requestId": "cf6fa17891ff4016ae5d30cdc93da858.64.16403116261625249",
    "data":
    {
        "pageNumber": 2,
        "pageSize": 2,
        "totalPages": 2,
        "totalItems": 4,
        "contents": [
            {
                "channelId": "",
                "sessionId": "",
                "productListClickNum": 0
            }]
    },
    "success": true
}

Error Example

{
    "code": 400,
    "status": "error",
    "requestId": "d310b70bc329403f87f77f9203d50f89.128.16360831552223589",
    "error": {
        "code": 20001,
        "desc": "application not found."
    },
    "success": false
}
联系客服,在线咨询