获取详情API接口(抖音)

API接口名称:

item_get - 获得抖音商品详情

响应参数

Version: Date:

名称 类型 必须 示例值 描述
item item[] 0 宝贝详情数据

注册申请试用:

点击注册

请求参数:num_iid=3514453298386183303

参数说明:num_iid:抖音商品ID

请求示例

<?php

// 请求示例 url 默认请求参数已经URL编码处理
// 本示例代码未加密secret参数明文传输,若要加密请参考:https://open.onebound.cn/help/demo/sdk/demo-sign.php
$method = "GET";
$url = "https://api-gw.onebound.cn/douyin/item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=3514453298386183303";
$curl = curl_init();
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,FALSE);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,FALSE);
curl_setopt($curl, CURLOPT_FAILONERROR, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, true);
curl_setopt($curl, CURLOPT_ENCODING, "gzip");
var_dump(curl_exec($curl));
?>

响应示例

{
	"item": {
		"num_iid": "3514453298386183303",
		"title": "【古蒂歌品牌】精致磨毛纹理 叠穿衬衣女春装新款 高档磨毛衬衫 ",
		"desc_short": "",
		"price": 72,
		"total_price": "",
		"suggestive_price": "",
		"orginal_price": 72,
		"nick": "黄岛区古蒂歌服饰店",
		"num": "",
		"detail_url": "",
		"pic_url": "https://p9-aio.ecombdimg.com/obj/temai/e9ed9a7b06bbbf03b769075a4cf12045www876-876",
		"brand": "Gudige/古蒂歌",
		"brandId": null,
		"rootCatId": 20005,
		"cid": 20179,
		"desc": "<p><img src="https://p9-aio.ecombdimg.com/obj/temai/9a37b5d7b8c164e0dec78115f7239c48455376e7www750-1136" style="max-width: 100%;"/><img src="https://p6-aio.ecombdimg.com/obj/temai/50abfe5404fcc642266e97ccfba53d46afc51a0cwww750-1136" style="max-width: 100%;"/><img src="https://p9-aio.ecombdimg.com/obj/temai/c2390e8b150255cbe2311467091844c296eaf6bawww750-1095" style="max-width: 100%;"/><img src="https://p3-aio.ecombdimg.com/obj/temai/d312afa85676443c7a807688d4aab85cwww800-800" style="max-width: 100%;"/><img src="https://p9-aio.ecombdimg.com/obj/temai/1abe68729b067631cb5844bfcd88fa439c16a03cwww750-1070" style="max-width: 100%;"/><img src="https://p3-aio.ecombdimg.com/obj/temai/330154
  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

雨@下整夜

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

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

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

打赏作者

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

抵扣说明:

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

余额充值