---
title: ASIN to GTIN
slug: rainforestapi/product-data-api/results/asin-to-gtin
docTags: 
createdAt: 2024-07-30T12:48:41.130Z
---

# ASIN to GTIN Results

When making a request with the  `type`  parameter set to  `type=asin_to_gtin`  Rainforest API will attempt to look up GTIN / EAN / UPC / ISBN numbers for the ASIN and Amazon domain specified in the  `asin`  and  `amazon_domain`  parameters.

:::hint{type="info"}
GTIN / EAN / UPC / ISBN values are retrieved from public domain sources (as they are not published by Amazon themselves). If we are not able to find the GTIN will we return a 404 status.
:::

An example of the JSON object returned from an ASIN to GTIN request is shown below:

```json
{
  "request_info": {
    "success": true,
    "credits_used": 1,
    "credits_remaining": 999
  },
  "request_metadata": {
    "id": "48d63ef58b3eb240d5b18115b674c4170faba51f",
    "created_at": "2021-01-01T00:00:00.000Z",
    "processed_at": "2021-01-01T00:00:00.001Z",
    "total_time_taken": 0.1
  },
  "request_parameters": {
    "type": "asin_to_gtin",
    "asin": "B073JYC4XM",
    "amazon_domain": "amazon.com"
  },
  "asin_to_gtin_results": [
    {
      "value": "7085571244421",
      "format": "EAN-13"
    },
    {
      "value": "619659160395",
      "format": "UPC-A"
    }
  ]
}
```

Rainforest API returns the following properties for ASIN to GTIN requests:

| *`Property`*             | *`Type`*  | *`Description`*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------ | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *`asin_to_gtin_results`* | *`array`* | **ASIN to GTIN Results Array** &#xD;<br />The ASIN to GTIN results array contains details of each of the GTIN / EAN / UPC / ISBN values found for the ASIN specified in the `asin` reqiest parameter.<br />- `value`<br />- `string`<br />- The GTIN / EAN / UPC / ISBN value.<br /><br />- `format`<br />- `string`<br />- The format of the GTIN / EAN / UPC / ISBN value. Valid values for `format` are `EAN-13` , `UPC-A` or `ISBN` .  **Note** due to the public-domain nature of the GTIN / EAN / UPC / ISBN lookup Rainforest API cannot guarantee the `format` value will be correct (i.e. in the example of a 13-digit UPC and a 13-digit EAN). The `format` value is provided on a best-efforts basis. |

***

**Next Steps**
     [ASIN to GTIN Parameters](https://docs.trajectdata.com/rainforestapi/product-data-api/parameters/asin-to-gtin)
