# GTIN to ASIN

> GTIN to ASIN is a paid API for AI agents from agents.openwebninja.com, paid per call via MPP, price unknown, status unknown (last checked 2026-10-14).

Looks up Amazon products by GTIN, EAN, UPC, or ISBN and returns matching ASINs with title, photo, URL, price, rating, and sales rank.

## Facts

- Endpoint: GET https://agents.openwebninja.com/realtime-amazon-data/gtin-to-asin?utm_source=zero.xyz
- Price: price unknown
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Provider: agents.openwebninja.com
- Website: https://agents.openwebninja.com
- Canonical page: https://www.zero.xyz/c/agents-openwebninja-com-gtin-to-asin-319a48de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kzldk7dSVunlvDNsy29uO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agents-openwebninja-com-gtin-to-asin-319a48de
```

Example prompt: Can you find the Amazon listing for the product with UPC 012345678901 in the US marketplace? I need the ASIN, price, and star rating.

## When to prefer this

Use this endpoint when you have a physical product barcode (GTIN, UPC, EAN-13) or book ISBN and need to resolve it to one or more Amazon ASINs with enriched product data. It is the right choice for barcode-to-Amazon lookups, catalog enrichment pipelines, price comparison from physical retail, and reseller workflows where you start from a universal product code rather than a keyword or ASIN. Prefer this over keyword-based Amazon search when you have a precise identifier and need exact product matching across multiple Amazon marketplaces.

## Known failure modes

- No matching ASIN found for the provided identifier — products array is empty
- Invalid or malformed GTIN/UPC/EAN/ISBN returns an error status
- Product exists on Amazon but is not indexed by this identifier in the selected country marketplace
- Rate limiting or quota exhaustion returns a 402 or 429 error
- Unsupported country code returns a validation error
- Price or rank may be null if the product listing lacks those fields

## How this service works

Find Amazon products by GTIN, EAN, UPC, or ISBN. Returns a list of matching ASINs along with key product attributes (title, photo, URL, price, rating, rank).

## Output

Returns an array of matching Amazon products, each with: ASIN, canonical Amazon product URL, full product title, main product image URL, displayed price, average star rating, total number of customer ratings, sales rank integer, and the rank category. Also includes a response status and unique request ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "product_identifier"
 ],
 "properties": {
  "country": {
   "enum": [
    "US",
    "AU",
    "BR",
    "CA",
    "CN",
    "FR",
    "DE",
    "IN",
    "IT",
    "MX",
    "NL",
    "SG",
    "ES",
    "TR",
    "AE",
    "GB",
    "JP",
    "SA",
    "PL",
    "SE",
    "BE",
    "EG",
    "ZA",
    "IE"
   ],
   "type": "string",
   "default": "US",
   "description": "Sets the Amazon domain, marketplace country, language and currency."
  },
  "product_identifier": {
   "type": "string",
   "description": "Product identifier to look up on Amazon. Supports GTIN, EAN-13, UPC, or ISBN."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "products": {
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "asin": {
        "type": "string",
        "description": "Amazon Standard Identification Number (ASIN) of the matched product."
       },
       "product_url": {
        "type": "string",
        "description": "Canonical Amazon product URL."
       },
       "product_rank": {
        "type": "integer",
        "description": "Sales rank within the rank_category. Null when unavailable."
       },
       "product_photo": {
        "type": "string",
        "description": "URL of the main product image."
       },
       "product_price": {
        "type": "number",
        "description": "Displayed product price. Null when unavailable."
       },
       "product_title": {
        "type": "string",
        "description": "Full product title as shown on Amazon."
       },
       "rank_category": {
        "type": "string",
        "description": "Category to which product_rank applies."
       },
       "product_num_ratings": {
        "type": "integer",
        "description": "Total number of customer ratings. Null when unavailable."
       },
       "product_star_rating": {
        "type": "string",
        "description": "Average customer star rating. Null when unavailable."
       }
      }
     }
    }
   }
  },
  "status": {
   "type": "string",
   "description": "The status of the response."
  },
  "request_id": {
   "type": "string",
   "description": "A unique identifier for the request."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agents-openwebninja-com-gtin-to-asin-319a48de/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.openwebninja.com](https://www.zero.xyz/host/agents.openwebninja.com/llms.txt)
