Using SimilarityLookup

When you put an item ID in a SimilarityLookup operation requires, the response includes similar items. In previous sections, you saw that you can use the Similarities response group to return similar items. So, why use SimilarityLookup? This operation gives you the following advantages:

The following request returns items similar to the specified ASIN.

http://ecs.amazonaws.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=[AWS Access Key ID]&
Operation=SimilarityLookup&
ItemId=[ASIN]

The following XML is a snippet of the full response.

<Item>
  <ASIN>B0009VX8VI</ASIN>
  <DetailPageURL>http://www.amazon.com/exec/obidos/redirect?tag=ws%26link_code=xm2%26camp=2025%26creative=165953%26path=http://www.amazon.com/gp/redirect.html%253fASIN=B0009VX8VI%2526tag=ws%2526lcode=xm2%2526cID=2025%2526ccmID=165953
%2526location=/o/ASIN/B0009VX8VI%25253FAWSAccessKeyId=[AWS Access Key ID]</DetailPageURL>
  <ItemAttributes>
  <ProductGroup>Apparel</ProductGroup>
  <Title>Mark VII Men's Short Sleeve Knit Golf Shirt</Title>
</ItemAttributes>
</Item>

This response shows that one item, Mark VII Men's Short Sleeve Knit Golf Shirt, was found that is similar to the ASIN specified in the request.

Topics