Product Advertising API
Developer Guide (API Version 2011-08-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

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:

  • SimilarityLookup provides a number of request parameters, such as Condition, to help filter the response

  • SimilarityLookup is able to use many response groups to customize the information in the response

  • You can specify more than one item in a request and find items that are similar to all of them, or similar to each item in the request

The following request returns items similar to the specified ASIN.

http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=[AWS Access Key ID]&
Operation=SimilarityLookup&
ItemId=[ASIN]
&Timestamp=[YYYY-MM-DDThh:mm:ssZ]
&Signature=[Request Signature]

The following XML is a snippet of the full response.

<Item>
  <ASIN>B0009VX8VI</ASIN>
  <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.