Amazon Product Search icon

Amazon Product Search

Search for products on Amazon and get their details

Overview

This node allows users to interact with Amazon's Product Advertising API to either search for products or retrieve detailed information about a specific product using its ASIN (Amazon Standard Identification Number). The "Get Product Details" operation fetches comprehensive details about a single product, such as title, price, images, ratings, brand, and description.

Common scenarios where this node is beneficial include:

  • E-commerce platforms wanting to display up-to-date product information from Amazon.
  • Price comparison tools that need detailed product data.
  • Marketing automation workflows that require enriched product metadata.

For example, a user can input an ASIN and select which fields to include in the response (e.g., Title, Price, Images), and the node will return those details for that product.

Properties

Name Meaning
Product ASIN The Amazon Standard Identification Number (ASIN) of the product to retrieve details for.
Include Fields The specific product fields to include in the response. Options: Title, Features, Price, Images, Rating, Review Count, Brand, Product Description. Default includes Title, Price, and Images.

Output

The output JSON contains the following structure when the "Get Product Details" operation is used:

{
  "success": true,
  "operation": "getProductDetails",
  "product": {
    "title": "string",            // Product title
    "asin": "string",             // ASIN of the product
    "url": "string",              // URL to the product page on Amazon marketplace
    "price": "string",            // Display price of the product
    "imageUrl": "string",         // URL of the product image (medium size)
    "rating": "string",           // Average star rating
    "reviewCount": number,        // Number of customer reviews
    "features": ["string"],       // List of product features
    "brand": "string",            // Brand name
    "description": "string"       // Product description text
  }
}

If an error occurs, the output JSON will contain:

{
  "success": false,
  "error": "Error message string",
  "operation": "getProductDetails"
}

The node does not output binary data.

Dependencies

  • Requires an Amazon Product Advertising API credential with access keys, partner tag, and marketplace configuration.
  • Uses the amazon-paapi npm package internally to communicate with Amazon's API.
  • The node expects the user to configure these credentials properly within n8n before execution.

Troubleshooting

  • Common issues:

    • Invalid or missing ASIN: The node requires a valid ASIN; otherwise, no product details will be returned.
    • Incorrect or expired API credentials: Ensure the Amazon API keys and partner tag are correct and active.
    • Network or API rate limits: Amazon enforces usage limits; hitting these may cause errors.
  • Error messages:

    • "An unknown error occurred": Generic fallback error; check network connectivity and API credentials.
    • Specific error messages from Amazon API (e.g., invalid credentials, quota exceeded) will be passed through in the error field.
  • Resolution tips:

    • Verify the ASIN format and existence on the specified marketplace.
    • Double-check API credentials and permissions.
    • Monitor API usage to avoid throttling.

Links and References

Discussion