Catalog Items API v2020-12-01 Use Case Guide
How to use the Catalog Items API.
API Version: 2020-12-01
What is the Catalog Items API?
Using the Selling Partner API for Catalog Items (Catalog Items API), you can retrieve information about items in the Amazon catalog. Refer to the Catalog Items API Reference for details about API operations and associated data types and schemas.
Key Features
- Retrieve Detailed Item Information: The Catalog Items API provides details about items in the Amazon catalog, such as summarized item details, product identifiers, sales rankings, variations, and thumbnail images. Vendors can retrieve additional vendor-specific details and brand owners of items can retrieve additional attributes and image content.
- Search for Items: The Catalog Items API allows you to search the Amazon catalog for existing items using keywords, including product identifiers.
Terminology
- ASIN: Amazon Standard Identification Number that identifies an item in the Amazon catalog.
- Variation: Every color or size for a catalog item represents a variation that is assigned a different ASIN. They are grouped together as variations of one parent ASIN.
Handling generic JSON schemas in client libraries
If you have generated a client library, it is important to note that Swagger Codegen generates types based on properties defined in the Swagger models, and that Swagger Codegen will produce empty or incomplete types when an object is defined with
additionalProperties: true
. To handle such objects, use the--import-mappings
command-line parameter to map these objects to a generic JSON object type or a custom object type of your choosing.Example Swagger Codegen input parameters:
C#:
--import-mappings ItemAttributes=Newtonsoft.Json.Linq.JObject
Java:--import-mappings ItemAttributes=com.google.gson.JsonObject
Tutorial: Retrieve details for an item in the Amazon catalog
Use this tutorial to retrieve information about an item in the Amazon catalog for the given ASIN and marketplaces.
Prerequisites
To complete this tutorial, you will need:
- Authorization from the Selling Partner for whom you are making calls. Refer to Authorizing Selling Partner API Applications for more information.
- Approval for the Product Listing role in your developer profile.
- The Product Listing role selected in the App registration page for your application.
Step 1: Get information about a catalog item
Call the getCatalogItem
operation, passing the following parameters:
Request Parameters
Path Parameter
Parameter | Example | Description | Required |
---|---|---|---|
asin
|
XXXXXXXXXX
|
Amazon Standard Identification Number for the item of interest. Type: string |
Yes |
Query Parameters
Parameter | Example | Description | Required |
---|---|---|---|
marketplaceIds
|
ATVPDKIKX0DER
|
A comma-delimited list of Amazon marketplace identifiers.
Refer to Marketplace IDs for the list of Amazon marketplace identifiers. Type: < string > array(csv) |
Yes |
includedData
|
summaries
|
A comma-delimited list of item details to request. If none are specified, will default to returning
summaries
data.
Type: < enum ( |
No |
locale
|
en_US
|
Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace. Type: string |
No |
Example Request
GET https://sellingpartnerapi-na.amazon.com/catalog/2020-12-01/items/XXXXXXXXXX
?marketplaceIds=ATVPDKIKX0DER
&includedData=attributes,identifiers,images,productTypes,salesRanks,summaries,variations,vendorDetails
Response
A successful response includes the following:
Name | Example | Description |
---|---|---|
asin
|
XXXXXXXXXX
|
The requested ASIN. Type: |
attributes
|
Refer to the example response | A JSON object containing detailed catalog item data. Values from multiple marketplaces are rolled up into a list under each attribute name. Type: |
identifiers
|
Refer to the example response | External identifiers such as UPC, EAN, if applicable. Type: |
images
|
Refer to the example response | Image data for the item. Type: |
productTypes
|
Refer to the example response | The product type category of the item within the Amazon catalog. Type: |
ranks
|
Refer to the example response | The sales ranking data for the item in every category it is tracked in. Type: |
summaries
|
Refer to the example response | Summary of item data. Type: |
variations
|
Refer to the example response | Other ASINs related to this one and whether this one is a parent ASIN or a child ASIN. Type: |
vendorDetails
|
Refer to the example response | Detailed vendor information for this product. Type: |
Example Response
{
"asin": "B07N4M94X4",
"attributes": {
"total_hdmi_ports": [
{
"value": 4,
"marketplace_id": "ATVPDKIKX0DER"
}
],
"resolution": [
{
"language_tag": "en_US",
"value": "4K",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"item_weight": [
{
"unit": "pounds",
"value": 107.6,
"marketplace_id": "ATVPDKIKX0DER"
}
],
"product_subcategory": [
{
"value": "50400150",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"item_dimensions": [
{
"width": {
"unit": "inches",
"value": 72.4
},
"length": {
"unit": "inches",
"value": 2.4
},
"height": {
"unit": "inches",
"value": 41.4
},
"marketplace_id": "ATVPDKIKX0DER"
}
],
"brand": [
{
"language_tag": "en_US",
"value": "Samsung Electronics",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"generic_keyword": [
{
"language_tag": "en_US",
"value": "smart tv; 4k tv; roku tv ;lg tv; oled tv; 65 inch smart tv; 4k tv 65 inch; lg smart tv; nvidia shield tv 2018; tv 4k; oled tv 65; sony 4k tv; 4k smart tv; 4k hdr tv; nvidia shield tv; gaming tv; lg 65 inch 4k tv; tv 65 inch smart tv 4k; 65 inch 4k tv; sony 65 inch 4k tv; vizio 4k tv; uhd tv; uhd tv 4k",
"marketplace_id": "ATVPDKIKX0DER"
},
{
"language_tag": "en_US",
"value": "lg oled; 65 inch smart tv; samsung qled 75 inch tv; 85 inch 4k tv; lg smart tv; 4k tv 65 inch; samsung qled 82 inch tv; 8k tv; lg oled 65; lg smart tv; qled samsung 65 inch; 80 inch tv 4k; sony 4k tv; nvidia shield tv 2018",
"marketplace_id": "ATVPDKIKX0DER"
},
{
"language_tag": "en_US",
"value": "samsung q9fn qled 2018; vizio; lg oled; lg 4k; sony 4k; sony oled; toshiba; antenna; dvd player; outdoor tv; kitchen tv; fire tv; firetv; hdtv; hd tv; android; shield tv; gaming; deals; tv ears; roku; dvr; speakers; digital tv antenna; apple tv; android tv; frame; mount",
"marketplace_id": "ATVPDKIKX0DER"
},
{
"language_tag": "en_US",
"value": "4k hdr tv; 70" tv; nvidia shield tv; 90 inch tv; gaming tv; 75" tv; lg 65 inch 4k tv; tv 65 inch smart tv 4k; 65 inch 4k tv; sony 65 inch 4k tv; vizio 4k tv; uhd tv; uhd tv 4k;",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"control_method": [
{
"value": "voice",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"item_package_dimensions": [
{
"length": {
"unit": "centimeters",
"value": 26.67
},
"width": {
"unit": "centimeters",
"value": 121.92
},
"height": {
"unit": "centimeters",
"value": 203.2
},
"marketplace_id": "ATVPDKIKX0DER"
}
],
"image_aspect_ratio": [
{
"language_tag": "en_US",
"value": "16:9",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"part_number": [
{
"value": "QN82Q60RAFXZA",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"includes_remote": [
{
"value": true,
"marketplace_id": "ATVPDKIKX0DER"
}
],
"item_type_name": [
{
"language_tag": "en_US",
"value": "TV",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"battery": [
{
"cell_composition": [
{
"value": "alkaline"
}
],
"marketplace_id": "ATVPDKIKX0DER"
}
],
"manufacturer": [
{
"language_tag": "en_US",
"value": "Samsung",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"number_of_boxes": [
{
"value": 1,
"marketplace_id": "ATVPDKIKX0DER"
}
],
"total_usb_ports": [
{
"value": 2,
"marketplace_id": "ATVPDKIKX0DER"
}
],
"model_number": [
{
"value": "QN82Q60RAFXZA",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"supplier_declared_dg_hz_regulation": [
{
"value": "not_applicable",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"num_batteries": [
{
"quantity": 2,
"type": "aaa",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"california_proposition_65": [
{
"compliance_type": "on_product_combined_cancer_reproductive",
"marketplace_id": "ATVPDKIKX0DER"
},
{
"compliance_type": "chemical",
"chemical_names": [
"di_2_ethylhexyl_phthalate_dehp"
],
"marketplace_id": "ATVPDKIKX0DER"
}
],
"display": [
{
"resolution_maximum": [
{
"unit": "pixels",
"language_tag": "en_US",
"value": "3840 x 2160"
}
],
"size": [
{
"unit": "inches",
"value": 82
}
],
"type": [
{
"language_tag": "en_US",
"value": "QLED"
}
],
"marketplace_id": "ATVPDKIKX0DER"
}
],
"item_name": [
{
"language_tag": "en_US",
"value": "Samsung QN82Q60RAFXZA Flat 82-Inch QLED 4K Q60 Series (2019) Ultra HD Smart TV with HDR and Alexa Compatibility",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"list_price": [
{
"currency": "USD",
"value": 3799.99,
"marketplace_id": "ATVPDKIKX0DER"
}
],
"batteries_required": [
{
"value": false,
"marketplace_id": "ATVPDKIKX0DER"
}
],
"includes_rechargable_battery": [
{
"value": false,
"marketplace_id": "ATVPDKIKX0DER"
}
],
"product_site_launch_date": [
{
"value": "2019-03-11T08:00:01.000Z",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"product_category": [
{
"value": "50400100",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"batteries_included": [
{
"value": false,
"marketplace_id": "ATVPDKIKX0DER"
}
],
"connectivity_technology": [
{
"language_tag": "en_US",
"value": "Bluetooth",
"marketplace_id": "ATVPDKIKX0DER"
},
{
"language_tag": "en_US",
"value": "USB",
"marketplace_id": "ATVPDKIKX0DER"
},
{
"language_tag": "en_US",
"value": "Wireless",
"marketplace_id": "ATVPDKIKX0DER"
},
{
"language_tag": "en_US",
"value": "HDMI",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"included_components": [
{
"language_tag": "en_US",
"value": "QLED Standard Smart Remote",
"marketplace_id": "ATVPDKIKX0DER"
},
{
"language_tag": "en_US",
"value": "Power Cable",
"marketplace_id": "ATVPDKIKX0DER"
},
{
"language_tag": "en_US",
"value": "Stand",
"marketplace_id": "ATVPDKIKX0DER"
},
{
"language_tag": "en_US",
"value": "Samsung Smart Control",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"specification_met": [
{
"language_tag": "en_US",
"value": "",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"cpsia_cautionary_statement": [
{
"value": "no_warning_applicable",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"item_type_keyword": [
{
"value": "qled-televisions",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"number_of_items": [
{
"value": 1,
"marketplace_id": "ATVPDKIKX0DER"
}
],
"warranty_description": [
{
"language_tag": "en_US",
"value": "1 year manufacturer",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"max_resolution": [
{
"unit": "pixels",
"value": 8.3,
"marketplace_id": "ATVPDKIKX0DER"
}
],
"item_package_weight": [
{
"unit": "kilograms",
"value": 62.142,
"marketplace_id": "ATVPDKIKX0DER"
}
],
"supported_internet_services": [
{
"language_tag": "en_US",
"value": "Amazon Instant Video",
"marketplace_id": "ATVPDKIKX0DER"
},
{
"language_tag": "en_US",
"value": "YouTube",
"marketplace_id": "ATVPDKIKX0DER"
},
{
"language_tag": "en_US",
"value": "Netflix",
"marketplace_id": "ATVPDKIKX0DER"
},
{
"language_tag": "en_US",
"value": "Hulu",
"marketplace_id": "ATVPDKIKX0DER"
},
{
"language_tag": "en_US",
"value": "Browser",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"tuner_technology": [
{
"language_tag": "en_US",
"value": "Analog Tuner",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"wireless_communication_technology": [
{
"language_tag": "en_US",
"value": "Wi-Fi::Wi-Fi Direct::Bluetooth",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"model_year": [
{
"value": 2019,
"marketplace_id": "ATVPDKIKX0DER"
}
],
"power_source_type": [
{
"language_tag": "en_US",
"value": "Corded Electric",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"street_date": [
{
"value": "2019-03-21T00:00:01Z",
"marketplace_id": "ATVPDKIKX0DER"
}
],
"refresh_rate": [
{
"unit": "hertz",
"language_tag": "en_US",
"value": "120",
"marketplace_id": "ATVPDKIKX0DER"
}
]
},
"identifiers": [
{
"marketplaceId": "ATVPDKIKX0DER",
"identifiers": [
{
"identifier": "0887276302195",
"identifierType": "EAN"
},
{
"identifier": "00887276302195",
"identifierType": "GTIN"
},
{
"identifier": "887276302195",
"identifierType": "UPC"
}
]
}
],
"images": [
{
"marketplaceId": "ATVPDKIKX0DER",
"images": [
{
"variant": "MAIN",
"link": "https://m.media-amazon.com/images/I/51DZzp3w3vL.jpg",
"height": 333,
"width": 500
}
]
}
],
"productTypes": [
{
"marketplaceId": "ATVPDKIKX0DER",
"productType": "TELEVISION"
}
],
"ranks": [
{
"marketplaceId": "ATVPDKIKX0DER",
"ranks": [
{
"title": "Electronics",
"link": "http://www.amazon.com/gp/bestsellers/electronics",
"value": 61667
},
{
"title": "QLED TVs",
"link": "http://www.amazon.com/gp/bestsellers/electronics/21489946011",
"value": 84
}
]
}
],
"summaries": [
{
"marketplaceId": "ATVPDKIKX0DER",
"brandName": "Samsung Electronics",
"colorName": "Black",
"itemName": "Samsung QN82Q60RAFXZA Flat 82-Inch QLED 4K Q60 Series (2019) Ultra HD Smart TV with HDR and Alexa Compatibility",
"manufacturer": "Samsung",
"modelNumber": "QN82Q60RAFXZA",
"sizeName": "82-Inch",
"styleName": "TV only"
}
],
"variations": [
{
"marketplaceId": "ATVPDKIKX0DER",
"asins": [
"B08J7TQ9FL"
],
"variationType": "CHILD"
}
],
"vendorDetails": [
{
"marketplaceId": "ATVPDKIKX0DER",
"brandCode": "SAMF9",
"categoryCode": "50400100",
"manufacturerCode": "SAMF9",
"manufacturerCodeParent": "SAMF9",
"productGroup": "Home Entertainment",
"replenishmentCategory": "OBSOLETE",
"subcategoryCode": "50400150"
}
]
}
Tutorial: Search for items in the Amazon catalog
Use this tutorial to search for items in the Amazon catalog.
Prerequisites
To complete this tutorial, you will need:
- Authorization from the Selling Partner for whom you are making calls. Refer to Authorizing Selling Partner API Applications for more information.
- Approval for the Product Listing role in your developer profile.
- The Product Listing role selected in the App registration page for your application.
Step 1: Get a list of catalog items and associated information
To search for and return a list of catalog items with the optional associated information you specify, call the searchCatalogItems
operation.
Call the searchCatalogItems
operation, passing the following parameters:
Request Parameters
Query Parameters
Parameter | Example | Description | Required |
---|---|---|---|
keywords
|
shoes
|
A comma-delimited list of words or item identifiers to search the Amazon catalog for.
Type: < string > array(csv) |
Yes |
marketplaceIds
|
ATVPDKIKX0DER
|
A comma-delimited list of Amazon marketplace identifiers.
Refer to Marketplace IDs for the list of Amazon marketplace identifiers. Type: < string > array(csv) |
Yes |
includedData
|
summaries
|
A comma-delimited list of item details to request. If none are specified, will default to returning
summaries
data.
Type: < enum ( |
No |
brandNames
|
Beautiful Boats
|
A comma-delimited list of brand names to limit the search to. Type: < string > array(csv) |
No |
classificationIds
|
12345678
|
A comma-delimited list of classification identifiers to limit the search to. Type: < string > array(csv) |
No |
pageSize
|
9
|
Number of results to be returned per page. Default: 10 Type: integer |
No |
pageToken
|
Refer to the example response. | A token to fetch a certain page when there are multiple pages worth of results. Type: string |
No |
keywordsLocale
|
en-US
|
The language the keywords are provided in. Keywords will be translated to the response locale for searching if the two differ. Type: string |
No |
locale
|
es-US
|
Return results in this language, if available. If this parameter is not specified, the results will be returned in the marketplace's default language. Type: string |
No |
Example Request
GET https://sellingpartnerapi-na.amazon.com/catalog/2020-12-01/items
?keywords=red,polo,shirt
&marketplaceIds=ATVPDKIKX0DER
&includedData=summaries
&pageSize=5
Response
A successful response includes the following:
Name | Example | Description |
---|---|---|
numberOfResults
|
3097
|
The total number of products matched by the search query (only results up to the page count limit will be returned per request regardless of the number found). Type: integer |
pagination
|
Refer to the example response | A JSON object containing one or more page tokens that can be used to fetch the next or previous page of results. Type: |
refinements
|
Refer to the example response | A JSON object containing keys that can be used to refine the search results down to certain brands or categories. Type: |
items
|
Refer to the example response | A list of items from the Amazon catalog. Type: < |
Example Response
{
"numberOfResults": 12247,
"pagination": {
"nextToken": "9HkIVcuuPmX_bm51o3-igBfN45pxW4Ru7ElIM6GCECYCuXJKzT26f-AlJJZYjIPp8wkOEmQdma1wt_JvE7qiRmNsKy7hH"
},
"refinements": {
"brands": [
{
"numberOfResults": 91,
"brandName": "Polo Ralph Lauren"
},
{
"numberOfResults": 79,
"brandName": "Eddie Bauer"
},
{
"numberOfResults": 46,
"brandName": "Cutter & Buck"
},
{
"numberOfResults": 39,
"brandName": "FILA"
},
{
"numberOfResults": 37,
"brandName": "Orvis"
}
],
"classifications": [
{
"numberOfResults": 1243,
"displayName": "Clothing, Shoes & Jewelry",
"classificationId": "7141124011"
},
{
"numberOfResults": 126,
"displayName": "Sports & Outdoors",
"classificationId": "3375301"
}
]
},
"items": [
{
"asin": "B002N36Q3M",
"summaries": [
{
"marketplaceId": "ATVPDKIKX0DER",
"brandName": "Fred Perry",
"colorName": "Wht/Brt Red/Nvy",
"itemName": "Fred Perry Men's Twin Tipped Polo Shirt-M1200, WHT/BRT RED/NVY, X-Large",
"manufacturer": "Fred Perry Men's Apparel",
"modelNumber": "M1200",
"sizeName": "X-Large",
"styleName": "Twin Tipped Polo Shirt-m1200"
}
]
},
{
"asin": "B002N3ABSI",
"summaries": [
{
"marketplaceId": "ATVPDKIKX0DER",
"brandName": "Fred Perry",
"colorName": "White/Bright Red/Navy",
"itemName": "Fred Perry Men's Twin Tipped Polo, White/Bright Red/Navy, SM",
"manufacturer": "Fred Perry Apparel Mens",
"modelNumber": "M1200-748",
"sizeName": "SM",
"styleName": "Twin Tipped Fred Perry Polo"
}
]
},
{
"asin": "B01N5B3598",
"summaries": [
{
"marketplaceId": "ATVPDKIKX0DER",
"brandName": "NHL",
"colorName": "Red",
"itemName": "NHL New Jersey Devils Men's Polo, Small, Red",
"manufacturer": "Knight's Apparel",
"modelNumber": "H0MEE3ZAMZ",
"sizeName": "Small"
}
]
},
{
"asin": "B00HIVDUXI",
"summaries": [
{
"marketplaceId": "ATVPDKIKX0DER",
"brandName": "adidas",
"colorName": "Bold Red/White",
"itemName": "Adidas Golf Men's Puremotion Textured Stripe Polo, Bold Red/White, Large",
"manufacturer": "TaylorMade - Adidas Golf Apparel",
"modelNumber": "TM3010S4",
"sizeName": "Large"
}
]
},
{
"asin": "B005ZZ12YS",
"summaries": [
{
"marketplaceId": "ATVPDKIKX0DER",
"brandName": "RALPH LAUREN",
"colorName": "Black / Red Pony",
"itemName": "Polo Ralph Lauren Men's Long-sleeved T-shirt / Sleepwear / Thermal in Black, Red Pony (Large / L)",
"sizeName": "Large"
}
]
}
]
}
Paging in the response to a search for items in the Amazon catalog
When a call to the searchCatalogItems
operation produces a response that exceeds the pageSize
, pagination occurs. This means the response is divided into individual pages, where each page is returned in successive calls. To retrieve the next page or the previous page, you must pass the nextToken
value or the previousToken
value as the pageToken
parameter in the next request.
You get the first page of results when you call the searchCatalogItems
operation and provide no page token. You then iterate through the rest of the pages using the nextToken
page token provided in successive responses.
Page tokens are special values that are decoded to determine which page is requested and how many pages are before or after.
If the next or previous page is not available, the corresponding page token attribute (nextToken
or previousToken
respectively) will not be present in the pagination
object.
Examples:
When the response does not exceed the pageSize
, there is no pagination, so there is no nextToken
or previousToken
:
"pagination": {
},
When the response exceeds the pageSize
and pagination occurs:
For the first page, there is no previous page, so there is no previousToken
:
"pagination": {
"nextToken": "XXXXXX"
},
For the last page, there is no next page, so there is no nextToken
:
"pagination": {
"previousToken": "XXXXXX"
},
For all other pages:
"pagination": {
"nextToken": "XXXXXX",
"previousToken": "XXXXXX"
},
Note
Even though there can be more than 1000 ASINs that match the search criteria, the maximum number of results that can be returned and paged through is limited to 1000. For example, if the caller sets the
pageSize
to 10, the maximum number of possible pages is 100.
Updated about 2 months ago