UPC, EAN and ISBN to ASIN API
GET /product-lookup searches one Amazon marketplace for a UPC, EAN, ISBN or GTIN and returns the organic matches, best match first, with sponsored results removed. Each result carries the ASIN, title, price and rating, the same fields as /search. Hyphens and spaces in the code are ignored, and ISBN-10 may end in X.
Part of Amazon Data API, sold on RapidAPI with a free plan of 100 requests a month. Endpoint details checked 2026-11-03.
What GET /product-lookup returns
Searches one Amazon marketplace for a UPC, EAN, ISBN or GTIN and returns the organic search results, best match first, with sponsored results removed. Same result fields as /search. Matches are not verified against the barcode: search cards carry no barcode, so check the top result before relying on it (call /product-details with its ASIN). If Amazon searched for something other than the code (it corrected the query), results is [].
Parameters
| Name | Required | Values | Notes |
|---|---|---|---|
identifier | yes | string | UPC, EAN, ISBN or GTIN: 8, 10, 12, 13 or 14 digits (ISBN-10 may end in X). Hyphens and spaces are ignored. |
country | no | US, CA, MX, BR, GB, DE, FR, IT, ES, NL, SE, PL, BE, TR, AE, SA, EG, IN, JP, SG, AU, IE, ZA | Amazon marketplace, as an ISO country code. GB is amazon.co.uk. Default US (amazon.com). |
Example request
Every parameter that has an example, with country set explicitly. Send your key in X-RapidAPI-Key.
curl --request GET \
--url 'https://amazon-data-api-search-product-reviews-best-sellers.p.rapidapi.com/product-lookup?identifier=9780735211292&country=US' \
--header 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY' \
--header 'X-RapidAPI-Host: amazon-data-api-search-product-reviews-best-sellers.p.rapidapi.com'import requests
resp = requests.get(
"https://amazon-data-api-search-product-reviews-best-sellers.p.rapidapi.com/product-lookup",
params={"identifier": "9780735211292", "country": "US"},
headers={
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "amazon-data-api-search-product-reviews-best-sellers.p.rapidapi.com",
},
timeout=30,
)
resp.raise_for_status()
body = resp.json()
if "error" in body: # bad input or not found: HTTP 200 with an error body
raise RuntimeError(f"{body['error']['code']}: {body['error']['message']}")
print(body["data"])const url = new URL('https://amazon-data-api-search-product-reviews-best-sellers.p.rapidapi.com/product-lookup');
url.search = new URLSearchParams({ identifier: '9780735211292', country: 'US' });
const res = await fetch(url, {
headers: {
'X-RapidAPI-Key': process.env.RAPIDAPI_KEY,
'X-RapidAPI-Host': 'amazon-data-api-search-product-reviews-best-sellers.p.rapidapi.com',
},
});
const { data, meta } = await res.json();
console.log(data, meta.fetched_at);Example response
A recorded response, shortened to 3 items per list.
{
"data": {
"identifier": "9780735211292",
"corrected_query": null,
"results": [
{
"position": 1,
"asin": "B07RFSSYBH",
"title": "Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones",
"url": "https://www.amazon.com/dp/B07RFSSYBH",
"image": "https://m.media-amazon.com/images/I/71F4+7rk2eL._AC_UY218_.jpg",
"price": 8.55,
"original_price": 27,
"currency": "USD",
"rating": 4.8,
"total_ratings": 150309,
"is_prime": null,
"is_sponsored": false,
"is_amazon_choice": false,
"is_best_seller": true,
"sales_volume": null,
"subtitle": null,
"badges": [
"Best Seller"
],
"best_seller_category": "in Popular Social Psychology & Interactions",
"amazon_choice_keyword": null,
"deal_badge": null,
"sustainability": false,
"is_small_business": false,
"seller_id": null,
"image_large": "https://m.media-amazon.com/images/I/71F4+7rk2eL._AC_UY654_FMwebp_QL65_.jpg",
"authors": [
"James Clear",
"Penguin Audio"
],
"publication_date": null,
"formats": [
{
"name": "Audiobook",
"price": null,
"original_price": null
},
{
"name": "Hardcover",
"price": 8.55,
"original_price": 27
},
{
"name": "Kindle",
"price": 12.99,
"original_price": 27
}
],
"series": null,
"unit_price": null,
"original_price_type": null,
"savings_percent": null,
"coupon": null,
"promotions": [
"Free with Audible trial"
],
"more_buying_choices": null,
"delivery": {
"text": "FREE delivery Wed, Nov 4",
"fastest_text": "Or fastest delivery Oct 29 - Nov 2"
},
"stock_left": 1,
"points": null,
"installments": null
},
{
"position": 2,
"asin": "B0D4KJBR74",
"title": "Exploring the Intersection of Self-Help and Science.",
"url": "https://www.amazon.com/dp/B0D4KJBR74",
"image": "https://m.media-amazon.com/images/I/61lqZBCgsUL._AC_UY218_.jpg",
"price": 2.99,
"original_price": null,
"currency": "USD",
"rating": null,
"total_ratings": null,
"is_prime": null,
"is_sponsored": false,
"is_amazon_choice": false,
"is_best_seller": false,
"sales_volume": null,
"subtitle": null,
"badges": [],
"best_seller_category": null,
"amazon_choice_keyword": null,
"deal_badge": null,
"sustainability": false,
"is_small_business": false,
"seller_id": null,
"image_large": "https://m.media-amazon.com/images/I/61lqZBCgsUL._AC_UY654_FMwebp_QL65_.jpg",
"authors": [
"Godstime Nimah"
],
"publication_date": "May 21, 2024",
"formats": [
{
"name": "Kindle Edition",
"price": 2.99,
"original_price": null
}
],
"series": null,
"unit_price": null,
"original_price_type": null,
"savings_percent": null,
"coupon": null,
"promotions": [],
"more_buying_choices": null,
"delivery": null,
"stock_left": null,
"points": null,
"installments": null
},
{
"position": 3,
"asin": "B0F38CNL1M",
"title": "Personal Growth 3 Books Collection Set - Beyond Order, 12 Rules for Life, Atomic Habits - Transformative Wisdom for a Better Life",
"url": "https://www.amazon.com/dp/B0F38CNL1M",
"image": "https://m.media-amazon.com/images/I/616IzkhLpyL._AC_UY218_.jpg",
"price": 55.92,
"original_price": 110,
"currency": "USD",
"rating": null,
"total_ratings": null,
"is_prime": null,
"is_sponsored": false,
"is_amazon_choice": false,
"is_best_seller": false,
"sales_volume": null,
"subtitle": null,
"badges": [],
"best_seller_category": null,
"amazon_choice_keyword": null,
"deal_badge": null,
"sustainability": false,
"is_small_business": false,
"seller_id": "A1AGQW3JY46SNZ",
"image_large": "https://m.media-amazon.com/images/I/616IzkhLpyL._AC_UY654_FMwebp_QL65_.jpg",
"authors": [
"Jordan B. Peterson",
"James Clear"
],
"publication_date": "Apr 1, 2025",
"formats": [
{
"name": "Hardcover",
"price": 55.92,
"original_price": 110
}
],
"series": null,
"unit_price": null,
"original_price_type": "List",
"savings_percent": null,
"coupon": null,
"promotions": [],
"more_buying_choices": null,
"delivery": {
"text": "Join Prime to get FREE delivery Wed, Oct 28",
"fastest_text": "Or Non-members get FREE delivery Tue, Nov 3"
},
"stock_left": 1,
"points": null,
"installments": null
}
]
},
"meta": {
"country": "US",
"cached": false,
"fetched_at": "2026-10-26T14:05:11.000Z"
}
}What people use it for
Online arbitrage: scan barcodes in a store and check the Amazon price and rank.
Catalog matching: map your supplier’s EAN list to Amazon ASINs.
Book tools: turn an ISBN into an Amazon listing with price and rating.
FAQ
- Is the barcode match guaranteed?
- No. Amazon search cards carry no barcode, so the API cannot verify the match. Check the top result with GET /product-details before you rely on it.
- What if Amazon searches for something else?
- When Amazon corrects the query to something other than your code, results is an empty list rather than a list of unrelated products, and corrected_query says what Amazon searched for instead.
- Which code lengths are accepted?
- 8, 10, 12, 13 or 14 digits: UPC-A, EAN-8, EAN-13, ISBN-10, ISBN-13 and GTIN-14.
Related endpoints
See all 17 endpoints and 23 marketplaces on the Amazon product API page.