When to use the Tools API
Use the Tools API when you have one type of product identifier and need a different one. Supported conversions:- Product page URLs → barcodes
- Barcodes → merchant SKUs
- Merchant SKUs → barcodes
- Amazon ASINs → barcodes
- Barcodes → Amazon ASINs
Available endpoints
All endpoints usePOST and accept a JSON request body.
Request format
Every endpoint accepts the same JSON body structure: adata array of values to convert, and an optional config object for additional parameters.
Required headers
Config requirements
Some conversions require aconfig object:
ASIN conversions — you must specify the Amazon locale:
name is used:
Response format
Every response includes ameta object describing the conversion and a data object containing the results.
meta fields
data object
The data object maps each source value to its converted result. When a conversion cannot be made, the API returns null for that entry.
For URL-to-barcode and ASIN-to-barcode conversions, each source maps to an array of barcodes rather than a single string — a single product URL or ASIN can correspond to multiple barcodes. An empty array [] means no barcode was found.
Conversion endpoints
URL to Barcode
Convert product page URLs from Amazon, Walmart, Target, and other major retailers to barcodes.
Barcode to SKU
Look up merchant-specific SKUs for a list of barcodes.
SKU to Barcode
Convert merchant SKUs back to their corresponding barcodes.
ASIN to Barcode
Retrieve barcodes for Amazon Standard Identification Numbers.
Barcode to ASIN
Find Amazon ASINs and locales for a given barcode.