1 Answer
- Newest
- Most votes
- Most comments
1
Hi Piyali Karmakar,
please try this solution it will be helpful for you.
First Value:
Use this for broad categories. This helps in general searches and provides a high-level understanding of the product category.
Second Value:
Use this for more specific subcategories. This is useful for detailed product searches and precise filtering.
Example Breakdown
{
"BrowseNodes": [
{
"ContextFreeName": "Novelty Tank Tops",
"DisplayName": "Tank Tops",
"Id": "1731139031"
},
{
"ContextFreeName": "Graphic Clothing Shop",
"DisplayName": "Graphic Clothing Shop",
"Id": "15408109031"
}
]
}
Which value for use
First Value (General): "Novelty Tank Tops" (Id: "1731139031`)
Second Value (Specific): "Graphic Clothing Shop" (Id: "15408109031`)
Relevant content
- asked 4 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago

i am saying that in SearchItems api BrowseNodes have multiple value which one i should take for correct category for any perticular product. That also match amazon product breadcrumbs.
please try look at this solution which option is best for your query below.
The best approach to determine the correct BrowseNode from the SearchItems API response that matches Amazon's product breadcrumbs involves a systematic comparison and selection process:
Retrieve Breadcrumbs:
Extract the breadcrumbs displayed on the Amazon product page. Breadcrumbs typically show the hierarchical category path such as "Home & Kitchen > Furniture > Living Room Furniture > Sofas & Couches".
Understand BrowseNodes:
Each BrowseNode in the API response represents a category or node within Amazon's product taxonomy. These nodes are identified by unique BrowseNodeId values.
Compare and Match:
For each product, compare the BrowseNodes provided by the API with the breadcrumbs.
Identify the BrowseNode that aligns most closely with the category hierarchy shown in the breadcrumbs. This alignment should consider both the specificity (how closely it matches the exact category path) and relevance (how accurately it describes the product's category).
Prioritize Specificity:
Prefer BrowseNodes that are more specific and directly match the category shown in the breadcrumbs. This ensures accuracy in categorizing the product.
Validation:
Test your selection method across different products to ensure consistency and accuracy in choosing the correct BrowseNode.