Skip to main content
The POST /tools/convert/ASIN-to-barcode endpoint converts Amazon Standard Identification Numbers (ASINs) to their corresponding barcodes. Each ASIN can map to multiple barcodes, so the API returns an array for each one.

Endpoint

You can submit a maximum of 10 ASINs per request. Requests with more than 10 ASINs will return a validation error.

Request body

array of strings
required
The ASINs to convert. Maximum 10 per request.
object
required
Configuration for the conversion. You must specify the Amazon locale.

Example request

Example response

In this example, B0C792QRW6 and B00AQUO5RI each map to two barcodes, while B0C792QRW9 returns an empty array because no barcode was found. to_total is 2 because only two ASINs produced results.

Response fields

meta object

data object

Each key is an ASIN from your request. Each value is an array of barcode strings. An ASIN can correspond to multiple barcodes (e.g. different regional packaging). An empty array [] means no barcode was found for that ASIN.
object
Key-value pairs where each ASIN maps to an array of barcode strings.
ASIN conversions always return an array of barcodes, not a single string. Check for an empty array [] to identify ASINs where no barcode was found.