接口名称标识功能说明
淘口令tkl任意单品淘口令解密出商品原始信息
淘宝客链接ckurl淘宝客商品推广链接解密出商品原始信息,支持阿里妈妈一切单品推广链接,包括普通长链接、短链接和二合一长链接、短链接
二合一链接qurl二合一链接解密出商品原始信息,阿里妈妈优惠券二合一地址,包括阿里券,单品券,营销券,淘礼金,阿里券短链接等,不支持店铺券
请求接口https://www.yangtata.com/api
请求参数&a=标识&appkey=您的appkey&appsecret=您的appsecret&url=需解密的内容
请求类型POST
返回格式json (字段说明参考淘宝开放平台文档:查看接口文档响应参数注释说明)
PHP示例查看下列代码
$url = "https://www.yangtata.com/api";
$data = array(
'a' => 'tkl',
'appkey' => '1234567',
'appsecret' => '8ifdw8ba8vbal2',
'url'=>'淘口令文案'
);	
$data = http_build_query($data);	 
$ch = curl_init();      
$timeout = 300;       
curl_setopt($ch, CURLOPT_URL, $url);         
curl_setopt($ch, CURLOPT_POST, true);      
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);      
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);      
$source = curl_exec($ch);      
curl_close($ch);
echo $source;