Overview
This node integrates with the Amazon Product Advertising API to perform various operations such as searching for items, retrieving item details by ASIN, and getting browse node information. The "Search Items" operation allows users to search for products on Amazon using keywords, making it useful for affiliate marketers, e-commerce analysts, or developers building product discovery tools.
Practical examples:
- Searching for electronics or books by keyword to display relevant products.
- Building a price comparison tool that fetches current offers.
- Creating an affiliate marketing dashboard that dynamically lists products based on user input.
Properties
| Name | Meaning |
|---|---|
| Partner Tag | Amazon Partner Tag used for affiliate tracking; overrides the default if provided. |
| Keywords | Search terms used to find items on Amazon (applicable only for the "Search Items" operation). |
Output
The node outputs an array containing one object per input item. Each output object has a json field holding the raw response from the Amazon Product Advertising API corresponding to the requested operation.
For the "Search Items" operation, the json output contains the search results returned by the API, including product details matching the keywords.
No binary data output is produced by this node.
Dependencies
- Requires an active Amazon Product Advertising API account with valid credentials: Access Key, Secret Key, Partner Tag, and Marketplace.
- The node depends on the external
amazon-paapinpm package to interact with the Amazon API. - Users must configure the node with appropriate credentials containing the necessary API keys and partner tag.
Troubleshooting
- Missing Partner Tag: If neither the node parameter nor credentials provide a Partner Tag, the node throws an error stating it is required.
- Missing Keywords for Search: When performing a search without specifying keywords, the node will fail because keywords are mandatory for the "Search Items" operation.
- API Request Errors: Network issues, invalid credentials, or exceeding API rate limits can cause request failures. The node surfaces these errors with messages prefixed by "Failed to execute Amazon PA API operation".
- Invalid Input Format: For other operations (not "Search Items"), missing or improperly formatted inputs like Item IDs or Browse Node IDs will cause errors.
To resolve errors:
- Ensure all required parameters are set correctly.
- Verify that the Amazon API credentials are valid and have sufficient permissions.
- Check network connectivity and API usage limits.