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

Power Search Syntax

The individual parts of a power search query use the following syntax.

Copy
keyword:value

The following example searches for books by author name.

Copy
author:Davenport

Values are not case-sensitive. The value "Davenport" returns the same books as "davenport".

For complex searches, use operators (for example, and, note, or) to link the individual parts. The following example uses the and operator to search for books by author name and publication date.

Copy
author:Davenport and pubdate:during 2006

The following example uses operators to search books that meet the criteria:

  • The subject is either Spanish or Mexican history.

  • The keyword military does not appear in the description.

  • The language is Spanish.

Copy
subject:history and (spain or mexico) and not military and language:spanish

The following example request uses these parameters with the Power parameter. Spaces must be URL-encoded (%20).

Copy
http://webservices.amazon.com/onca/xml? Service=AWSECommerceService& AWSAccessKeyId=[Access Key ID]& AssociateTag=[Associate Tag]& Operation=ItemSearch& SearchIndex=Books&Power=subject:history%20and%20(spain%20or%20mexico)%20and%20not%20military%20and%20language:spanish &Timestamp=[YYYY-MM-DDThh:mm:ssZ] &Signature=[Request Signature]