淘宝联盟淘宝客工具服务商接口
  1. 淘宝客工具服务商
淘宝联盟淘宝客工具服务商接口
  • 淘宝客工具服务商
    • 用户登录授权获取session
      GET
    • 淘宝客【服务商】单品券高效转链
      GET
    • 淘宝客【公用】长链转短链
      GET
    • 淘宝客【服务商】淘口令解析&转链
      GET
    • 淘宝客【服务商】官方活动转链
      GET
    • 淘宝客【服务商】店铺链接转换
      GET
    • 淘宝客【公用】淘口令生成
      GET
    • 淘宝客【服务商】推广链接取字符ID
      GET
    • 淘宝客【服务商】解析二合一链接
      GET
  1. 淘宝客工具服务商

淘宝客【服务商】解析二合一链接

GET
/topApi/getCoupon
二合一链接拆解
最后修改时间:2023-07-27 04:32:25
把淘宝客推广的二合一链接解析出商品URL和优惠券URL
包括不限于,优惠券的一切信息,couponActivityId,开始时间,起始时间,券额,券总量等等
itemUrl:拆解出来的商品链接
couponUrl:拆解出来的优惠券链接
couponActivityId:券ID
其它重要字段信息可以对比二合一页面上的显示

请求参数

Query 参数
longUrl
string 
可选
示例值:
https://uland.taobao.com/coupon/edetail?e=LAq9%2FV7BWnqlhHvvyUNXZfh8CuWt5YH5OVuOuRD5gLJMmdsrkidbOWBzzpT26idJ%2BllpxkQdpXFTjC3v3%2FRvs8uXdNXy5p7CCUjOYnOYCT3OauoXLDCe%2Fp1CQ5tGEjAk9E3CIsWU5piaNcn4t8fTf4Cv0DwI7smBf99KHcV2dz1nmB%2Fzds2ljZ2dbPMMC0OXl3S0q0S5e7PgGil1UGAoKV8hvjRj0dN7Tbm9X23l41l7RnBuxGAWps9AIaY%2B03i%2BMbyJIIo7en9QeA9Z2Q8A5Q%2F85uwcAn6rW21c4X%2Byv0wfgsR20GX8vn53ZHhn3TWbO2J1caqUa%2BtZE%2Frq7N6jtg%3D%3D&traceId=2105849716903376552544173e8052&&union_lens=lensId:TAPI@1690337655@21334ac6_0d9f_1898ff9b9fd_a8b3@01&activityId=2a000b379a3e4d44a81bc12a61bfb941
session
string 
通过联盟授权得到
必需
默认值:
6100012325d99d43df0913477b1d7f9eea72ccbe6b2358a2536588344
adzone_id
string 
PID的第三段
必需
默认值:
111048050031
site_id
string 
PID的第二段
必需
默认值:
973550124

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://zb.sinayouhuiquan.cn/topApi/getCoupon?longUrl=https://uland.taobao.com/coupon/edetail?e=LAq9%2FV7BWnqlhHvvyUNXZfh8CuWt5YH5OVuOuRD5gLJMmdsrkidbOWBzzpT26idJ%2BllpxkQdpXFTjC3v3%2FRvs8uXdNXy5p7CCUjOYnOYCT3OauoXLDCe%2Fp1CQ5tGEjAk9E3CIsWU5piaNcn4t8fTf4Cv0DwI7smBf99KHcV2dz1nmB%2Fzds2ljZ2dbPMMC0OXl3S0q0S5e7PgGil1UGAoKV8hvjRj0dN7Tbm9X23l41l7RnBuxGAWps9AIaY%2B03i%2BMbyJIIo7en9QeA9Z2Q8A5Q%2F85uwcAn6rW21c4X%2Byv0wfgsR20GX8vn53ZHhn3TWbO2J1caqUa%2BtZE%2Frq7N6jtg%3D%3D%26traceId=2105849716903376552544173e8052%26%26union_lens=lensId:TAPI@1690337655@21334ac6_0d9f_1898ff9b9fd_a8b3@01%26activityId=2a000b379a3e4d44a81bc12a61bfb941&session=&adzone_id=&site_id='

返回响应

