http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService&
Operation=ItemSearch&
AWSAccessKeyId=
[Access Key ID]
&
AssociateTag=
[ID]
&
SearchIndex=Apparel&
Keywords=Shirt
&Timestamp=[YYYY-MM-DDThh:mm:ssZ]
&Signature=[Request Signature]
General Request Format
Part of every Product Advertising API request is always the same. The other part of the request varies
according to the parameters used in the request, as shown in the following figure.
Request Terms that Remain the Same
The first two lines in the preceding example contain the endpoint, http://webservices.amazon.com/onca/xml,
and the service name, AWSECommerceService.
Amazon hosts many web services in addition to Product Advertising API, including Mechanical Turk and
S3. The service name in the request specifies that the request should be sent by the web servers to
Product Advertising API. This line is always the same in every Product Advertising API request, regardless
of locale.
Service=AWSECommerceService&
The endpoint value varies by locale, but there are only two endpoints per locale. One endpoint in a locale
is the secure version of the other endpoint. The following table lists the endpoints to use in Product
Advertising API requests.
Endpoint
Locale
http://ecs.amazonaws.ca/onca/xml
https://ecs.amazonaws.ca/onca/xml
CA
http://webservices.amazon.cn/onca/xml
https://webservices.amazon.cn/onca/xml
CN
http://ecs.amazonaws.de/onca/xml
https://ecs.amazonaws.de/onca/xml
DE
http://webservices.amazon.es/onca/xml
https://webservices.amazon.es/onca/xml
ES
http://ecs.amazonaws.fr/onca/xml
https://ecs.amazonaws.fr/onca/xml
FR
API Version 2011-08-01
47
Product Advertising API Developer Guide
Anatomy of a REST Request