其他分享
首页 > 其他分享> > 闲鱼API接口,如何获取原生数据

闲鱼API接口,如何获取原生数据

作者:互联网

闲鱼平台API,item_app 获得闲鱼原生数据

num_iid:闲鱼商品ID
在这里插入图片描述
点击获取key和secret*

当你有了账号时候点到测试页面,下面是我测试的结果
在这里插入图片描述

返回参数

Result Object:
---------------------------------------
{
	"item": {
		"all_result": {
			"itemDO": {
				"browseCnt": "7236",
				"categoryId": "125938002",
				"charitableItem": "false",
				"charitableTag": {
					"iconHeight": "60",
					"iconUrl": "http://gw.alicdn.com/mt/TB1FjjLdkcx_u4jSZFlXXXnUFXa-204-60.png",
					"iconWidth": "204"
				},
				"defaultPicture": "false",
				"defaultPrice": "false",
				"desc": "苹果 家里亲戚家里的果园,一百多亩,洛川苹果又脆又甜,包邮连箱10斤。知道网络的强大,所以在这上面把批发价给到大家!大家都知道超市贵。付款3天后发货,下面是包装的图片可以看看哦!超级甜,买过的好评不断!",
				"descRelativeTags": [
					{
						"iconHeight": "28",
						"iconUrl": "https://gw.alicdn.com/bao/uploaded/TB1DMR1chrI8KJjy0FpXXb5hVXa-52-28.png",
						"iconWidth": "52"
					}
				],
				"favorCnt": "7",
				"imageInfos": [
					{
						"heightSize": "1080",
						"major": "false",
						"type": "0",
						"url": "http://img.alicdn.com/bao/uploaded/i2/O1CN01OJd5Pz1jKKMFBh8fs_!!0-fleamarket.jpg",
						"widthSize": "1080"
					},
					{
						"heightSize": "1440",
						"major": "false",
						"type": "0",
						"url": "http://img.alicdn.com/bao/uploaded/i3/O1CN01gx2L0T22pRyLaM6KK_!!0-fleamarket.jpg",
						"widthSize": "1080"
					},
					{
						"heightSize": "1440",
						"major": "false",
						"type": "0",
						"url": "http://img.alicdn.com/bao/uploaded/i2/O1CN019N6C3u1sEDcPyNQIv_!!0-fleamarket.jpg",
						"widthSize": "1080"
					},
					{
						"heightSize": "1920",
						"major": "false",
						"type": "0",
						"url": "http://img.alicdn.com/bao/uploaded/i2/O1CN01lD5cp51GQcxFd6RkS_!!0-fleamarket.jpg",
						"widthSize": "886"
					},
					{
						"heightSize": "1746",
						"major": "false",
						"type": "0",
						"url": "http://img.alicdn.com/bao/uploaded/i2/O1CN015feBrD1tqWMSPkPen_!!0-fleamarket.jpg",
						"widthSize": "806"
					}
				],
				"itemCatDTO": {
					"catId": "125938002",
					"leafId": "1701",
					"sugShow": "false"
				},
				"itemId": "606764782215",
				"itemStatus": "0",
				"itemStatusStr": "在线",
				"itemType": "detailCommonBuy",
				"originalPrice": "0",
				"priceRelativeTags": [
					{
						"iconHeight": "28",
						"iconUrl": "http://gw.alicdn.com/mt/TB1DwfgpStYBeNjSspkXXbU8VXa-56-28.png",
						"iconWidth": "56"
					}
				],
				"priceUnit": "",
				"quantity": "1",
				"secuGuide": {
					"secuBody": "https://gw.alicdn.com/mt/TB1V4Q9OVXXXXa7aXXXXXXXXXXX-488-430.png",
					"secuBtm": "*闲置商品不支持7天无理由退货服务。请保证在闲鱼平台进行支付,否则闲鱼将无法保证您交易的安全。",
					"secuBtmContext": "点击查看更多知识",
					"secuBtmUrl": "https://ai.alimebot.taobao.com/intl/index.htm?from=mmcHJdQwpZ",
					"secuContent": "担保交易",
					"secuIcon": "https://gw.alicdn.com/tps/TB1xwS9MVXXXXbGXVXXXXXXXXXX-24-24.png",
					"secuTitle": "什么是闲鱼支付宝担保交易?"
				},
				"simpleItem": "false",
				"soldPrice": "22.80",
				"templateId": "0",
				"title": "苹果",
				"trackParams": {
					"itemId": "606764782215",
					"sellerBucketId": "15",
					"sellerId": "791632877"
				},
				"transportFee": "0.00",
				"videoPlayInfo": {
					"heightSize": "1280",
					"ld320pUrl": "https://cloud.video.taobao.com/play/u/791632877/p/1/e/6/t/1/d/ld/248192363167.mp4",
					"major": "true",
					"mtsVid": "248192363167",
					"playUrl": "http://xianyu-video.alicdn.com/1576386923973.786865",
					"sd480pUrl": "https://cloud.video.taobao.com/play/u/791632877/p/1/e/6/t/1/d/sd/248192363167.mp4",
					"type": "10000",
					"url": "http://img.alicdn.com/bao/uploaded/i1/O1CN01qsyTa91x3IFZgVcwv_!!0-fleamarket.jpg",
					"videoId": "123066913",
					"widthSize": "720"
				},
				"wantCnt": "374"
			},
			"needDecryptKeys": [
				"sellerDO.nick",
				"sellerDO.uniqueName"
			],
			"sellerDO": {
				"city": "盐城",
				"identityTags": [
					{
						"iconHeight": "32",
						"iconUrl": "https://gw.alicdn.com/bao/uploaded/TB1E3aKPFXXXXcKXpXXXXXXXXXX-32-32.png",
						"iconWidth": "32",
						"link": "https://h5.m.taobao.com/2shou/pd/realVerifyUrl.html?userId=791632877&isVerify=1",
						"text": "实人认证已通过",
						"trackParams": {
							"appearTrackName": "",
							"trackCtrlName": "Button-Shiren"
						},
						"type": "1"
					},
					{
						"iconHeight": "32",
						"iconUrl": "https://gw.alicdn.com/tfs/TB1DuVuB7P2gK0jSZPxXXacQpXa-32-32.png",
						"iconWidth": "32",
						"link": "fleamarket://personalPage?userid=791632877&ignore=false&userzhima=true&loginuserzhima=false",
						"text": "芝麻信用已授权",
						"trackParams": {
							"appearTrackName": "",
							"trackCtrlName": "Button-Zhima"
						},
						"type": "100"
					}
				],
				"lastVisitTime": "3天前来过",
				"levelTags": [
					{
						"iconHeight": "32.0",
						"iconUrl": "https://gw.alicdn.com/tfs/TB1nehXk4vbeK8jSZPfXXariXXa-240-48.png",
						"iconWidth": "160.0"
					},
					{
						"iconHeight": "28.0",
						"iconUrl": "https://gw.alicdn.com/tfs/TB1DM04aGWs3KVjSZFxXXaWUXXa-28-28.png",
						"iconWidth": "28.0"
					}
				],
				"nick": "豆***站",
				"portraitUrl": "http://img.alicdn.com/sns_logo/i1/O1CN01QZlS7H1JA5UXF4Hdb_!!0-fleamarket.jpg",
				"publishCity": "发布于盐城",
				"sellerId": "791632877",
				"uniqueName": "豆***站",
				"xianyuSummary": "来闲鱼1628天了,卖出过185件宝贝。80后摩羯座女生。喜欢美食、旅游。",
				"zhimaAuth": "true",
				"zhimaLevelInfo": {
					"levelCode": "A",
					"levelName": "信用极好"
				}
			},
			"serverTime": "2021-02-25 16:13:32",
			"trackParams": {
				"categoryId": "125938002",
				"detailRedirectPublishUrl": "fleamarket://want_buy_post?flutter=true&sourceId=bid_detail_button&spuItemId=606764782215&use_draft=false&desc=%E6%B1%82%E8%B4%AD%E8%8B%B9%E6%9E%9C",
				"itemId": "606764782215",
				"mainPic": "http://img.alicdn.com/bao/uploaded/i1/O1CN01qsyTa91x3IFZgVcwv_!!0-fleamarket.jpg",
				"sellerBucketId": "15",
				"sellerId": "791632877",
				"sellerInBuyBucketId": "13",
				"sellerInBuyOptions": "newTagPage",
				"sellerOptions": "simplePub|newTagPage|myPubSameSpu|spuGuide|itemGuide|toBuyB|tagV2|mtbFeeds|mtbSell|mtbHome|tobuyQuery|tobuyInitiative|glbV2|ignoreImageEditor|textSameSpu|cpvUnfoldPublish|tellusNewTask"
			}
		},
		"cid": "125938002",
		"desc": "苹果 家里亲戚家里的果园,一百多亩,洛川苹果又脆又甜,包邮连箱10斤。知道网络的强大,所以在这上面把批发价给到大家!大家都知道超市贵。付款3天后发货,下面是包装的图片可以看看哦!超级甜,买过的好评不断!",
		"detail_url": "https://market.m.taobao.com/app/idleFish-F2e/widle-taobao-rax/page-detail?id=606764782215",
		"item_imgs": [
			"http://img.alicdn.com/bao/uploaded/i2/O1CN01OJd5Pz1jKKMFBh8fs_!!0-fleamarket.jpg",
			"http://img.alicdn.com/bao/uploaded/i3/O1CN01gx2L0T22pRyLaM6KK_!!0-fleamarket.jpg",
			"http://img.alicdn.com/bao/uploaded/i2/O1CN019N6C3u1sEDcPyNQIv_!!0-fleamarket.jpg",
			"http://img.alicdn.com/bao/uploaded/i2/O1CN01lD5cp51GQcxFd6RkS_!!0-fleamarket.jpg",
			"http://img.alicdn.com/bao/uploaded/i2/O1CN015feBrD1tqWMSPkPen_!!0-fleamarket.jpg"
		],
		"nick": "豆***站",
		"num_iid": "606764782215",
		"orginal_price": "0",
		"pic_head": "http://img.alicdn.com/sns_logo/i1/O1CN01QZlS7H1JA5UXF4Hdb_!!0-fleamarket.jpg",
		"pic_url": "http://img.alicdn.com/bao/uploaded/i1/O1CN01qsyTa91x3IFZgVcwv_!!0-fleamarket.jpg",
		"price": "22.80",
		"seller_id": "791632877",
		"title": "苹果",
		"data_from": "app"
	},
	"secache": "e0f857203e19681264a09298aa625d47",
	"secache_time": 1614240812,
	"secache_date": "2021-02-25 16:13:32",
	"error": "",
	"reason": "",
	"error_code": "0000",
	"cache": 0,
	"api_info": "today:9 max:10000",
	"execution_time": 0.376,
	"server_time": "Beijing/2021-02-25 16:13:32",
	"client_ip": "106.6.38.6",
	"call_args": {
		"num_iid": "606764782215"
	},
	"api_type": "xianyu",
	"translate_language": "zh-CN",
	"translate_engine": "baidu",
	"server_memory": "2.66MB",
	"request_id": "gw-4.60375c2c38237"

参考资料

《开放平台安全等级说明》

[API 工具]
API测试网址
如何开通API测试,点击立即开通

标签:原生,uploaded,http,img,fleamarket,闲鱼,API,alicdn,com
来源: https://blog.csdn.net/Alan_751/article/details/114089439