Create a shortened URL for products that use the Amazon Advertising API

I am using Amazon API to browse some products and I would like to create an affiliate link for some of them.

I know I can get a normal affiliate link from the field DetailPageURL

in the response (and that I can create it manually after the affiliate link format), but I would like to find an automatic way to generate a shortened URL for the product containing my tag.

2 technical notes:

  • URL shortening are the ones Amazon provides which looks like amzn.to/12345
  • I know I create them manually through the associates panel, but I am looking for a way to get them using the API.

Thank!

+3


source to share


1 answer


Apparently this can be done using the bit.y API, since every Amazon URL shortened by the .ly bit will get the format amzn.to/ {unique_id}.



+3


source







All Articles