curl --request GET \
--url 'https://api.keyapi.ai/v1/amazon/asin-to-gtin?asin=B01FHOWYA2&country=us' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"code": 0,
"message": "success",
"data": {
"asin": "B01FHOWYA2",
"results": [
{
"value": "0622356537070",
"type": "EAN-13"
},
{
"value": "758710429542",
"type": "UPC"
}
]
},
"requestId": "c936c1fa-e7fc-432c-a606-cfabafa5ea79"
}Convert an Amazon product ASIN to its corresponding GTIN (Global Trade Item Number). Supports 24 Amazon marketplaces.
curl --request GET \
--url 'https://api.keyapi.ai/v1/amazon/asin-to-gtin?asin=B01FHOWYA2&country=us' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"code": 0,
"message": "success",
"data": {
"asin": "B01FHOWYA2",
"results": [
{
"value": "0622356537070",
"type": "EAN-13"
},
{
"value": "758710429542",
"type": "UPC"
}
]
},
"requestId": "c936c1fa-e7fc-432c-a606-cfabafa5ea79"
}π€ Why Code When AI Can Do It For You?
Stop writing code like itβs 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.
Amazon product ASIN to convert.
Sets the Amazon domain, marketplace country, language and currency. Allowed values: US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE
The response is of type object.