API接口名称(item_review - 获得淘宝商品评论)[item_search,item_get,item_search_shop等]

46 篇文章 0 订阅
19 篇文章 0 订阅

请求参数:num_iid=600530677643&data=&page=1

参数说明:num_iid:淘宝商品ID
sort:排序 0:默认排序 ,1: 最新排序

响应参数

Version: Date:

名称类型必须示例值描述
rate_contentString0衣服面料很好 穿起来很舒服 衣服挺合适的!评论内容
rate_dateDate02019-03-16 12:10:24评论日期
picsMIX0["//img.alicdn.com/bao/uploaded/i4/O1CN01Zmq4QI1dqwnpBIxmX_!!0-rate.jpg"]评论图片
display_user_nickString0李***0买家昵称
auction_skuString0颜色:加绒;尺码:2XL评论商品属性
rate_idString01182747118197评论ID
add_feedbackString0衣服面料很好 穿起来很舒服 衣服挺合适的!追评内容
add_feedback_imagesMIX0["//img.alicdn.com/bao/uploaded/i4/O1CN01Zmq4QI1dqwnpBIxmX_!!0-rate.jpg"]追评图片
videoString0http://cloud.video.taobao.com/play/u/416a306c576e44524a75367539493165745863466b513d3d/p/1/d/sd/e/6/t/1/288913501300.mp4视频地址
videoCoverString0https://img.alicdn.com/imgextra/i3/O1CN01cvjYjY28SRpqyDJIN_!!0-tbbala.jpg视频截图

 

API测试工具

点击申请试用

请求示例

<?php
//定义缓存目录和引入文件
define("DIR_RUNTIME","runtime/");
define("DIR_ERROR","runtime/");
define("SECACHE_SIZE","0");
//SDK下载地址 https://open.onebound.cn/help/demo/sdk/onebound-api-sdk.zip
include ("ObApiClient.php");

$obapi = new otao\ObApiClient();
$obapi->api_url = "http://api-gw.onebound.cn/";
$obapi->api_urls = array("http://api-gw.onebound.cn/","http://api-1.onebound.cn/");//备用API服务器
$obapi->api_urls_on = true;//当网络错误时,是否启用备用API服务器
$obapi->api_key = "<您自己的apiKey>";
$obapi->api_secret = "<您自己的apiSecret>";
$obapi->api_version ="";
$obapi->secache_path ="runtime/";
$obapi->secache_time ="86400";
$obapi->cache = true;

$api_data = $obapi->exec(
                array(
	                "api_type" =>"taobao",
	                "api_name" =>"item_review",
	                "api_params"=>array (
  'num_iid' => '600530677643',
  'data' => '',
  'page' => '1',
)
                )
            );
 var_dump($api_data);
?>

API 返回结果

