拼多多商品详情|多多进宝商品详情|拼多多商品详情接口

本接口用于查询某个商品的详情信息:
商品标题、商品描述、商品分类/标签、最小拼团价、最小单买价、商品历史累计售卖件数(模糊值,string类型,非数值)、优惠券金额、优惠券数量、优惠券剩余数量、优惠券门槛、优惠券有效期、商品评价分、商品评价数量、佣金比例、商品轮播图。

【接口请求参数】

请求参数:num_iid=1620002566

参数说明:num_iid:商品ID ;

【接口公共参数】

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

 【请求代码示例(CURL、PHP 、PHPsdk 、Java 、C# 、Python…)  】

# coding:utf-8
"""
Compatible for python2.x and python3.x
requirement: pip install requests
"""
from __future__ import print_function
import requests
# 请求示例 url 默认请求参数已经做URL编码
url = "https://wx19970108018/pinduoduo/item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=1620002566"
headers = {
    "Accept-Encoding": "gzip",
    "Connection": "close"
}
if __name__ == "__main__":
    r = requests.get(url, headers=headers)
    json_obj = r.json()
    print(json_obj)

【接口响应示例】

Result Object:
---------------------------------------
{
	"item": {
		"SourceType": 6,
		"OfferId": 1620002566,
		"CategoryId": 8484,
		"Subject": "【2件套】套装秋冬新款仿獭兔毛钉珠皮草毛毛短外套加厚大衣女装",
		"ImageUrls": [
			"https://omsproductionimg.yangkeduo.com/images/2017-12-12/bcf848aa71c6389607ae7a84b70f1543.jpeg",
			"https://omsproductionimg.yangkeduo.com/images/2017-12-12/176019babfdecffa1d9f98f40b7e99b4.jpeg",
			"https://omsproductionimg.yangkeduo.com/images/2017-12-12/efb5db42397550bffd3211ca6f197498.jpeg",
			"https://omsproductionimg.yangkeduo.com/images/2017-12-12/d209ef7bcc9183c3bb8ca1dfdb108d49.jpeg",
			"https://omsproductionimg.yangkeduo.com/images/2017-12-12/74257ab65f3f00da7a90fde9042fe640.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2019-08-17/e8fbd9cb-cc74-4caa-9380-84c46d27b008.jpg",
			"https://t00img.yangkeduo.com/goods/images/2019-08-17/d76f515b-e375-4060-b94e-cf64f6b0964e.jpg",
			"https://t00img.yangkeduo.com/goods/images/2019-08-17/f2f279b5-6000-4fbe-b99b-7c1cbd7884ea.jpg"
		],
		"SkuProps": [
			{
				"IsImg": true,
				"Prop": "颜色",
				"Value": [
					{
						"name": "粉色两件套(外套+裙子)",
						"value": "1215:1115500378",
						"imageUrl": "http://t00img.yangkeduo.com/goods/images/2018-08-28/062d42b525a7c786920cbb83ac772af7.jpeg"
					},
					{
						"name": "米色两件套(外套+裙子)",
						"value": "1215:1115501666",
						"imageUrl": "http://t00img.yangkeduo.com/goods/images/2018-08-28/415bed99d5a925123d7b7c39547205de.jpeg"
					},
					{
						"name": "蓝色两件套(外套+裙子)",
						"value": "1215:105309781",
						"imageUrl": "http://t00img.yangkeduo.com/goods/images/2018-11-17/48b30664f0f7e526ab1b956e813f25cf.jpeg"
					}
				]
			},
			{
				"IsImg": false,
				"Prop": "尺码",
				"Value": [
					{
						"name": "S(90斤以下)",
						"value": "1226:119128"
					},
					{
						"name": "M(90-100斤)",
						"value": "1226:96784"
					},
					{
						"name": "L(100-110斤)",
						"value": "1226:33651"
					},
					{
						"name": "XL(110-120斤)",
						"value": "1226:33652"
					},
					{
						"name": "2XL(120-130斤)",
						"value": "1226:33653"
					},
					{
						"name": "3XL(130-140斤)",
						"value": "1226:33656"
					}
				]
			}
		],
		"SkuMaps": [
			{
				"SkuId": "57114357891",
				"Key": "1215:1115500378;1226:119128",
				"SpecAttributes": {
					"颜色": "粉色两件套(外套+裙子)",
					"尺码": "S(90斤以下)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 74,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-08-28/062d42b525a7c786920cbb83ac772af7.jpeg"
			},
			{
				"SkuId": "57114357892",
				"Key": "1215:1115500378;1226:96784",
				"SpecAttributes": {
					"颜色": "粉色两件套(外套+裙子)",
					"尺码": "M(90-100斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 21,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-08-28/062d42b525a7c786920cbb83ac772af7.jpeg"
			},
			{
				"SkuId": "57114357893",
				"Key": "1215:1115500378;1226:33651",
				"SpecAttributes": {
					"颜色": "粉色两件套(外套+裙子)",
					"尺码": "L(100-110斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 31,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-08-28/062d42b525a7c786920cbb83ac772af7.jpeg"
			},
			{
				"SkuId": "57114357894",
				"Key": "1215:1115500378;1226:33652",
				"SpecAttributes": {
					"颜色": "粉色两件套(外套+裙子)",
					"尺码": "XL(110-120斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 44,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-08-28/062d42b525a7c786920cbb83ac772af7.jpeg"
			},
			{
				"SkuId": "57114357895",
				"Key": "1215:1115500378;1226:33653",
				"SpecAttributes": {
					"颜色": "粉色两件套(外套+裙子)",
					"尺码": "2XL(120-130斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 20,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-08-28/062d42b525a7c786920cbb83ac772af7.jpeg"
			},
			{
				"SkuId": "57114357896",
				"Key": "1215:1115500378;1226:33656",
				"SpecAttributes": {
					"颜色": "粉色两件套(外套+裙子)",
					"尺码": "3XL(130-140斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 31,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-08-28/062d42b525a7c786920cbb83ac772af7.jpeg"
			},
			{
				"SkuId": "57114357897",
				"Key": "1215:1115501666;1226:119128",
				"SpecAttributes": {
					"颜色": "米色两件套(外套+裙子)",
					"尺码": "S(90斤以下)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 1066,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-08-28/415bed99d5a925123d7b7c39547205de.jpeg"
			},
			{
				"SkuId": "57114357898",
				"Key": "1215:1115501666;1226:96784",
				"SpecAttributes": {
					"颜色": "米色两件套(外套+裙子)",
					"尺码": "M(90-100斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 111,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-08-28/415bed99d5a925123d7b7c39547205de.jpeg"
			},
			{
				"SkuId": "57114357899",
				"Key": "1215:1115501666;1226:33651",
				"SpecAttributes": {
					"颜色": "米色两件套(外套+裙子)",
					"尺码": "L(100-110斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 80,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-08-28/415bed99d5a925123d7b7c39547205de.jpeg"
			},
			{
				"SkuId": "57114357900",
				"Key": "1215:1115501666;1226:33652",
				"SpecAttributes": {
					"颜色": "米色两件套(外套+裙子)",
					"尺码": "XL(110-120斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 684,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-08-28/415bed99d5a925123d7b7c39547205de.jpeg"
			},
			{
				"SkuId": "57114357901",
				"Key": "1215:1115501666;1226:33653",
				"SpecAttributes": {
					"颜色": "米色两件套(外套+裙子)",
					"尺码": "2XL(120-130斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 45,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-08-28/415bed99d5a925123d7b7c39547205de.jpeg"
			},
			{
				"SkuId": "57114357902",
				"Key": "1215:1115501666;1226:33656",
				"SpecAttributes": {
					"颜色": "米色两件套(外套+裙子)",
					"尺码": "3XL(130-140斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 44,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-08-28/415bed99d5a925123d7b7c39547205de.jpeg"
			},
			{
				"SkuId": "103851107855",
				"Key": "1215:105309781;1226:119128",
				"SpecAttributes": {
					"颜色": "蓝色两件套(外套+裙子)",
					"尺码": "S(90斤以下)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 0,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-11-17/48b30664f0f7e526ab1b956e813f25cf.jpeg"
			},
			{
				"SkuId": "103851107856",
				"Key": "1215:105309781;1226:96784",
				"SpecAttributes": {
					"颜色": "蓝色两件套(外套+裙子)",
					"尺码": "M(90-100斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 0,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-11-17/3660b7893ca5cda1ffcea745d10b2506.jpeg"
			},
			{
				"SkuId": "103851107857",
				"Key": "1215:105309781;1226:33651",
				"SpecAttributes": {
					"颜色": "蓝色两件套(外套+裙子)",
					"尺码": "L(100-110斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 0,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-11-17/a4a5a671afbb2d8e1f4c21c0ced3bea8.jpeg"
			},
			{
				"SkuId": "103851107858",
				"Key": "1215:105309781;1226:33652",
				"SpecAttributes": {
					"颜色": "蓝色两件套(外套+裙子)",
					"尺码": "XL(110-120斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 0,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-11-17/f0551176629bf81f25757c160198dba1.jpeg"
			},
			{
				"SkuId": "103851107853",
				"Key": "1215:105309781;1226:33653",
				"SpecAttributes": {
					"颜色": "蓝色两件套(外套+裙子)",
					"尺码": "2XL(120-130斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 0,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-11-17/801a2e23140bfe76229f02aab0a8a5fe.jpeg"
			},
			{
				"SkuId": "103851107854",
				"Key": "1215:105309781;1226:33656",
				"SpecAttributes": {
					"颜色": "蓝色两件套(外套+裙子)",
					"尺码": "3XL(130-140斤)"
				},
				"Price": 95.4,
				"OriginalPrice": 115,
				"AmountOnSale": 0,
				"ImageUrl": "http://t00img.yangkeduo.com/goods/images/2018-11-17/2f202934f16f0eee41257b77bf489262.jpeg"
			}
		],
		"PriceRangeInfos": [
			{
				"ConvertPrice": 0,
				"Price": 95.4,
				"Range": "3"
			}
		],
		"OriginalPriceRangeInfos": [
			{
				"ConvertPrice": 0,
				"Price": 115,
				"Range": "3"
			}
		],
		"AmountOnSale": 2251,
		"DescUrl": null,
		"Detail": "",
		"ProductFeatures": {
			"面料材质": "仿皮草",
			"成分含量": "71%(含)—80%(含)",
			"版型": "修身",
			"领型": "圆领",
			"衣长": "短款",
			"是否带毛领": "不带毛领",
			"主风格": "气质名媛"
		},
		"ProductFeatureTuples": [
			{
				"Item1": "面料材质",
				"Item2": "仿皮草"
			},
			{
				"Item1": "成分含量",
				"Item2": "71%(含)—80%(含)"
			},
			{
				"Item1": "版型",
				"Item2": "修身"
			},
			{
				"Item1": "领型",
				"Item2": "圆领"
			},
			{
				"Item1": "衣长",
				"Item2": "短款"
			},
			{
				"Item1": "是否带毛领",
				"Item2": "不带毛领"
			},
			{
				"Item1": "主风格",
				"Item2": "气质名媛"
			}
		],
		"Unit": null,
		"Delivery": {
			"From": null,
			"To": null,
			"Postage": "快递 免运费",
			"extras": null,
			"Info": null,
			"MarkInfo": null
		},
		"MainImageVideo": null,
		"ShopName": "果果家气质女装",
		"ShopUrl": "http://yangkeduo.com/mall_page.html?mall_id=461742",
		"ShopId": "461742",
		"UserId": "461742",
		"SellerId": null,
		"SellerNick": null,
		"ShopInfo": null,
		"SellCount": "已拼4.1万件",
		"Coupon": null,
		"Tag": null,
		"FansCount": null,
		"RateCount": null,
		"RetryCount": 0,
		"_ddf": "ha2",
		"format_check": "ok"
	},
	"error": "",
	"secache": "c98b29872e8a4b28859db207944ba817",
	"secache_time": 1664347437,
	"secache_date": "2022-09-28 14:43:57",
	"reason": "",
	"error_code": "0000",
	"cache": 0,
	"api_info": "today:47 max:10000 all[110=47+34+29];expires:2030-12-31",
	"execution_time": "0.462",
	"server_time": "Beijing/2022-09-28 14:43:57",
	"client_ip": "106.6.34.243",
	"call_args": {
		"num_iid": "1620002566"
	},
	"api_type": "pinduoduo",
	"translate_language": "zh-CN",
	"translate_engine": "baidu",
	"server_memory": "3.19MB",
	"request_id": "gw-1.6333ed2cbe15d",
	"last_id": "1249420245"
}

你可能感兴趣的:(拼多多平台API接口开发系列,拼多多商品详情接口,拼多多商品列表接口,拼多多优惠券接口,拼多多商品销量接口,拼多多api接口)