小红书商品详情API接口(item_get-获得小红书商品详情接口)

小红书商品详情API接口(item_get-获得小红书商品详情接口)代码对接如下:

1.公共参数

名称 类型 必须 描述
key String 调用key(必须以GET方式拼接在URL中,点击获取请求key和secret)
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版本

2.请求参数

请求参数:num_iid=5eb1097ba091410953951d17

参数说明:num_iid:小红书商品ID

 3.请求示例(CURL、PHP 、PHPsdk 、Java 、C# 、Python…)

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.URL;
import java.nio.charset.Charset;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.PrintWriter;
import java.net.URLConnection;

public class Example {
	private static String readAll(Reader rd) throws IOException {
		StringBuilder sb = new StringBuilder();
		int cp;
		while ((cp = rd.read()) != -1) {
			sb.append((char) cp);
		}
		return  sb.toString();
	}
	public static JSONObject postRequestFromUrl(String url, String body) throws IOException, JSONException {
		URL realUrl = new URL(url);
		URLConnection conn = realUrl.openConnection();
		conn.setDoOutput(true);
		conn.setDoInput(true);
		PrintWriter out = new PrintWriter(conn.getOutputStream());
		out.print(body);
		out.flush();
		InputStream instream = conn.getInputStream();
		try {
			BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8")));
			String jsonText = readAll(rd);
			JSONObject json = new JSONObject(jsonText);
			return json;
		} finally {
			instream.close();
		}
	}
	public static JSONObject getRequestFromUrl(String url) throws IOException, JSONException {
		URL realUrl = new URL(url);
		URLConnection conn = realUrl.openConnection();
		InputStream instream = conn.getInputStream();
		try {
			BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8")));
			String jsonText = readAll(rd);
			JSONObject json = new JSONObject(jsonText);
			return json;
		} finally {
			instream.close();
		}
	}
	public static void main(String[] args) throws IOException, JSONException {
		// 请求示例 url 默认请求参数已经URL编码处理
		String url = "https://wx19970108018/smallredbook/item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=5eb1097ba091410953951d17";
		JSONObject json = getRequestFromUrl(url);
		System.out.println(json.toString());
	}

}

4.响应示例

{'data': {'scene': None,
          'template': '[{"name":"app","key":"app","type":"block","parent":null},{"name":"headerBarMain","key":"headerBarMain","parent":"app.slot.headerBarMain","type":"block"},{"name":"headerBarPopup","key":"headerBarPopup","type":"block","parent":null,"strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"},{"type":"runtime","resolver":"({ visible }) => '
                      '!!visible"}]},{"name":"curtain","key":"curtain","parent":"app.slot.curtain","type":"block"},{"name":"carousel","key":"carousel","type":"block","parent":"app.slot.carousel"},{"name":"colorVariants","key":"colorVariants","type":"block","parent":"app.slot.colorVariants","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"}]},{"name":"priceWarmUp","key":"priceWarmUp","type":"block","parent":"app.slot.basic","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"}]},{"name":"price","key":"price","type":"block","parent":"app.slot.basic","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"}]},{"name":"depositTailPayTime","key":"depositTailPayTime","type":"block","parent":"app.slot.basic","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"}]},{"name":"profitBar","key":"profitBar","type":"block","parent":"app.slot.basic","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"}]},{"name":"profitBarPopup","key":"profitBarPopup","type":"block","parent":null,"strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"},{"type":"runtime","resolver":"({ visible }) => '
                      '!!visible"}]},{"name":"membership","key":"membership","type":"block","parent":"app.slot.basic","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"}]},{"name":"description","key":"description","type":"block","parent":"app.slot.basic","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"}]},{"name":"descriptionExtraInfo","key":"descriptionExtraInfo","type":"block","parent":"app.slot.basic","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"}]},{"name":"redRank","key":"redRank","type":"block","parent":"app.slot.basic","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"}]},{"name":"campaignBanner","key":"campaignBanner","parent":"app.slot.campaignBanner","type":"block","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"}]},{"name":"installment","key":"installment","type":"block","parent":"app.slot.service","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"}]},{"name":"installmentPopup","key":"installmentPopup","type":"block","parent":null,"strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"},{"type":"runtime","resolver":"({ visible }) => '
                      '!!visible"}]},{"name":"selectedExp","key":"selected","type":"block","parent":"app.slot.service","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"}]},{"name":"goodsDistribute","key":"goodsDistribute","type":"block","parent":"app.slot.service","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"}]},{"name":"serviceMain","key":"serviceMainKey","modelKey":"serviceMain","type":"block","parent":"app.slot.service","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"},{"type":"runtime","resolver":"({ isNotOnlySelf }) '
                      '=> '
                      '!!isNotOnlySelf"}]},{"name":"service","key":"serviceKey","modelKey":"serviceMain","type":"block","parent":"app.slot.service","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"},{"type":"runtime","resolver":"({ isNotOnlySelf }) '
                      '=> '
                      '!isNotOnlySelf"}]},{"name":"seller","key":"seller","type":"block","parent":"app.slot.shop","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { topRenderFinished } = '
                      'event;\\n          return topRenderFinished;\\n        '
                      '}"}]},{"name":"suit","key":"suit","type":"block","parent":"app.slot.suit","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"shopRecommend","key":"shopRecommend","type":"block","parent":"app.slot.shop","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"lookAgain","key":"lookAgain","type":"block","parent":"app.slot.lookAgain","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"comments","key":"comments","type":"block","parent":"app.slot.comments","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"redSpeak","key":"redSpeak","type":"block","parent":"comments","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"commentsLite","key":"commentsLite","type":"block","parent":"comments","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"graphicDetails","key":"graphicDetails","type":"block","parent":"app.slot.graphicDetails","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"productDetail","key":"productDetail","parent":"graphicDetails","type":"block","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"},{"type":"runtime","resolver":"({ eventId }) => '
                      'eventId"}]},{"name":"extraInfo","key":"extraInfo","type":"block","parent":"app.slot.extraInfo","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"variantsParams","key":"variantsParams","type":"block","parent":"extraInfo","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"normalFaq","key":"normalFaq","type":"block","parent":"extraInfo","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"priceDescription","key":"priceDescription","type":"block","parent":"extraInfo","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"consumeWarning","key":"consumeWarning","type":"block","parent":"extraInfo","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"consumerNotice","key":"consumerNotice","type":"block","parent":"extraInfo","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"feedsTitle","key":"feedsTitle","type":"block","parent":"app.slot.feedsTitle","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"feedsCard","key":"feedsCard","type":"block","parent":"app.slot.feedsCard","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"bottomBarMainExp","key":"bottomBarMain","type":"block","parent":"app.slot.bottomBarMain"},{"name":"servicePopup","key":"servicePopup","type":"block","parent":null,"strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"},{"type":"runtime","resolver":"({ visible }) => '
                      '!!visible"}]},{"name":"cpsPopup","key":"cpsPopup","type":"block","parent":null,"strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"fashionCouponPopup","key":"fashionCouponPopup","type":"block","parent":null,"strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"variantsPopup","key":"variantsPopup","type":"block","parent":null,"strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"},{"type":"runtime","resolver":"({ visible }) => '
                      '!!visible"}]},{"name":"variantsPopupNew","key":"variantsPopupNew","type":"block","parent":null,"strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"},{"type":"runtime","resolver":"({ visible }) => '
                      '!!visible"}]},{"name":"addCartTips","key":"addCartTips","type":"block","parent":null,"strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"},{"type":"runtime","resolver":"({ visible }) => '
                      '!!visible"}]},{"name":"membershipPopup","key":"membershipPopup","type":"block","parent":null,"strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"},{"type":"runtime","resolver":"({ visible }) => '
                      '!!visible"}]},{"name":"distributePopup","key":"distributePopup","type":"block","parent":null,"strategies":[{"type":"runtime","resolver":"({ '
                      'visible }) => '
                      '!!visible"}]},{"name":"liveBar","key":"liveBar","parent":null,"type":"block","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"}]},{"name":"liveVideoBar","key":"liveVideoBar","parent":"app.slot.liveVideoBar","type":"block","strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"},{"type":"runtime","resolver":"({ visible }) => '
                      'visible"}]},{"name":"genuinePopup","key":"genuinePopup","type":"block","parent":null,"strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"},{"type":"runtime","resolver":"({ '
                      'shouldTriggerPolymericPopup }) =>\\n          '
                      '!!shouldTriggerPolymericPopup"}]},{"name":"couponRemindPopup","key":"couponRemindPopup","type":"block","parent":null,"strategies":[{"type":"event","resolver":"({ '
                      'event }) => {\\n          const { secondRenderFinished '
                      '} = event;\\n          return '
                      'secondRenderFinished;\\n        '
                      '}"},{"type":"runtime","resolver":"({ '
                      'shouldTriggerPolymericPopup }) =>\\n          '
                      '!!shouldTriggerPolymericPopup"}]},{"name":"pluginBoost","key":"pluginBoost","parent":null,"type":"block"}]',
          'template_data': [{'bottomBarMain': {'button': {'hasBoughtSeeOthers': None,
                                                          'hasCart': True,
                                                          'hasCheckCode': None,
                                                          'hasCouponBuy': None,
                                                          'hasDepositPresale': None,
                                                          'hasFollowed': None,
                                                          'hasInstantBuy': True,
                                                          'hasInstantBuyNoSpec': None,
                                                          'hasLotterySubscribe': None,
                                                          'hasNoActivity': None,
                                                          'hasRegister': None,
                                                          'hasSeeOthers': None,
                                                          'hasSoldOutDepositPresale': None,
                                                          'hasStore': None,
                                                          'hasSubscribe': None,
                                                          'hasUnavailable': None},
                                               'couponInfos': [],
                                               'customerServiceLink': 'xhsdiscover://rn/eva-seraph/seller/614b07e70301fa000130fa45/chat?goods_id=61e6c3b8363cb300019fd592',
                                               'customerServiceName': '客服',
                                               'dealPrice': None,
                                               'depositBuy': {'depositPrice': None,
                                                              'text': None},
                                               'isFollowed': False,
                                               'isSingleVariant': False,
                                               'itemId': '61e6c3b8363cb300019fd592',
                                               'onLotterySubscribeData': None,
                                               'onSaleSubscribeData': None,
                                               'price': 6780,
                                               'seller': {'link': 'https://www.xiaohongshu.com/vendor/614b07e70301fa000130fa45?useNativeChannel=yes&sort=product&naviHidden=yes',
                                                          'logo': 'https://sns-avatar-qc.xhscdn.com/avatar/61233ec61c1bf000019f6560.jpg?imageView2/2/w/120/format/jpg',
                                                          'sellerId': '614b07e70301fa000130fa45'},
                                               'showCustomerService': True},
                             'carousel': {'images': [{'height': 800,
                                                      'url': '//qimg.xiaohongshu.com/arkgoods/b2eeb72caa520ce96dc96b443a2ffba502bb0953?itemId=61e6c3b8363cb300019fd592&imageView2/2/w/800/q/90.jpg',
                                                      'width': 800},
                                                     {'height': 800,
                                                      'url': '//qimg.xiaohongshu.com/arkgoods/c43732c70141ad724798cd36697ec3efbff43530?itemId=61e6c3b8363cb300019fd592&imageView2/2/w/800/q/90.jpg',
                                                      'width': 800},
                                                     {'height': 800,
                                                      'url': '//qimg.xiaohongshu.com/arkgoods/455911cc419e2c4b7c376c5a8159043168dca1a2?itemId=61e6c3b8363cb300019fd592&imageView2/2/w/800/q/90.jpg',
                                                      'width': 800},
                                                     {'height': 800,
                                                      'url': '//qimg.xiaohongshu.com/arkgoods/9452617a2d867ad001f999902b1cdf285463ff0a?itemId=61e6c3b8363cb300019fd592&imageView2/2/w/800/q/90.jpg',
                                                      'width': 800}],
                                          'itemId': '61e6c3b8363cb300019fd592',
                                          'marketingImage': None,
                                          'stockStatus': 1,
                                          'video': None},
                             'colorVariant': {'text': '3色可选',
                                              'variants': [{'image': 'https://qimg.xiaohongshu.com/arkgoods/b2eeb72caa520ce96dc96b443a2ffba502bb0953@_320w_320h_1e_1c_0i_90Q_1x_2o.jpg',
                                                            'itemId': '61e6c3ba363cb300019fd5a0',
                                                            'selected': True,
                                                            'value': '白色'},
                                                           {'image': 'https://qimg.xiaohongshu.com/arkgoods/b2eeb72caa520ce96dc96b443a2ffba502bb0953@_320w_320h_1e_1c_0i_90Q_1x_2o.jpg',
                                                            'itemId': '61e6c3b4363cb300019fd567',
                                                            'selected': None,
                                                            'value': '灰色'},
                                                           {'image': 'https://qimg.xiaohongshu.com/arkgoods/b2eeb72caa520ce96dc96b443a2ffba502bb0953@_320w_320h_1e_1c_0i_90Q_1x_2o.jpg',
                                                            'itemId': '61e6c3af363cb300019fd536',
                                                            'selected': None,
                                                            'value': '黑色'}]},
                             'consumeWarning': {'text': None, 'title': None},
                             'consumerNotice': {'list': [], 'title': None},
                             'depositTailPayTime': {'text': None},
                             'descriptionExtraInfo': {'icons': []},
                             'descriptionMain': {'hasFollowed': True,
                                                 'isFollowed': False,
                                                 'itemId': '61e6c3b8363cb300019fd592',
                                                 'name': '悟空有货 · '
                                                         '潮牌复古纯色华夫格直筒休闲裤男女街头宽松垂感百搭长裤 '
                                                         '· 白色 XL',
                                                 'tags': []},
                             'fissionCoupon': None,
                             'graphicDetails': {'brandAuthorization': None,
                                                'brandCard': {'height': 186,
                                                              'imageUrl': 'https://ci.xiaohongshu.com/1ee6d0fe-86ba-4076-ac36-e71619de6bf3@r_640w_640h.jpg',
                                                              'link': None,
                                                              'width': 640},
                                                'description': None,
                                                'eventId': '',
                                                'guide': {'images': [],
                                                          'title': '使用指南',
                                                          'video': []},
                                                'images': [{'height': 919,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/eebf50391e4dc6cbcf2c4b70830e49bb59863a3c',
                                                            'width': 750},
                                                           {'height': 546,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/93919b6d1b61aa3e304c69af0ce6518b4ecbca56',
                                                            'width': 750},
                                                           {'height': 480,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/8b539d59b14324b55f15bf1207011bb4fefab06d',
                                                            'width': 750},
                                                           {'height': 474,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/7e3e404ad7b7c771993a964a493bdf01886decf4',
                                                            'width': 750},
                                                           {'height': 337,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/f4a5b2fbd6a0e0be6be67971313bb166184ac205',
                                                            'width': 750},
                                                           {'height': 417,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/cf329568b38cd8d95d558e0e5777ac25ff04f816',
                                                            'width': 750},
                                                           {'height': 474,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/f83fbdd76b7267dfeafa246e2f2850ff1e135d67',
                                                            'width': 750},
                                                           {'height': 474,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/1110f2e3d5f0067977e0eb52b8eac2eb21e88f6f',
                                                            'width': 750},
                                                           {'height': 474,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/8b7a4f4f855728c7716d47544ad679c25f68786e',
                                                            'width': 750},
                                                           {'height': 742,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/4a35d816317479573e006978ea14d63b7f948157',
                                                            'width': 750},
                                                           {'height': 744,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/bbff2f198e78a1d4f0debf9fac168e020db1c83b',
                                                            'width': 750},
                                                           {'height': 719,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/c116d94bae801162b92fe8c81837fac70fe9063f',
                                                            'width': 750},
                                                           {'height': 719,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/e80af5fb486d4ce7e81b0136530f91caf84d9fd3',
                                                            'width': 750},
                                                           {'height': 717,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/906a76c97670a7707c028f33e079354386c1cf2a',
                                                            'width': 750},
                                                           {'height': 899,
                                                            'url': 'https://qimg.xiaohongshu.com/arkgoods/0615b196ed80d362ef9e503ac7fe5558a82aa0df',
                                                            'width': 750}],
                                                'sellerId': '614b07e70301fa000130fa45',
                                                'shopActive': None},
                             'headerBarMain': {'hasComments': None,
                                               'hasMoreButton': True,
                                               'hasShareButton': True,
                                               'shareData': {'baseUrl': 'https://www.xiaohongshu.com',
                                                             'content': '',
                                                             'extension': {'friend': '{"type":"goodsDetail","avatar":"https://sns-avatar-qc.xhscdn.com/avatar/61233ec61c1bf000019f6560.jpg?imageView2/2/w/120/format/jpg","officialVerifyType":0,"brandName":"悟空有货旗舰店","brandId":"614b07e70301fa000130fa45","image":"https://qimg.xiaohongshu.com/arkgoods/b2eeb72caa520ce96dc96b443a2ffba502bb0953?itemId=61e6c3b8363cb300019fd592&imageView2/2/w/800/q/90.jpg","desc":"纯色华夫格直筒休闲裤","price":6780,"id":"61e6c3b8363cb300019fd592","title":"纯色华夫格直筒休闲裤","content":"悟空有货旗舰店","cover":"https://qimg.xiaohongshu.com/arkgoods/b2eeb72caa520ce96dc96b443a2ffba502bb0953?itemId=61e6c3b8363cb300019fd592&imageView2/2/w/800/q/90.jpg"}',
                                                                           'miniprogram': None,
                                                                           'reportUrl': None},
                                                             'image': 'https://qimg.xiaohongshu.com/arkgoods/b2eeb72caa520ce96dc96b443a2ffba502bb0953?itemId=61e6c3b8363cb300019fd592&imageView2/2/w/800/q/90.jpg',
                                                             'imageurl': 'https://qimg.xiaohongshu.com/arkgoods/b2eeb72caa520ce96dc96b443a2ffba502bb0953?itemId=61e6c3b8363cb300019fd592&imageView2/2/w/800/q/90.jpg',
                                                             'linkurl': 'http://www.xiaohongshu.com/goods-detail/61e6c3b8363cb300019fd592',
                                                             'title': '纯色华夫格直筒休闲裤',
                                                             'type': 'ShareToFriend,WeixinSession,WeixinTimeline,SinaWeibo,QQ,QQSpace,copy,report'}},
                             'headerBarMainPopup': {'list': [{'data': None,
                                                              'icon': 'https://picasso-static.xiaohongshu.com/picasso-editor/988195f77bce2ea719803b8bf89d731e41b6b424',
                                                              'name': '商城首页',
                                                              'trackersComponent': 'goods_detail:home/store',
                                                              'url': 'xhsdiscover://home/store'},
                                                             {'data': None,
                                                              'icon': 'https://picasso-static.xiaohongshu.com/picasso-editor/fa55abec26329f977ea2fa669b1591a3ea47c4bb',
                                                              'name': '购物车',
                                                              'trackersComponent': 'goods_detail:user_shopping_cart',
                                                              'url': 'xhsdiscover://rn/lancer/user/shopping_cart?eaglet_id=1152&upstream=nns'},
                                                             {'data': None,
                                                              'icon': 'https://picasso-static.xiaohongshu.com/picasso-editor/c618e573e86f867b4149cab9f465ea429612e265',
                                                              'name': '订单',
                                                              'trackersComponent': 'goods_detail:https://www.xiaohongshu.com/order/list',
                                                              'url': 'xhsdiscover://rn/lancer-order/order/list'},
                                                             {'data': None,
                                                              'icon': 'https://picasso-static.xiaohongshu.com/picasso-editor/9d573c638358852a11fccfad66777f9ba9857de8',
                                                              'name': '卡券',
                                                              'trackersComponent': 'goods_detail:https://www.xiaohongshu.com/activity/coupon/list',
                                                              'url': 'https://www.xiaohongshu.com/activity/coupon/list'},
                                                             {'data': None,
                                                              'icon': 'https://picasso-static.xiaohongshu.com/picasso-editor/c4860a6b04556fe1625ed1b8fdc1c893eb4922f3',
                                                              'name': '心愿单',
                                                              'trackersComponent': 'goods_detail:https://www.xiaohongshu.com/wishlist/index',
                                                              'url': 'https://www.xiaohongshu.com/wishlist/index'},
                                                             {'data': None,
                                                              'icon': 'https://picasso-static.xiaohongshu.com/picasso-editor/0ee9cc57a258268df654f0f40438b15d25aca615',
                                                              'name': '小红卡会员',
                                                              'trackersComponent': 'goods_detail:https://www.xiaohongshu.com/store/mc/landing',
                                                              'url': 'https://www.xiaohongshu.com/store/mc/landing'},
                                                             {'data': None,
                                                              'icon': 'https://picasso-static.xiaohongshu.com/fe-platform/44e30acf8974268c4ae5a8b4895b84223edf8772.png',
                                                              'name': '举报',
                                                              'trackersComponent': 'goods_detail:https://www.xiaohongshu.com/evaluation/tip-offs',
                                                              'url': 'https://www.xiaohongshu.com/evaluation/tip-offs?goodsId=61e6c3b8363cb300019fd592'},
                                                             {'data': {'shareData': {'baseUrl': 'https://www.xiaohongshu.com',
                                                                                     'content': '',
                                                                                     'extension': {'friend': '{"type":"goodsDetail","avatar":"https://sns-avatar-qc.xhscdn.com/avatar/61233ec61c1bf000019f6560.jpg?imageView2/2/w/120/format/jpg","officialVerifyType":0,"brandName":"悟空有货旗舰店","brandId":"614b07e70301fa000130fa45","image":"https://qimg.xiaohongshu.com/arkgoods/b2eeb72caa520ce96dc96b443a2ffba502bb0953?itemId=61e6c3b8363cb300019fd592&imageView2/2/w/800/q/90.jpg","desc":"纯色华夫格直筒休闲裤","price":6780,"id":"61e6c3b8363cb300019fd592","title":"纯色华夫格直筒休闲裤","content":"悟空有货旗舰店","cover":"https://qimg.xiaohongshu.com/arkgoods/b2eeb72caa520ce96dc96b443a2ffba502bb0953?itemId=61e6c3b8363cb300019fd592&imageView2/2/w/800/q/90.jpg"}',
                                                                                                   'miniprogram': None,
                                                                                                   'reportUrl': None},
                                                                                     'image': 'https://qimg.xiaohongshu.com/arkgoods/b2eeb72caa520ce96dc96b443a2ffba502bb0953?itemId=61e6c3b8363cb300019fd592&imageView2/2/w/800/q/90.jpg',
                                                                                     'imageurl': 'https://qimg.xiaohongshu.com/arkgoods/b2eeb72caa520ce96dc96b443a2ffba502bb0953?itemId=61e6c3b8363cb300019fd592&imageView2/2/w/800/q/90.jpg',
                                                                                     'linkurl': 'http://www.xiaohongshu.com/goods-detail/61e6c3b8363cb300019fd592',
                                                                                     'title': '纯色华夫格直筒休闲裤',
                                                                                     'type': 'ShareToFriend,WeixinSession,WeixinTimeline,SinaWeibo,QQ,QQSpace,copy,report'}},
                                                              'icon': 'https://picasso-static.xiaohongshu.com/picasso-editor/fbd0a7fddfad41242de3f59bbdffa2663da6f0c0',
                                                              'name': '分享',
                                                              'trackersComponent': None,
                                                              'url': None}],
                                                    'title': '更多功能'},
                             'installment': {'text': None, 'title': None},
                             'installmentPopup': {'notice': None,
                                                  'steps': [],
                                                  'tips': None,
                                                  'title': None},
                             'membership': {'link': None,
                                            'openText': None,
                                            'recommendMemberType': None,
                                            'saving': None,
                                            'text': None},
                             'membershipPopup': {'details': [], 'title': None},
                             'normalFaq': {'list': [], 'title': None},
                             'priceDescription': {'list': [{'name': '划线价格',
                                                            'value': '指商品的专柜价、吊牌价、正品零售价、厂商指导价或该商品的曾经展示过的销售价等,并非原价,仅供参考。'},
                                                           {'name': '未划线价格',
                                                            'value': '指商品的销售价,是您最终决定是否购买商品的依据。'},
                                                           {'name': '折扣',
                                                            'value': '页面显示的“折扣”为非划线价格与划线价格的对比,该对比值仅供您参考,不作为计算非划线价格的依据。'}],
                                                  'title': '价格说明'},
                             'priceMain': {'backgroundImage': None,
                                           'countDown': None,
                                           'dealPrice': None,
                                           'hasFollowed': True,
                                           'highlightPrice': 67.8,
                                           'isFollowed': False,
                                           'isPresale': None,
                                           'multipleDiscount': [],
                                           'priceDecimalPart': None,
                                           'priceIntegerPart': None,
                                           'promotion': None,
                                           'tags': ['包邮', '包税']},
                             'priceWarmUp': {'backgroundImage': None,
                                             'price': None,
                                             'promotion': None,
                                             'tips': None},
                             'profitBarMain': {'fissionTag': None,
                                               'name': None,
                                               'tags': []},
                             'profitBarPopupMain': {'coupon': None,
                                                    'fissionCoupon': None,
                                                    'follow': None,
                                                    'formula': None,
                                                    'promotion': None,
                                                    'title': None},
                             'redRank': {'id': None,
                                         'link': None,
                                         'name': None,
                                         'rank': None},
                             'selected': {'itemId': '61e6c3b8363cb300019fd592',
                                          'text': '白色 XL'},
                             'seller': {'grade': '4.0',
                                        'id': '614b07e70301fa000130fa45',
                                        'itemCount': None,
                                        'link': 'https://www.xiaohongshu.com/vendor/614b07e70301fa000130fa45?useNativeChannel=yes&sort=product&naviHidden=yes',
                                        'logo': 'https://sns-avatar-qc.xhscdn.com/avatar/61233ec61c1bf000019f6560.jpg?imageView2/2/w/120/format/jpg',
                                        'name': '悟空有货旗舰店',
                                        'nextTitle': '进店逛逛',
                                        'slogan': None,
                                        'tag': None},
                             'serviceMain': {'list': ['7天无理由退换']},
                             'servicePopup': {'list': [{'description': '该商品运费由商家承担。',
                                                        'icon': None,
                                                        'link': None,
                                                        'showWarehouse': None,
                                                        'title': '包邮'},
                                                       {'description': '该商品的无理由退货条件是:原包装、配件、吊牌标识等完好无损;商品和配件无磨损、污损(如衣服有明显的香水味);无使用、洗过痕迹。换货条件是:尺寸不合适,质量问题/破损/错发货。',
                                                        'icon': None,
                                                        'link': None,
                                                        'showWarehouse': None,
                                                        'title': '7天无理由退换'}],
                                              'title': '服务说明'},
                             'servicePopupMain': {'list': [{'description': '该商品的无理由退货条件是:原包装、配件、吊牌标识等完好无损;商品和配件无磨损、污损(如衣服有明显的香水味);无使用、洗过痕迹。换货条件是:尺寸不合适,质量问题/破损/错发货。',
                                                            'icon': None,
                                                            'link': None,
                                                            'showWarehouse': None,
                                                            'title': '7天无理由退换'}],
                                                  'title': '服务说明'},
                             'shipmentMain': {'fee': '包邮',
                                              'location': '广东广州',
                                              'shipmentIcon': None,
                                              'time': {'mode': 1,
                                                       'text': '该商品预计最晚04月30日发货'}},
                             'shipmentPopupMain': None,
                             'variantsParams': {'list': [{'name': '商品名称',
                                                          'value': '潮牌复古纯色华夫格直筒休闲裤男女街头宽松垂感百搭长裤'},
                                                         {'name': '品牌',
                                                          'value': '悟空有货'},
                                                         {'name': '性别',
                                                          'value': '男'},
                                                         {'name': '适用季节',
                                                          'value': '夏'}],
                                                'title': '规格参数'}}]},
 'error_code': 0,
 'result': 0,
 'success': True}
 

你可能感兴趣的:(小红书API开发系列,大数据,小红书商品详情API接口)