Amazon PA API icon

Amazon PA API

Interact with Amazon Product Advertising API

Overview

This node integrates with the Amazon Product Advertising API to retrieve product information from Amazon. It supports multiple operations, including searching for items, getting detailed item information by ASINs, and retrieving browse node data.

The Get Items operation specifically allows users to fetch detailed information about one or more products by providing their ASINs (Amazon Standard Identification Numbers). This is useful when you have specific product IDs and want to obtain up-to-date details such as titles and pricing.

Common scenarios:

  • Affiliate marketers retrieving product details to display on their websites.
  • E-commerce platforms syncing product info from Amazon.
  • Data analysts collecting product metadata for market research.

Example:
You provide a comma-separated list of ASINs like B07PGL2ZSL,B08N5WRWNW and receive back the title and price information for those products.

Properties

Name Meaning
Partner Tag Your Amazon Partner Tag used for affiliate tracking; overrides default if set.
Item IDs (for Get Items) Comma-separated list of ASINs identifying the products to retrieve information for.

Output

The node outputs an array with one element per input item. Each element contains a json field holding the raw response from the Amazon Product Advertising API for the requested operation.

For Get Items, the json output includes detailed product information such as:

  • Item titles
  • Pricing details (e.g., current offers and listings)

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, marketplace).
  • The node depends on the external amazon-paapi library to interact with the Amazon API.
  • Credentials must be configured in n8n with the necessary API keys and partner tag.

Troubleshooting

  • Missing Partner Tag Error: If neither the node parameter nor credentials provide a partner tag, the node throws an error stating that the PartnerTag is required. Ensure you set this either in the node or in your credentials.
  • Missing Item IDs Error: For the Get Items operation, if no ASINs are provided, the node will throw an error indicating that Item IDs are required.
  • API Request Failures: 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".
  • Malformed ASIN List: Ensure the ASINs are correctly formatted as a comma-separated string without extra spaces or invalid characters.

Links and References

Discussion