Menu
Product Advertising API
Developer Guide (API Version 2013-08-01)

Search by Keyword

The following request uses the ItemSearch operation to find items by keyword. The Keywords parameter has the value, harry potter. To search the entire Amazon catalog, use the All search index.

Example Request

Copy
http://webservices.amazon.com/onca/xml? Service=AWSECommerceService &Operation=ItemSearch &ResponseGroup=Small &SearchIndex=All &Keywords=harry_potter &AWSAccessKeyId=[Your_AWSAccessKeyID] &AssociateTag=[Your_AssociateTag] &Timestamp=[YYYY-MM-DDThh:mm:ssZ] &Signature=[Request_Signature]

Example Response

The following response returns three items.

Copy
<MoreSearchResultsUrl> https://www.amazon.com/gp/redirect.html?camp=2025&creative=386001&location=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fsearch%3Fkeywords%3Dharry%2Bpotter%26url%3Dsearch-alias%253Daws-amazon-aps&linkCode=xm2&tag=[Your_AssociateTag]&AWSAccessKeyId=[Your_AWSAccessKeyId] </MoreSearchResultsUrl> <Item> <ASIN>B005OCFGTO</ASIN> <DetailPageURL> https://www.amazon.com/Harry-Potter-Complete-8-Film-Collection/dp/B005OCFGTO%3FAWSAccessKeyId%3D[Your_AWSAccessKeyId]%26tag%3D[Your_AssociateTag]%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB005OCFGTO </DetailPageURL> <ItemAttributes> <Actor>Daniel Radcliffe</Actor> <Actor>Rupert Grint</Actor> <Actor>Emma Watson</Actor> <Actor>Robbie Coltrane</Actor> <Actor>Maggie Smith</Actor> <Director>Chris Columbus</Director> <Director>Alfonso Cuaron</Director> <Director>Mike Newell</Director> <Director>David Yates</Director> <Manufacturer>Warner Bros.</Manufacturer> <ProductGroup>DVD</ProductGroup> <Title>Harry Potter: The Complete 8-Film Collection</Title> </ItemAttributes> </Item> <Item> <ASIN>059035342X</ASIN> <DetailPageURL> https://www.amazon.com/Harry-Potter-Sorcerers-Stone-Book/dp/059035342X%3FAWSAccessKeyId%3D[Your_AWSAccessKeyId]%26tag%3D[Your_AssociateTag]%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D059035342X </DetailPageURL> <ItemAttributes> <Author>J.K. Rowling</Author> <Creator Role="Illustrator">Mary GrandPré</Creator> <Manufacturer>Scholastic Paperbacks</Manufacturer> <ProductGroup>Book</ProductGroup> <Title>Harry Potter and the Sorcerer's Stone (Book 1)</Title> </ItemAttributes> </Item> <Item> <ASIN>B002DQLGHU</ASIN> <DetailPageURL> https://www.amazon.com/Harry-Potter-Sorcerers-Stone/dp/B002DQLGHU%3FAWSAccessKeyId%3D[Your_AWSAccessKeyId]%26tag%3D[Your_AssociateTag]%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB002DQLGHU </DetailPageURL> <ItemAttributes> <Actor>Daniel Radcliffe</Actor> <Actor>Rupert Grint</Actor> <Actor>Emma Watson</Actor> <Actor>John Cleese</Actor> <Actor>Robbie Coltrane</Actor> <Creator Role="Producer">David Heyman</Creator> <Creator Role="Writer">Steve Kloves</Creator> <Creator Role="Writer">J.k. Rowling</Creator> <Director>Chris Columbus</Director> <ProductGroup>Movie</ProductGroup> <Title>Harry Potter and the Sorcerer's Stone</Title> </ItemAttributes> </Item>