ScrapeIN Amazon ASIN to GTIN API Response Description
When you make a request with the /asin_to_gtin
endpoint in a request to the Amazon Data API, the ScrapeIN API will try to find GTIN, EAN, UPC, or ISBN numbers for the specified ASIN and Amazon domain.
Note on GTIN, EAN, UPC, ISBN
GTIN, EAN, UPC, ISBN values are obtained from publicly available sources since Amazon does not directly publish them.
JSON Example
{
"request_parameters": {
"asin": "B08WGFKSMW",
"amazon_domain": "amazon.com",
"type": "asin_to_gtin"
},
"request_metadata": {
"created_at": "2023-06-30T18:44:39.237Z",
"processed_at": "2023-06-30T18:44:39.240Z",
"total_time_taken": 0
},
"asin_to_gtin_results": [
{
"value": "0195174006078",
"format": "EAN-13"
}
}
JSON Structure
The JSON structure returned by the Amazon API includes required elements, such as request_parameters
, request_metadata
, pagination
, as described in the Results Amazon Data API section. Additionally, it returns the following specific properties for ASIN to GTIN requests:
asin_to_gtin_results
An array that contains details of each GTIN (Global Trade Item Number), EAN (European Article Number), UPC (Universal Product Code), or ISBN (International Standard Book Number) value found for the specified ASIN (Amazon Standard Identification Number) in the asin
request parameter. Within each object in the asin_to_gtin_results
array, you will find the following properties:
value
: Represents the actual GTIN, EAN, UPC, or ISBN values associated with the ASIN. It is a string that contains the numeric code.format
: Indicates the format of the GTIN, EAN, UPC, or ISBN value. The valid values for theformat
parameters are "EAN-13" (for European Article Number), "UPC-A" (for Universal Product Code), or "ISBN" (for International Standard Book Number).
Format Accuracy Limitations
The
format
value is provided on a best-efforts basis to provide information about the format of the GTIN, EAN, UPC, or ISBN numbers. However, due to the public-domain nature of the GTIN, EAN, UPC, or ISBN lookup, ScrapeIN cannot guarantee the accuracy of theformat
value. For example, in cases where both a 13-digit GTIN and a 13-digit EAN are found, theformat
value may not accurately reflect the actual format.