🟢200成功
application/json
Body
whiteImage
string 
必需
priceAfterCoupon
string 
必需
brandLocation
null 
必需
smallImage
array[string]
必需
couponTemplateCode
string 
必需
udf_temp_store
object 
必需
applyRightsKey
null 
必需
etaoStartTime
string 
必需
monthSellCountFuzzyString
string 
必需
brandClearItem
boolean 
必需
pid
string 
必需
pic
string 
必需
shortTitle
string 
必需
couponEffectiveStartTime
string 
必需
couponReserveCount
integer 
必需
ulandEid
null 
必需
feedback
object 
必需
selectedFeedback
array
必需
itemName
string 
必需
couponAmount
string 
必需
etaoActivityType
string 
必需
etaoEndTime
string 
必需
roundingUps
null 
必需
applyRights
boolean 
必需
price
string 
必需
couponKey
string 
必需
starts
string 
必需
dianpubaoPromotionDiscounts
string 
必需
couponActivityId
string 
必需
ulandAk
string 
必需
af
string 
必需
nCouponInfoMap
null 
必需
retStatus
string 
必需
ulandSrc
string 
必需
presaleStartTime
string 
必需
dtcScmFieldPathList
array[string]
必需
dianpubaoPromotionTypes
string 
必需
etaoIsDeliverPublic
string 
必需
dianpubaoPromotionRanges
string 
必需
itemId
string 
必需
postFree
boolean 
必需
lensId
string 
必需
preciseRebateScene
string 
必需
userType
integer 
必需
latestHourSellCountFuzzyString
string 
必需
latestHourSellCount
string 
必需
couponEffectiveEndTime
string 
必需
etaoActivityId
string 
必需
shop
object 
必需
shopLogo
string 
必需
shopTitle
string 
必需
siteId
string 
必需
shopId
string 
必需
dianpubaoStartTimes
string 
必需
promotionPrice
string 
必需
dianpubaoEndTimes
string 
必需
presaleDeposit
string 
必需
presalePrice
string 
必需
presaleDiscountFee
string 
必需
couponTag
string 
必需
couponType
string 
必需
presaleEndTime
string 
必需
structInfo
null 
必需
presaleTailEndTime
string 
必需
couponAll
null 
必需
sellerPoint
array[string]
必需
monthSellCount
string 
必需
couponStartFee
string 
必需
st
string 
必需
xyhfItem
boolean 
必需
dianpubaoPromotionConditions
string 
必需
algoIsCoudan
string 
必需
presaleTailStartTime
string 
必需
diversionData
object 
必需
dailyPrice
null 
必需
smartImage
string 
必需
structInfo
string 
必需
comment
string 
必需
benefit
string 
必需
jhsItem
boolean 
必需
realPostFee
string 
必需
url
string 
必需
itemVideo
null 
必需
dianpubaoActivityIds
string 
必需
brandPic
null 
必需
itemUrl
string 
必需
couponUrl
string 
必需
示例
{
  "whiteImage": "string",
  "priceAfterCoupon": "string",
  "brandLocation": null,
  "smallImage": [
    "string"
  ],
  "couponTemplateCode": "string",
  "udf_temp_store": {},
  "applyRightsKey": null,
  "etaoStartTime": "string",
  "monthSellCountFuzzyString": "string",
  "brandClearItem": true,
  "pid": "string",
  "pic": "string",
  "shortTitle": "string",
  "couponEffectiveStartTime": "string",
  "couponReserveCount": 0,
  "ulandEid": null,
  "feedback": {
    "selectedFeedback": [
      null
    ]
  },
  "itemName": "string",
  "couponAmount": "string",
  "etaoActivityType": "string",
  "etaoEndTime": "string",
  "roundingUps": null,
  "applyRights": true,
  "price": "string",
  "couponKey": "string",
  "starts": "string",
  "dianpubaoPromotionDiscounts": "string",
  "couponActivityId": "string",
  "ulandAk": "string",
  "af": "string",
  "nCouponInfoMap": null,
  "retStatus": "string",
  "ulandSrc": "string",
  "presaleStartTime": "string",
  "dtcScmFieldPathList": [
    "string"
  ],
  "dianpubaoPromotionTypes": "string",
  "etaoIsDeliverPublic": "string",
  "dianpubaoPromotionRanges": "string",
  "itemId": "string",
  "postFree": true,
  "lensId": "string",
  "preciseRebateScene": "string",
  "userType": 0,
  "latestHourSellCountFuzzyString": "string",
  "latestHourSellCount": "string",
  "couponEffectiveEndTime": "string",
  "etaoActivityId": "string",
  "shop": {
    "shopLogo": "string",
    "shopTitle": "string",
    "siteId": "string",
    "shopId": "string"
  },
  "dianpubaoStartTimes": "string",
  "promotionPrice": "string",
  "dianpubaoEndTimes": "string",
  "presaleDeposit": "string",
  "presalePrice": "string",
  "presaleDiscountFee": "string",
  "couponTag": "string",
  "couponType": "string",
  "presaleEndTime": "string",
  "structInfo": null,
  "presaleTailEndTime": "string",
  "couponAll": null,
  "sellerPoint": [
    "string"
  ],
  "monthSellCount": "string",
  "couponStartFee": "string",
  "st": "string",
  "xyhfItem": true,
  "dianpubaoPromotionConditions": "string",
  "algoIsCoudan": "string",
  "presaleTailStartTime": "string",
  "diversionData": {
    "dailyPrice": null,
    "smartImage": "string",
    "structInfo": "string",
    "comment": "string",
    "benefit": "string"
  },
  "jhsItem": true,
  "realPostFee": "string",
  "url": "string",
  "itemVideo": null,
  "dianpubaoActivityIds": "string",
  "brandPic": null,
  "itemUrl": "string",
  "couponUrl": "string"
}
上一页
淘宝客【服务商】推广链接取字符ID
Built with