To get the amazon product images or pictures from the sellytics DATA API you need as always your access token. You get more information about how to obtain an access token from here.
Amazon product images are useful for content creators, displaying thumbnails in an affiliate store or using the images otherwise for your commodities management and other purposes. With the sellytics DATA API it’s really simple to obtain image urls from an amazon product.
Access product details which include product image urls
You can use the following curl to get all product information and look at the imageUrls array which contains all product image urls. Note that the marketplace and ASIN are contained in the end of the url. You could also change the marketplace for example to US if you need information from the Amazon US marketplace.
curl -X "GET" "https://api.sellytics.com/amazon/products/DE/B07CNFV32C/v1" \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' \ -H 'Content-Type: application/json'
Some more human-readable access using jq
If you’ve jq installed you could also filter the json response to display the imageUrls only:
curl -X "GET" "https://api.sellytics.com/amazon/products/DE/B07CNFV32C/v1" \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' \ -H 'Content-Type: application/json' | jq .imageUrls
The response should look like:
[ "https://images-na.ssl-images-amazon.com/images/I/61zIwprkyhL._SX450_.jpg", "https://images-na.ssl-images-amazon.com/images/I/61zIwprkyhL._SX425_.jpg", "https://images-na.ssl-images-amazon.com/images/I/61zIwprkyhL._SX569_.jpg", "https://images-na.ssl-images-amazon.com/images/I/61zIwprkyhL._SX466_.jpg", "https://images-na.ssl-images-amazon.com/images/I/61zIwprkyhL._SX355_.jpg", "https://images-na.ssl-images-amazon.com/images/I/61zIwprkyhL._SX679_.jpg", "https://images-na.ssl-images-amazon.com/images/I/61zIwprkyhL._SX522_.jpg" ]
If the information or image urls are outdated you could also create a fetch task before retrieving the imageUrls like described above. Then you would get the current image urls displayed on amazon.
HowTos that show how to use our fetch endpoints and APIs will follow soon. If you want to test it now you can check our apidocs as usual or contact us.