公共参数
| 名称 | 类型 | 必须 | 描述 |
|---|---|---|---|
| key | String | 是 | 调用key(获取key和密钥) |
| secret | String | 是 | 调用密钥 |
| api_name | String | 是 | API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等] |
| cache | String | 否 | [yes,no]默认yes,将调用缓存的数据,速度比较快 |
| result_type | String | 否 | [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读 |
| lang | String | 否 | [cn,en,ru]翻译语言,默认cn简体中文 |
| version | String | 否 | API版本 |
请求参数
请求参数:item_id=7012906888161496331
参数说明:item_id:商品id
返回数据:
{
items: {
page: "1",
real_total_results: 12836,
total_results: 2000,
page_size: 20,
pagecount: 642,
item: [
{
app_id: 1128,
aweme_reply_count: 0,
browse_count: "12",
comment_time: "2024-06-06 22:46:50",
consed: false,
content: "第二次回购了 穿上很舒服 胸也有型 很喜欢 好评",
id: 642259047130677500,
is_anonymous: true,
liked: false,
likes: 0,
low_quality_type: 0,
photos: [
{
height: 0,
thumbnail: "https://p3-ecom-commentpic-sign.byteimg.com/douyin-user-image-file/99471b10f1a26a95f8aa1753915cd1a5~tplv-fceoirpogb-re_cp:240:0:q80.heic?biz_tag=ec_comment&lk3s=b727fd2f&scene_tag=ec_comment_thumbnail&x-expires=1718329008&x-signature=rH5w3zA2GyWaCDEBsC34jRWwmmA%3D",
uri: "douyin-user-image-file/99471b10f1a26a95f8aa1753915cd1a5",
url: "https://p6-ecom-commentpic-sign.byteimg.com/douyin-user-image-file/99471b10f1a26a95f8aa1753915cd1a5~tplv-fceoirpogb-re_cp:960:0:q90.heic?biz_tag=ec_comment&lk3s=b727fd2f&scene_tag=ec_comment_large&x-expires=1718329008&x-signature=p90K9PGnZ92D89oleRtyBwFJV%2BU%3D",
width: 0
}
],
product_id: 3539862421764180000,
rank: 15,
rank_icon: {
height: 42,
uri: "tos-cn-i-fceoirpogb/dfe63a398ca467bc2a1c3fae19574aee.png",
url_list: [
"http://p6-ecom-commentpic.byteimg.com/tos-cn-i-fceoirpogb/dfe63a398ca467bc2a1c3fae19574aee.png~tplv-fceoirpogb-image.image"
],
width: 120
},
rank_logistic: 5,
rank_product: 5,
rank_shop: 5,
rank_type: 1,
recommend: false,
shop_reply: "",
sku: "单件【肤色】/L【34/75ABC】",
tags: [
{
tag_type: 1
},
{
tag_icon: {
height: 14,
uri: "tos-cn-i-fceoirpogb/e89fd2e5e780aa1a688e903f04e3d896.png",
url_list: [
"http://p3-ecom-commentpic.byteimg.com/tos-cn-i-fceoirpogb/e89fd2e5e780aa1a688e903f04e3d896.png~tplv-fceoirpogb-image.image"
],
width: 31
},
tag_text: "LV4",
tag_type: 2
}
],
user_avatar: {
url_list: [
"https://p3-ecom-commentpic.byteimg.com/tos-cn-i-fceoirpogb/e8cc90c1b39cfd42c2ef6f0061514cfd.png~tplv-fceoirpogb-image.image"
]
},
user_id: 0,
user_name: "红**4"
},
{
app_id: 1128,
aweme_reply_count: 0,
browse_count: "396",
comment_time: "2024-05-28 18:36:22",
consed: false,
content: "因为肖战代言才买的,但之前买的两个都很好,很舒服,以后买就买你家的",
id: 1253923964280127700,
is_anonymous: false,
liked: false,
likes: 0,
low_quality_type: 0,
photos: [
{
height: 0,
thumbnail: "https://p6-ecom-commentpic-sign.byteimg.com/douyin-user-image-file/e7beb0e90818d26c788970cb85aad5bb~tplv-fceoirpogb-re_cp:240:0:q80.heic?biz_tag=ec_comment&lk3s=b727fd2f&scene_tag=ec_comment_thumbnail&x-expires=1718329008&x-signature=asVeAgLPu97mut4jqgstVdvy3iY%3D",
uri: "douyin-user-image-file/e7beb0e90818d26c788970cb85aad5bb",
url: "https://p3-ecom-commentpic-sign.byteimg.com/douyin-user-image-file/e7beb0e90818d26c788970cb85aad5bb~tplv-fceoirpogb-re_cp:960:0:q90.heic?biz_tag=ec_comment&lk3s=b727fd2f&scene_tag=ec_comment_large&x-expires=1718329008&x-signature=oQOJnmPvlKcguyLbZshNwUDAnfI%3D",
width: 0
}
],
product_id: 3539862421764180000,
rank: 15,
rank_icon: {
height: 42,
uri: "tos-cn-i-fceoirpogb/dfe63a398ca467bc2a1c3fae19574aee.png",
url_list: [
"http://p6-ecom-commentpic.byteimg.com/tos-cn-i-fceoirpogb/dfe63a398ca467bc2a1c3fae19574aee.png~tplv-fceoirpogb-image.image"
],
width: 120
},
rank_logistic: 5,
rank_product: 5,
rank_shop: 5,
rank_type: 1,
recommend: false,
shop_reply: "大品牌就是值得信赖。谢谢支持。",
sku: "单件【黑色】/XL【36/80ABC】",
tags: [
{
tag_type: 1
}
],
user_avatar: {
url_list: [
"https://p26.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813_60ebc3111d2b4a2aa05d4e308021e3f6.jpeg?from=4010531038"
]
},
user_id: 0,
user_name: "简**b"
},
{
app_id: 1128,
aweme_reply_count: 0,
browse_count: "180",
comment_time: "2024-05-25 15:42:06",
consed: false,
content: "下水洗了,变形,还硬,更没有去年买的亲肤柔软,",
id: 7508843301903647000,
is_anonymous: true,
liked: false,
likes: 0,
low_quality_type: 0,
product_id: 3539862421764180000,
rank: 9,
rank_icon: {
height: 42,
uri: "tos-cn-i-fceoirpogb/263bcb0d5377ea55337adcf0501ec021.png",
url_list: [
"http://p9-ecom-commentpic.byteimg.com/tos-cn-i-fceoirpogb/263bcb0d5377ea55337adcf0501ec021.png~tplv-fceoirpogb-image.image"
],
width: 120
},
rank_logistic: 5,
rank_product: 1,
rank_shop: 3,
rank_type: 3,
recommend: false,
shop_reply: "官方授权旗舰店。正品保证,大品牌就是值得信赖。谢谢支持和反馈。任何不满意都可以随时联系小店客服售后解决。后期会有更多惊喜福利款上新。再次感谢您的理

最低0.47元/天 解锁文章
5063

被折叠的 条评论
为什么被折叠?



