Resources for Developers Using Amazon's Product Advertising API
· Home  
· Search  
· Browse Nodes  
· Data Feed?  
· FAQs  
· One-Second Rule  
· PHP Examples  
· Tips for Associates  
· Tools  
· Understanding A2S  

Create a custom Amazon Associate Store in minutes with
Associate-O-Matic.

Disappointed by Amazon.com and the Associates program?

Please consider
Shareasale

Shareasale manages affiliate programs for thousands of merchants. The site makes it easier to apply to programs and create links. And simple-to-use datafeeds are offered by most merchants.

ItemSearch Operation

A2S Query

http://ecs.amazonaws.com/onca/xml?
   Service=AWSECommerceService
   &AWSAccessKeyId=--
   &AssociateTag=browsenodes-20
   &Operation=ItemSearch
   &Keywords=Mr.+Richland
   &SearchIndex=MusicTracks
   &ResponseGroup=Small,Tracks
   &Version=2100-01-01

The above URL executes an A2S ItemSearch query. The ItemSearch operation returns information about products which match the specified parameters such as BrowseNode and SearchIndex

The Small response group returns basic information about the items in a response.

A2S Response

The following is the XML response returned by A2S for the above query.
<ItemSearchResponse>
 <OperationRequest>
  <HTTPHeaders>
   <Header Name="UserAgent" Value="Oblio/1.0
(+http://www.rogersmithsoftware.com/)" />
  </HTTPHeaders>
  <RequestId>acf63be7-a101-46d5-87ab-43a1fbb7d3a0</Requ
estId>
  <Arguments>
   <Argument Name="AWSAccessKeyId" Value="--" />
   <Argument Name="AssociateTag" Value="browsenodes-20"
/>
   <Argument Name="Condition" Value="New" />
   <Argument Name="Keywords" Value="Mr. Richland" />
   <Argument Name="Operation" Value="ItemSearch" />
   <Argument Name="ResponseGroup" Value="Small,Tracks"
/>
   <Argument Name="SearchIndex" Value="MusicTracks"
/>
   <Argument Name="Service" Value="AWSECommerceService"
/>
   <Argument Name="Timestamp"
Value="2018-12-19T14:52:39Z" />
   <Argument Name="Version" Value="2011-08-01" />
   <Argument Name="Signature" Value="--" />
  </Arguments>
  <RequestProcessingTime>0.0395987850000000</RequestPro
cessingTime>
 </OperationRequest>
 <Items>
  <Request>
   <IsValid>True</IsValid>
   <ItemSearchRequest>
    <Condition>New</Condition>
    <Keywords>Mr. Richland</Keywords>
    <ResponseGroup>Small</ResponseGroup>
    <ResponseGroup>Tracks</ResponseGroup>
    <SearchIndex>MusicTracks</SearchIndex>
   </ItemSearchRequest>
   <Errors>
    <Error>
     <Code>AWS.ECommerceService.NoExactMatc
hes</Code>
     <Message>We did not find any matches
for your request.</Message>
    </Error>
   </Errors>
  </Request>
  <TotalResults>0</TotalResults>
  <TotalPages>0</TotalPages>
  <MoreSearchResultsUrl>https://www.amazon.com/gp/search?l
inkCode=xm2&SubscriptionId=--&keywords=Mr.%20Richland&tag=brows
enodes-20&creative=386001&url=search-alias%3Dmusic-song&camp=20
25</MoreSearchResultsUrl>
 </Items>
</ItemSearchResponse>


Copyright © 2018 by Roger Smith