https://api-gw.onebound.cn/taobao/item_review/?key=&
&num_iid=600530677643&data=&page=1&cache=no&&lang=zh-CN&secret=
---------------------------------------
Result Object:
---------------------------------------
{
	"items": {
		"totalpage": "18",
		"total_results": "357",
		"page_size": 10,
		"page": "1",
		"item": [
			{
				"rate_content": "此用户没有填写评价。",
				"rate_date": "2022-08-28",
				"pics": [],
				"display_user_nick": "",
				"auction_sku": "尺码:37;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "26天前",
				"read_count": "0",
				"rate_id": "1185790146502",
				"comment_count": "0",
				"like_count": [],
				"user_star": "9",
				"user_star_pic": "https://img.alicdn.com/imgextra/i3/O1CN01PIYxrZ22FGrmiDphN_!!6000000007090-2-tps-92-45.png"
			},
			{
				"rate_content": "太漂亮了 本来买的时候犹豫很久很久很久 从来没有买过黄色的 觉得不好配衣服也觉得图片一般 犹豫了有一天终于下定决心去买一个试试 结果太太太太让我惊喜了 太漂亮了 很亮鞋子特别舒服 我买的大一点 也很舒服 还挺好配衣服的 后悔就买一双了 现在我家都是她家的鞋子了 绝对的YYDS",
				"rate_date": "2022-08-23",
				"pics": [],
				"display_user_nick": "",
				"auction_sku": "尺码:36;颜色分类:黄色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "1个月前",
				"read_count": "0",
				"rate_id": "1184973493639",
				"comment_count": "0",
				"like_count": [],
				"user_star": "8",
				"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN019QZnaG1U1LtUAPn6e_!!6000000002457-2-tps-92-45.png"
			},
			{
				"rate_content": "鞋子很满意,3号客服棒棒哒,长毛绒也很暖和 ",
				"rate_date": "2021-12-05",
				"pics": [
					"//img.alicdn.com/imgextra/i2/0/O1CN01DD4Zcv1IxGY6IPN73_!!0-rate.jpg",
					"//img.alicdn.com/imgextra/i1/0/O1CN0189R9CP1IxGYCdWZyV_!!0-rate.jpg"
				],
				"display_user_nick": "",
				"auction_sku": "尺码:39;颜色分类:黑色【内里:长毛绒】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "9个月前",
				"read_count": "38",
				"rate_id": "1158296533060",
				"comment_count": "0",
				"like_count": [],
				"user_star": "7",
				"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01ZlCYMx1nbVriw6u0S_!!6000000005108-2-tps-92-45.png"
			},
			{
				"rate_content": "面料材质:材质有一点点硬,版型不错,整体还凑合,对得起这个价格 ",
				"rate_date": "2021-11-16",
				"pics": [
					"//img.alicdn.com/imgextra/i3/0/O1CN01TrfEtd2M3Ag2ClelC_!!0-rate.jpg"
				],
				"display_user_nick": "",
				"auction_sku": "尺码:39;颜色分类:黑色【内里:长毛绒】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "10个月前",
				"read_count": "165",
				"rate_id": "1155310540482",
				"comment_count": "0",
				"like_count": [],
				"user_star": "7",
				"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01ZlCYMx1nbVriw6u0S_!!6000000005108-2-tps-92-45.png"
			},
			{
				"rate_content": "买第二双了,鞋子很漂亮也挺舒服",
				"rate_date": "2021-11-09",
				"pics": [],
				"display_user_nick": "",
				"auction_sku": "尺码:39;颜色分类:黄色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "10个月前",
				"read_count": "1",
				"rate_id": "1154131764289",
				"comment_count": "0",
				"like_count": [],
				"user_star": "8",
				"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN019QZnaG1U1LtUAPn6e_!!6000000002457-2-tps-92-45.png"
			},
			{
				"rate_content": "7号客服棒棒哒,鞋子很喜欢,已第三次购买 ",
				"rate_date": "2021-10-31",
				"pics": [
					"//img.alicdn.com/imgextra/i3/0/O1CN01hPcYYn1EzJr4JSAzG_!!0-rate.jpg",
					"//img.alicdn.com/imgextra/i1/0/O1CN01Fjvoou25NSkm50Bp2_!!0-rate.jpg",
					"//img.alicdn.com/imgextra/i4/0/O1CN01mBc4V91txqplVs6o6_!!0-rate.jpg",
					"//img.alicdn.com/imgextra/i3/0/O1CN01YFUXAj1Whbcfv3TRJ_!!0-rate.jpg"
				],
				"display_user_nick": "",
				"auction_sku": "尺码:39;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "10个月前",
				"read_count": "245",
				"rate_id": "1153379805402",
				"comment_count": "0",
				"like_count": [],
				"user_star": "5",
				"user_star_pic": "https://img.alicdn.com/imgextra/i2/O1CN01vy8zTE1Zeo5lC6lTQ_!!6000000003220-2-tps-92-45.png"
			},
			{
				"rate_content": "7号客服服务真好,鞋子质量很好,己第二次购买了 ",
				"rate_date": "2021-10-27",
				"pics": [
					"//img.alicdn.com/imgextra/i1/0/O1CN01hMfUsj1yDexza4Eu1_!!0-rate.jpg",
					"//img.alicdn.com/imgextra/i2/0/O1CN01BNKARZ1yDexwiXDKc_!!0-rate.jpg",
					"//img.alicdn.com/imgextra/i4/0/O1CN01hDGyZC1yDexjAaZ4I_!!0-rate.jpg",
					"//img.alicdn.com/imgextra/i4/0/O1CN01714Xvv1yDexu2mTEB_!!0-rate.jpg"
				],
				"display_user_nick": "",
				"auction_sku": "尺码:39;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "11个月前",
				"read_count": "291",
				"rate_id": "1152900593524",
				"comment_count": "0",
				"like_count": "1",
				"user_star": "5",
				"user_star_pic": "https://img.alicdn.com/imgextra/i2/O1CN01vy8zTE1Zeo5lC6lTQ_!!6000000003220-2-tps-92-45.png"
			},
			{
				"rate_content": "去年买过一双一样的,今年看了其他家,还是想复制一下上一双鞋子的快乐。鞋底很软,走路不累,超级百搭,爱了爱了。客服都很耐心,7号客服很棒哈哈~ ",
				"rate_date": "2021-10-20",
				"pics": [
					"//img.alicdn.com/imgextra/i1/0/O1CN01N6n5JO24FqYC9k9mc_!!0-rate.jpg"
				],
				"display_user_nick": "",
				"auction_sku": "尺码:39;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "11个月前",
				"read_count": "299",
				"rate_id": "1152874831149",
				"comment_count": "0",
				"like_count": [],
				"user_star": "6",
				"user_star_pic": "https://img.alicdn.com/imgextra/i3/O1CN01QZTjHW1F4oegDvuEX_!!6000000000434-2-tps-92-45.png"
			},
			{
				"rate_content": "2号客服棒棒哒",
				"rate_date": "2021-09-28",
				"pics": [],
				"display_user_nick": "",
				"auction_sku": "尺码:39;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "11个月前",
				"read_count": "2",
				"rate_id": "1148841092349",
				"comment_count": "0",
				"like_count": [],
				"user_star": "8",
				"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN019QZnaG1U1LtUAPn6e_!!6000000002457-2-tps-92-45.png"
			},
			{
				"rate_content": "此用户没有填写评价。",
				"rate_date": "2021-09-15",
				"pics": [],
				"display_user_nick": "",
				"auction_sku": "尺码:37;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "1年前",
				"read_count": "0",
				"rate_id": "1147688357921",
				"comment_count": "0",
				"like_count": [],
				"user_star": "8",
				"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN019QZnaG1U1LtUAPn6e_!!6000000002457-2-tps-92-45.png"
			},
			{
				"rate_content": "7号客服棒棒哒 ",
				"rate_date": "2021-09-13",
				"pics": [],
				"display_user_nick": "",
				"auction_sku": "尺码:37;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "1年前",
				"read_count": "1",
				"rate_id": "1147975534640",
				"comment_count": "0",
				"like_count": [],
				"user_star": "7",
				"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01ZlCYMx1nbVriw6u0S_!!6000000005108-2-tps-92-45.png"
			},
			{
				"rate_content": "不错 ",
				"rate_date": "2021-09-13",
				"pics": [],
				"display_user_nick": "",
				"auction_sku": "尺码:37;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "1年前",
				"read_count": "0",
				"rate_id": "1147394085601",
				"comment_count": "0",
				"like_count": [],
				"user_star": "8",
				"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN019QZnaG1U1LtUAPn6e_!!6000000002457-2-tps-92-45.png"
			},
			{
				"rate_content": "4号服务态度好,物流速度快。",
				"rate_date": "2021-04-25",
				"pics": [],
				"display_user_nick": "",
				"auction_sku": "尺码:37;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "1年前",
				"read_count": "0",
				"rate_id": "1130396694112",
				"comment_count": "0",
				"like_count": [],
				"user_star": "7",
				"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01ZlCYMx1nbVriw6u0S_!!6000000005108-2-tps-92-45.png"
			},
			{
				"rate_content": "之前在实体店买过一双白色的,在网上看到又下单一双黑色,很满意,客服2号和6号服务也不错",
				"rate_date": "2021-04-23",
				"pics": [
					"//img.alicdn.com/imgextra/i4/0/O1CN01lhul4v22e0AX7QO75_!!0-rate.jpg"
				],
				"display_user_nick": "",
				"auction_sku": "尺码:37;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "1年前",
				"read_count": "205",
				"rate_id": "1129704857485",
				"comment_count": "1",
				"like_count": [],
				"user_star": "6",
				"user_star_pic": "https://img.alicdn.com/imgextra/i3/O1CN01QZTjHW1F4oegDvuEX_!!6000000000434-2-tps-92-45.png"
			},
			{
				"rate_content": "穿上挺好看的,戈美琪的鞋子穿了很多双了,质量一直很好,款式也好看好评哦!这次活动力度大,很划算!",
				"rate_date": "2021-04-19",
				"pics": [],
				"display_user_nick": "",
				"auction_sku": "尺码:37;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "1年前",
				"read_count": "2",
				"rate_id": "1129160497439",
				"comment_count": "0",
				"like_count": [],
				"user_star": "7",
				"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01ZlCYMx1nbVriw6u0S_!!6000000005108-2-tps-92-45.png"
			},
			{
				"rate_content": "此用户没有填写评价。",
				"rate_date": "2021-04-17",
				"pics": [],
				"display_user_nick": "",
				"auction_sku": "尺码:38;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "1年前",
				"read_count": "0",
				"rate_id": "1129752431972",
				"comment_count": "0",
				"like_count": [],
				"user_star": "7",
				"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01ZlCYMx1nbVriw6u0S_!!6000000005108-2-tps-92-45.png"
			},
			{
				"rate_content": "此用户没有填写评价。",
				"rate_date": "2021-04-16",
				"pics": [],
				"display_user_nick": "",
				"auction_sku": "尺码:37;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "1年前",
				"read_count": "0",
				"rate_id": "1129245610801",
				"comment_count": "0",
				"like_count": [],
				"user_star": "5",
				"user_star_pic": "https://img.alicdn.com/imgextra/i2/O1CN01vy8zTE1Zeo5lC6lTQ_!!6000000003220-2-tps-92-45.png"
			},
			{
				"rate_content": "1号客服棒棒哒",
				"rate_date": "2021-04-11",
				"pics": [],
				"display_user_nick": "",
				"auction_sku": "尺码:39;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "1年前",
				"read_count": "0",
				"rate_id": "1129030951526",
				"comment_count": "0",
				"like_count": [],
				"user_star": "9",
				"user_star_pic": "https://img.alicdn.com/imgextra/i3/O1CN01PIYxrZ22FGrmiDphN_!!6000000007090-2-tps-92-45.png"
			},
			{
				"rate_content": "整体评价:鞋子很舒服,回购的第二双了,喜欢 ",
				"rate_date": "2021-04-07",
				"pics": [],
				"display_user_nick": "",
				"auction_sku": "尺码:38;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "1年前",
				"read_count": "0",
				"rate_id": "1127252768470",
				"comment_count": "0",
				"like_count": [],
				"user_star": "8",
				"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN019QZnaG1U1LtUAPn6e_!!6000000002457-2-tps-92-45.png"
			},
			{
				"rate_content": "面料材质:摸着很舒服,  舒适度:鞋底很柔软。 现在购买简直就是物美价廉 ",
				"rate_date": "2021-04-06",
				"pics": [],
				"display_user_nick": "",
				"auction_sku": "尺码:38;颜色分类:黑色【内里:超细纤维】",
				"add_feedback": "",
				"add_feedback_images": [],
				"create_time_interval": "1年前",
				"read_count": "2",
				"rate_id": "1127553169073",
				"comment_count": "0",
				"like_count": [],
				"user_star": "7",
				"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01ZlCYMx1nbVriw6u0S_!!6000000005108-2-tps-92-45.png"
			}
		],
		"data_from": "xdl"
	},
	"secache": "c8bde0fb0758d449f9b07cca295d4b61",
	"secache_time": 1663922465,
	"secache_date": "2022-09-23 16:41:05",
	"translate_status": "",
	"translate_time": 0,
	"language": {
		"default_lang": "cn",
		"current_lang": "cn"
	},
	"error": "",
	"reason": "",
	"error_code": "0000",
	"cache": 0,
	"api_info": "today:70 max:10100 all[171=70+47+54];expires:2030-12-31",
	"execution_time": "1.356",
	"server_time": "Beijing/2022-09-23 16:41:05",
	"client_ip": "106.6.38.190",
	"call_args": {
		"num_iid": "600530677643",
		"page": "1"
	},
	"api_type": "taobao",
	"translate_language": "zh-CN",
	"translate_engine": "google_new",
	"server_memory": "6.02MB",
	"request_id": "gw-1.632d7120370bd",
	"last_id": "1236752079"
}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

雨@下整夜

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值