淘宝客短链接转换示范

接口地址:

http://gateway.kouss.com/tbpub/spreadGet

官方文档:

http://open.taobao.com/api.htm?docId=28625&docType=2&scopeId=12403


入参:(可以传入多个URL)

  • {"requests":[ {"url":"https://uland.taobao.com/......"}, {"url":"https://uland.taobao.com/......"}, {"url":"https://uland.taobao.com/......"} ]}


返回:

  • {"results": {"tbk_spread": [ {"content":"https://s.click.taobao.com/....","err_msg":"OK"}, {"content":"https://s.click.taobao.com/....","err_msg":"OK"}, {"content":"https://s.click.taobao.com/....","err_msg":"OK"} ] },"total_results":1,"request_id":"u249nufa9hi6"}


Postman截图:



商务达