POST /tools/convert/url-to-barcode endpoint accepts product page URLs and returns the barcodes associated with each product. You can submit URLs from Amazon, Target, Walmart, Home Depot, Best Buy, Cabela’s, and other major retailers in a single request.
Endpoint
Request body
Send a JSON body with adata array containing the product URLs you want to convert. No config object is required for URL conversions.
array of strings
required
The product page URLs to convert. Each element must be a full URL string.
Example request
Example response
Response fields
meta object
data object
Each key is a URL from your request. Each value is an array of barcode strings for that product. A single product URL can match more than one barcode.
object
Key-value pairs where each URL maps to an array of barcodes.
URL conversions always return an array of barcodes for each URL, not a single string. Check for an empty array
[] to detect URLs where no barcode was found — to_total only counts URLs with at least one result.