The Amazon product images API for gallery and video data
Get the image gallery of an Amazon product as JSON, along with a video count and type. Send an ASIN or a product URL to start.
Amazon Media API at a glance
This API returns image URLs and video metadata. Send a POST request with one ASIN or URL. Read the gallery_images and high_resolution_images arrays from the response. Run the example below to see the exact shape.
- Endpoint
POST /v1/data/amazon/media- Authentication
- API key as
Authorization: Bearer wh_… - Stage
- Stable
- Output
- Image lists images, gallery_images and high_resolution_images, plus videos_count, video_types, videos and a product record
- Input
- An asin or a product url. One of the two is required.
- Video data
- A count and a type list. The videos array came back empty in our sample.
- Options
- domain, country and postal_code. There is no result count.
- Marketplace
- The domain field picks the Amazon site. The default is amazon.in.
- Credit weight
- 1. See the pricing page for current rates.
One request, structured JSON.
This request reads a Kindle Paperwhite listing on amazon.com. The response below is a real result, with each image list trimmed to its first two URLs. Copy the request to try your own product.
curl -X POST "https://api.datablue.dev/v1/data/amazon/media" \
-H "Authorization: Bearer wh_..." \
-H "Content-Type: application/json" \
-d '{
"asin": "B0CFPJYX7P",
"domain": "amazon.com"
}'{
"success": true,
"asin": "B0CFPJYX7P",
"url": "https://www.amazon.com/dp/B0CFPJYX7P",
"domain": "amazon.com",
"title": "Amazon Kindle Paperwhite 16GB (2024 model) – 7\" glare-free display and weeks of battery life – Black",
"images": [
"https://m.media-amazon.com/images/I/71YwNBmu+aL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/41Z7RtygkDL._AC_SR40,60_.jpg"
],
"gallery_images": [
"https://m.media-amazon.com/images/I/71YwNBmu+aL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/61KMlIaN9pL._AC_SL1500_.jpg"
],
"high_resolution_images": [
"https://m.media-amazon.com/images/I/71YwNBmu+aL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/61KMlIaN9pL._AC_SL1500_.jpg"
],
"videos_count": 2,
"video_types": ["product_video"],
"videos": []
}What a media response returns.
A single response holds three image lists, the video fields and a product record to read.
Identity
Every response echoes the asin and the product title. Open the url to compare the gallery by eye.
Image lists
The images array holds the image URLs that the call found on the product page. Our sample listed eight URLs including one small thumbnail. The gallery_images array holds seven URLs without that thumbnail.
High resolution URLs
The high_resolution_images array lists larger image URLs for the product. In our sample the gallery list and the high resolution list held the same seven URLs. Compare both lists on a few of your own products before you choose one to store.
Video fields
The videos_count field reported 2 videos in our sample. The video_types array listed product_video as the type. The videos array itself came back empty, so treat the count and type as a signal only.
Product record
The response also carries a product object that holds the listing detail from the same page read. Our sample held the price and the rating in it. It also listed the buy box offer and variant ASINs. Join each response to your own product table with the asin value as the key.
Options that shape your media read.
Send an asin or a url to run a request. The other fields choose the marketplace and the delivery location.
Product identity
Pass asin as the ten character product code, or pass url as the product page link. Each request needs one of the two. Use the asin when your feed already holds product codes.
Delivery context
Both country and postal_code are optional, so add them only when the delivery location matters to your use.
Scope of a call
This API takes no result count or paging options. One call reads the media of one product.
Marketplace
The domain field defaults to amazon.in, so set it when your product lives on another Amazon site. Our sample ran with the domain set to amazon.com. Match the domain to the product you send.
What teams build with it.
Product images and videos shape how a listing sells. Pick the job that fits your team.
Gallery audits
Count the entries in gallery_images for each ASIN in your catalogue and store the total. Flag listings with fewer images than your standard.
Video presence checks
Read videos_count and video_types to see which listings carry video. Plan new video work for the ones that do not.
Competitor creative benchmarks
Pull the media data for a rival listing and compare its image count with yours. Note which rivals add video and which stay with photos.
Feed enrichment
Add high_resolution_images URLs to your own product feed. Keep the asin beside each URL for later checks.
Why call an API instead of scraping product galleries yourself.
The Amazon Products search returns one small image_url per row. Our own search run showed no high resolution images for any of its three results. This API reads the product page itself, so the whole gallery comes back as ready to use lists.
The thumbnail URL in our sample carries a different size code from the gallery URLs. DataBlue returns the URLs in three lists, and the gallery list leaves the thumbnail out. Start with gallery_images when you only need display photos.
The API reports videos_count and video_types, but the videos array in our sample came back empty. Plan around the count and type, and test whether file URLs come back for your own products.
Your first media read in a minute.
Sign up, grab a key and run one request.
Create an account
Sign up to get your API key.
Send a request
POST one asin and a domain value to /v1/data/amazon/media. Add your Bearer key as the Authorization header.
Read the media
Loop over gallery_images and store each URL with its asin. Check videos_count to see whether the listing carries video.
Amazon product images API questions.
Short answers about data and billing before you start.
It returns the image gallery and video metadata of an Amazon product as structured JSON. Send one ASIN or one product URL per call.
Still have a question?Ask us anything
Send a POST request to /v1/data/amazon/media with your Bearer token and an asin or a url. Read gallery_images or high_resolution_images from the response.
It returns a high_resolution_images array of larger image URLs. Our sample returned seven URLs in that list. Open a few URLs to check the size you need.
It reads video metadata and not video files. If you searched for an Amazon product video scraper, expect the count and the type only. Our sample reported two videos of type product_video, but its videos array held no file links.
Amazon A Plus Content returns brand content blocks, while this API returns the product gallery and video data. Amazon Products returns one small image per search result. Pick Media when you need the full gallery.
The domain field defaults to amazon.in, and our own sample ran with it set to amazon.com. Set the domain that matches the product you send.
Yes, pass url with the product page link. One of asin or url is required.
This API is marked stable in our catalogue today. Build against the documented fields, then check the changelog before each upgrade you ship to production.
This API has a credit weight of 1. Check the pricing page for current rates.
Fetch Amazon product images in a minute.
Create an account to get your key. Then copy the example request and swap in the ASIN of a product you track.
Start free
