lookup_product
Convert an external product identifier (UPC, EAN, GTIN, ISBN, JAN, MINSAN) into the corresponding Amazon ASIN, with an essential product snapshot. This is the bridge between manufacturer/retail barcodes and the Amazon ecosystem.
Use this tool when the user has a barcode or standard product code and wants to find the matching Amazon listing. Typical workflows: catalog matching, inventory synchronization, converting supplier data into Amazon ASINs. Also accepts ASIN as input type if you need to validate one.
You MUST set identifier_type to match the code you have. Guessing the wrong type returns no results. UPC is 12 digits, EAN/GTIN is 13, ISBN is 10 or 13 (books). If the user gives a keyword instead of a code, use search_products instead. Costs 1 credit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"identifier": "<identifier>",
"identifier_type": "<identifier_type>"
},
"name": "lookup_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Amazon marketplace domain extension. Determines the regional Amazon site the data is fetched from. Use the domain that matches the user's market, because prices, availability and rankings differ across marketplaces. | .com |
| identifier | Yes | The product code value (e.g. '724382975021' for a UPC). Digits only for barcode types. | |
| identifier_type | Yes | The type of code provided. UPC: 12-digit US barcode. EAN/GTIN: 13-digit international barcode. ISBN: book identifier. JAN: Japanese barcode. MINSAN: Italian pharma code. ASIN: Amazon's own identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Parsed Amazon data for the operation. | |
| success | Yes | True when the request completed. | |
| operation | Yes | Easyparser operation that ran, e.g. DETAIL or OFFER. | |
| request_id | No | Easyparser request ID, useful for support and error logs. | |
| credits_used | No | Credits charged for this request. | |
| applied_address | No | Delivery address the request used (zipCode array, city, district, country_code). Without address fields this is the marketplace default. | |
| credits_remaining | No | Credits left on the account after this request. |