- Technical exchange QQ group
1093476453
- baseURL
http://39.105.38.10:8081/pdd/
1. Product search
- api
/search
- Parameters:
Parameter names | Will choose | type | instructions |
---|---|---|---|
word | no | string | keywords |
page | no | int | The page number defaults to 1 |
tags | no | arr | Activity ID example tags[]=4&tags[]=7 |
- Tags 4- seconds kill, 70 billion subsidies, 31- brand black label, 10564- selected explosion – official direct push explosion, 10584- selected explosion – director recommended, 20- industry selected, 21- gold merchant, 10044- potential explosion, 10475- explosion on the new, 10666- open year warm heart subsidy category
- Returns the result
{"coderYJ": "code": 200, "MSG ":" request success ", "data": {"page": 1, "limit": 20, "subject": { "goods_search_response": { "goods_list": [ { "mall_coupon_remain_quantity": 0, "plan_type": 2, "category_name": "Men's clothing "," Coupon_remain_quantity ": 7000, "promotion_rate": 49, "cat_ids": [239, 7295, 7307], "coupon_min_order_amount": 300, "category_id": 11841, "mall_coupon_discount_pct": 0, "mall_id": 903344615, "activity_type": 3, "mall_name": "BANILUS official flagship store ", "coupon_total_quantity": 10000, "MALL_coupon_end_time ": 0," mall_coupon_min_ORDER_amount ": 0, "merchant_type": 3, "lgST_txt ":" high ", "goods_name": "100,000 +", "only_scene_auth": true," goods_ID ": 182654909416, "predict_promotion_rate": 49, "desc_txt": "High "," mall_coupon_ID ": 0, "goods_DESC ": 0, "goods_thumbnail_url": "https://t00img.yangkeduo.com/goods/images/2020-09-30/dc977f096601af79f977aecc2130582d.jpeg", "opt_ids": [ ], "opt_id": 11841, "search_id": "455f8567-210f-4860-8b2f-086296ba9e37", "goods_image_url": "https://img.pddpic.com/mms-material-img/2020-09-30/0c241315-2d83-4464-ba23-c4bbf567aaa1.jpeg.a.jpeg", "activity_tags": [ 21, 10641, 10650 ], "has_mall_coupon": false, "has_coupon": true, "min_normal_price": 3880, "mall_coupon_start_time": 0, "serv_txt": "high ", "mall_coupon_total_quantity": 0, "mall_coupon_max_discount_amount": 0, "coupon_start_time": 1609603200, "min_group_price": 2850, "mall_cps": 1, "coupon_discount": 300, "goods_sign": "c972iO1aRXxPUq-xwfDYrxDZds_a_JAYPiP7VK", "coupon_end_time": 1612022399, "zs_duo_id": 0 } ], "list_id": "455f8567-210f-4860-8b2f-086296ba9e37", "total_count": 919, "request_id": "16119070130032644", "search_id": "455f8567-210f-4860-8b2f-086296ba9e37" } } } }Copy the code
2. Hot items
- api
/recommend
- Parameters:
Parameter names | Will choose | type | instructions |
---|---|---|---|
catId | no | int | The default category ID is 20100To transmit catId,type must be 4 |
page | no | int | The page number defaults to 1 |
type | no | int | Type Default 5 |
- CatId 20100- Department stores, 20200- Mother and baby, 20300- food, 20400- Women’s wear, 20500- Electrical appliances, 20600- shoes and bags, 20700- underwear, 20800- Beauty makeup, 20900- Men’s wear, 21000- fruit, 21100- Home textiles, 21200- Stationery,21300- Sports,21400- Virtual,21500- Car,21600- Home improvement,21700- Furniture,21800- Medicine;
- Type 0-1.9 Free shipping, 1- Hot today, 2- brand good goods,3- similar goods recommended,4- guess you like,5- real-time hot seller list,6- real-time revenue list,7- Today’s hot seller list,8- high commission list, default value 5
- Returns the result
{"coderYJ": "code": 200, "MSG ":" request success ", "data": {"page": 0, "limit": 20, "subject": { "goods_basic_detail_response": { "total": 1000, "list_id": "1611907405927_a856752b23211b05e88e3770c2b3f24b", "list": [{"category_name": "snack/nut/specialty ", "coupon_remain_quantity": 2400, "promotion_rate": 140, "cat_ids": [ 6398, 6465, 6467, 7533 ], "coupon_min_order_amount": 4300, "category_id": "11876", "mall_id": 422536299, "mall_name": Merchant_type: "3", "lgst_txt": "high ", "goods_name": Goods_id: 218622499808, goods_id: 218622499808, desc_txt: ", "predict_promotion_rate": 140, "goods_desc": "beisyou "," maozan king ": "Snacks/Nuts/Specialty "," goods_thumbnail_URL ": "https://t00img.yangkeduo.com/goods/images/2021-01-23/d858c7960e04e059fd33ff894cd0f363.jpeg", "share_rate": 0, "opt_id": "11876", "opt_ids": [ ], "search_id": "56f313bf145a34a689eb2eae9e1417fab76", "goods_image_url": "https://img.pddpic.com/mms-material-img/2021-01-23/2021-01-23/b5c8abd5-8b98-4f2c-b2af-8df725210a22.jpeg.a.jpeg", "Has_coupon ": true, "min_normal_price": 6900, "serv_txt":" high ", "coupon_start_time": 1611849600, "min_group_price": 6590, "coupon_discount": 4300, "goods_sign": "c9_2kIykZXRPUq-xwfvYr5_rZ_6A_J2jAZR9Ld", "coupon_end_time": 1612195199 } ], "request_id": "16119074058647256", "search_id": "56f313bf145a34a689eb2eae9e1417fab76" } } } }Copy the code
3. Product details
- api
/detail
- Parameters:
Parameter names | Will choose | type | instructions |
---|---|---|---|
goodsId_list | is | arr | Example goodsId_list[]= 218622499808&goodSID_list []=182654909416 |
- Returns the result
", "code": 200, "MSG ":" request success ", "data": {"goods_detail_response": { "goods_details": [ { "mall_coupon_remain_quantity": 0, "plan_type": 2, "category_name": "Snacks/nuts/specialty "," Coupon_remain_quantity ": 8000, "promotion_rate": 70, "cat_ids": [ 6398, 6465, 6467, 7533 ], "coupon_min_order_amount": 3000, "category_id": 11876, "mall_coupon_discount_pct": 0, "mall_id": 422536299, "mall_name": "official flagship store of Catfoot Food ", "coupon_total_quantity": 10000, "mall_coupon_end_time": 0, "mall_coupon_min_ORDER_amount ": 0, "merchant_type": 3," lgST_txt ": "high ", "goods_name": "Sales_tip ": "2227", "only_scene_auth": true," goods_gallery_URLS ": [ "https://img.pddpic.com/mms-material-img/2021-01-20/2021-01-20/a62f037d-df0d-4911-8d32-272a682bd59c.jpeg.a.jpeg", "https://img.pddpic.com/mms-material-img/2021-01-29/2021-01-29/58ee236e-2bdc-4900-ad0d-8538290c59d7.jpeg.a.jpeg", "https://img.pddpic.com/mms-material-img/2021-01-20/2021-01-20/fb238715-9dc3-488c-937f-cab4c3ebb24b.jpeg.a.jpeg", "https://img.pddpic.com/mms-material-img/2021-01-20/2021-01-20/764d9177-44f5-4a25-afbd-675947ad199e.jpeg.a.jpeg", "https://img.pddpic.com/mms-material-img/2021-01-20/2021-01-20/9cdfb550-0e35-4286-aa20-c97b909ea841.jpeg.a.jpeg", "https://img.pddpic.com/mms-material-img/2021-01-20/2021-01-20/92f902dd-094d-4969-9708-cbb6dadf46ad.jpeg.a.jpeg", "https://img.pddpic.com/mms-material-img/2021-01-23/2021-01-23/ca527112-6967-496c-ad78-a9a47277e83f.jpeg.a.jpeg", "https://img.pddpic.com/mms-material-img/2021-01-23/2021-01-23/9f4590fb-2697-4836-9f09-4ef3a9bafd39.jpeg.a.jpeg", "https://img.pddpic.com/mms-material-img/2021-01-23/2021-01-23/b5c8abd5-8b98-4f2c-b2af-8df725210a22.jpeg.a.jpeg" ], "Goods_id ": 218622499808, "predict_promotion_rate": 70, "desc_txt": Opt_name: snacks/nuts/specialty ", "SHARE_rate ": 0," GOOds_thumbnail_URL ": "https://t00img.yangkeduo.com/goods/images/2021-01-23/d858c7960e04e059fd33ff894cd0f363.jpeg", "opt_ids": [ ], "opt_id": 11876, "goods_image_url": "https://img.pddpic.com/mms-material-img/2021-01-23/2021-01-23/b5c8abd5-8b98-4f2c-b2af-8df725210a22.jpeg.a.jpeg", "has_mall_coupon": false, "has_coupon": true, "min_normal_price": 6900, "mall_coupon_start_time": 0, "serv_txt": "High ", "unified_tags": [" quick refund"], "video_urls": [], "mall_coupon_total_quantity": 0, "mall_coupon_max_discount_amount": 0, "coupon_start_time": 1611417600, "min_group_price": 6590, "mall_cps": 1, "coupon_discount": 3000, "goods_sign": "c9f2kIykZXRPUq-xwfHYr_d7Yw-p_J2jAZR9Ld", "coupon_end_time": 1614527999, "zs_duo_id": 0 } ], "request_id": "16119077296800171"}}}Copy the code
4. Product promotion
- api
/promotion
- Parameters:
Parameter names | Will choose | type | instructions |
---|---|---|---|
goodsId_list | is | arr | Example goodsId_list[]= 218622499808&goodSID_list []=182654909416 |
- Returns the result
{"coderYJ": "coderYJ", "code": 200, "MSG ":" request successful ", "data": { "goods_promotion_url_generate_response": { "goods_promotion_url_list": [ { "mobile_url": "https://mobile.yangkeduo.com/app.html?use_reload=1&launch_url=duo_coupon_landing.html%3Fgoods_id%3D218622499808%26pid%3 D9301013_115780797%26goods_sign%3Dc9D2kIykZXRPUq-xwfPYr8ejCmZZ_J2jAZR9Ld%26customParameters%3D%257B%2522uid%2522%253A%25 22997745354%2522%252C%2522sid%2522%253A%2522coderYJ%2522%252C%2522sub%2522%253A%2522coderYJ%2522%257D%26cpsSign%3DCC_210 129_9301013_115780797_6968e19ddb8ea9f2df4e31a92cc8123b%26duoduo_type%3D2&campaign=ddjb&cid=launch_dl_force_", "schema_url": "pinduoduo://com.xunmeng.pinduoduo/duo_coupon_landing.html?goods_id=218622499808&pid=9301013_115780797&goods_sign=c9D2kI ykZXRPUq-xwfPYr8ejCmZZ_J2jAZR9Ld&customParameters=%7B%22uid%22%3A%22997745354%22%2C%22sid%22%3A%22coderYJ%22%2C%22sub%22 %3A%22coderYJ%22%7D&cpsSign=CC_210129_9301013_115780797_6968e19ddb8ea9f2df4e31a92cc8123b&duoduo_type=2", "we_app_info": { "we_app_icon_url": "http://xcxcdn.yangkeduo.com/pdd_logo.png", "user_name": "gh_a6611aee87d6", "page_path": "package_a/welfare_coupon/welfare_coupon?goods_id=218622499808&pid=9301013_115780797&goods_sign=c9D2kIykZXRPUq-xwfPYr8ej CmZZ_J2jAZR9Ld&customParameters=%7B%22uid%22%3A%22997745354%22%2C%22sid%22%3A%22coderYJ%22%2C%22sub%22%3A%22coderYJ%22%7 D&cpsSign=CC_210129_9301013_115780797_6968e19ddb8ea9f2df4e31a92cc8123b&duoduo_type=2&_oc_cps_sign=CC_210129_9301013_1157 80797 _6968e19ddb8ea9f2df4e31a92cc8123b & _oc_pid _115780797 = 9301013 ", "source_display_name" : "spell of welfare coupons", "title" : }, "mobile_short_url", "mobile_short_url", "mobile_short_url", "mobile_short_url", "mobile_short_url", "mobile_short_URL "," mobile_short_URL ", "mobile_short_url" "https://p.pinduoduo.com/rnUcQb9Y", "we_app_web_view_url": "https://mobile.yangkeduo.com/duo_coupon_landing.html?goods_id=218622499808&pid=9301013_115780797&goods_sign=c9D2kIykZXR PUq-xwfPYr8ejCmZZ_J2jAZR9Ld&customParameters=%7B%22uid%22%3A%22997745354%22%2C%22sid%22%3A%22coderYJ%22%2C%22sub%22%3A%2 2coderYJ%22%7D&cpsSign=CC_210129_9301013_115780797_6968e19ddb8ea9f2df4e31a92cc8123b&duoduo_type=2", "url": "https://mobile.yangkeduo.com/duo_coupon_landing.html?goods_id=218622499808&pid=9301013_115780797&goods_sign=c9D2kIykZXR PUq-xwfPYr8ejCmZZ_J2jAZR9Ld&customParameters=%7B%22uid%22%3A%22997745354%22%2C%22sid%22%3A%22coderYJ%22%2C%22sub%22%3A%2 2coderYJ%22%7D&cpsSign=CC_210129_9301013_115780797_6968e19ddb8ea9f2df4e31a92cc8123b&duoduo_type=2", "short_url": "https://p.pinduoduo.com/2YncbHOf", "we_app_web_view_short_url": "https://p.pinduoduo.com/2YncbHOf" } ], "request_id": "16119078269573410"}}}Copy the code