拼多多商品API

  • 技术交流QQ群 1093476453
  • baseURL http://39.105.38.10:8081/pdd/

1.商品搜索

  • api /search
  • 参数:
参数名必选类型说明
wordstring关键词
pageint页码 默认1
tagsarr活动id 示例 tags[]=4&tags[]=7
  • tags 4-秒杀,7-百亿补贴,31-品牌黑标,10564-精选爆品-官方直推爆款,10584-精选爆品-团长推荐,20-行业精选,21-金牌商家,10044-潜力爆品,10475-爆品上新,10666-开年暖心补贴类目
  • 返回结果
{
    "coderYJ": "简书关注coderYJ 欢迎加QQ群讨论277030213",
    "code": 200,
    "msg": "请求成功",
    "data": {
        "page": 1,
        "limit": 20,
        "subject": {
            "goods_search_response": {
                "goods_list": [
                    {
                        "mall_coupon_remain_quantity": 0,
                        "plan_type": 2,
                        "category_name": "男装",
                        "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服装官方旗舰店",
                        "coupon_total_quantity": 10000,
                        "mall_coupon_end_time": 0,
                        "mall_coupon_min_order_amount": 0,
                        "merchant_type": 3,
                        "lgst_txt": "高",
                        "goods_name": "秋冬加绒潮牌工装裤男宽松大码休闲裤子男学生韩版潮流哈伦束脚裤",
                        "sales_tip": "10万+",
                        "only_scene_auth": true,
                        "goods_id": 182654909416,
                        "predict_promotion_rate": 49,
                        "desc_txt": "高",
                        "mall_coupon_id": 0,
                        "goods_desc": "秋冬加绒潮牌工装裤男宽松大码休闲裤子男学生韩版潮流哈伦束脚裤",
                        "opt_name": "男装",
                        "share_rate": 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": "高",
                        "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"
            }
        }
    }
}

2.爆款商品

  • api /recommend
  • 参数:
参数名必选类型说明
catIdint分类id 默认20100
pageint页码 默认1
typeint类型 默认5
  • catId 20100-百货,20200-母婴,20300-食品,20400-女装,20500-电器,20600-鞋包,20700-内衣,20800-美妆,20900-男装,21000-水果,21100-家纺,21200-文具,21300-运动,21400-虚拟,21500-汽车,21600-家装,21700-家具,21800-医药;
  • type 0-1.9包邮, 1-今日爆款, 2-品牌好货,3-相似商品推荐,4-猜你喜欢,5-实时热销榜,6-实时收益榜,7-今日热销榜,8-高佣榜单,默认值5
  • 返回结果
{
    "coderYJ": "简书关注coderYJ 欢迎加QQ群讨论277030213",
    "code": 200,
    "msg": "请求成功",
    "data": {
        "page": 0,
        "limit": 20,
        "subject": {
            "goods_basic_detail_response": {
                "total": 1000,
                "list_id": "1611907405927_a856752b23211b05e88e3770c2b3f24b",
                "list": [
                    {
                        "category_name": "零食/坚果/特产",
                        "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": "猫脚丫食品官方旗舰店",
                        "coupon_total_quantity": 5000,
                        "merchant_type": "3",
                        "lgst_txt": "高",
                        "goods_name": "贝士优榴莲千层蛋糕爆浆6寸猫山王榴莲奶油网红生日蛋糕厂家直销",
                        "sales_tip": "2214",
                        "goods_id": 218622499808,
                        "desc_txt": "高",
                        "predict_promotion_rate": 140,
                        "goods_desc": "贝士优榴莲千层蛋糕爆浆6寸猫山王榴莲奶油网红生日蛋糕厂家直销",
                        "opt_name": "零食/坚果/特产",
                        "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": "高",
                        "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"
            }
        }
    }
}

3.商品详情

  • api /detail
  • 参数:
参数名必选类型说明
goodsId_listarr商品id 示例 goodsId_list[]=218622499808&goodsId_list[]=182654909416
  • 返回结果
{
    "coderYJ": "简书关注coderYJ 欢迎加QQ群讨论277030213",
    "code": 200,
    "msg": "请求成功",
    "data": {
        "goods_detail_response": {
            "goods_details": [
                {
                    "mall_coupon_remain_quantity": 0,
                    "plan_type": 2,
                    "category_name": "零食/坚果/特产",
                    "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": "猫脚丫食品官方旗舰店",
                    "coupon_total_quantity": 10000,
                    "mall_coupon_end_time": 0,
                    "mall_coupon_min_order_amount": 0,
                    "merchant_type": 3,
                    "lgst_txt": "高",
                    "goods_name": "贝士优榴莲千层蛋糕爆浆6寸猫山王榴莲奶油网红生日蛋糕厂家直销",
                    "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": "高",
                    "goods_desc": "贝士优榴莲千层蛋糕爆浆6寸猫山王榴莲奶油网红生日蛋糕厂家直销",
                    "opt_name": "零食/坚果/特产",
                    "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": "高",
                    "unified_tags": [
                        "极速退款"
                    ],
                    "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"
        }
    }
}

4.商品推广

  • api /promotion
  • 参数:
参数名必选类型说明
goodsId_listarr商品id 示例 goodsId_list[]=218622499808&goodsId_list[]=182654909416
  • 返回结果
{
    "coderYJ": "简书关注coderYJ 欢迎加QQ群讨论277030213",
    "code": 200,
    "msg": "请求成功",
    "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%3D9301013_115780797%26goods_sign%3Dc9D2kIykZXRPUq-xwfPYr8ejCmZZ_J2jAZR9Ld%26customParameters%3D%257B%2522uid%2522%253A%2522997745354%2522%252C%2522sid%2522%253A%2522coderYJ%2522%252C%2522sub%2522%253A%2522coderYJ%2522%257D%26cpsSign%3DCC_210129_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=c9D2kIykZXRPUq-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-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&_oc_cps_sign=CC_210129_9301013_115780797_6968e19ddb8ea9f2df4e31a92cc8123b&_oc_pid=9301013_115780797",
                        "source_display_name": "拼多多福利券",
                        "title": "贝士优榴莲千层蛋糕爆浆6寸猫山王榴莲奶油网红生日蛋糕厂家直销",
                        "app_id": "wxa918198f16869201",
                        "desc": "拼多多,多实惠,多乐趣。"
                    },
                    "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=c9D2kIykZXRPUq-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",
                    "url": "https://mobile.yangkeduo.com/duo_coupon_landing.html?goods_id=218622499808&pid=9301013_115780797&goods_sign=c9D2kIykZXRPUq-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",
                    "short_url": "https://p.pinduoduo.com/2YncbHOf",
                    "we_app_web_view_short_url": "https://p.pinduoduo.com/2YncbHOf"
                }
            ],
            "request_id": "16119078269573410"
        }
    }
}

请群主喝咖啡

在这里插入图片描述

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值