Enhanced n8n node for Amazon Product Advertising API with full Resources support
npm install n8n-nodes-amazon-paapi-enhancedAn enhanced n8n community node for Amazon Product Advertising API (PA-API 5.0) with full Resources support, better security, and comprehensive product data retrieval.


n8n-nodes-amazon-paapi node, our enhanced version supports ALL PA-API 5.0 Resources with proper specifications:- ItemInfo.Title - Product title
- ItemInfo.Features - Product features and bullet points
- ItemInfo.ContentInfo - Content information (pages, languages, etc.)
- ItemInfo.TechnicalInfo - Technical specifications (brand, model, etc.)
- ItemInfo.ProductInfo - Product information (color, size, etc.)
- Images.Primary.Small/Medium/Large - Primary product images in all sizes
- Images.Variants - Additional product images
- Offers.Listings.Price - Price and availability information
- Offers.Listings.Availability.Message - Stock status
- Offers.Listings.Condition - Item condition (New, Used, etc.)
- Offers.Summaries.HighestPrice - Price summaries
- ParentASIN - Parent ASIN for product variations
- BrowseNodeInfo.BrowseNodes - Category information
- CustomerReviews.Count - Customer review count
- CustomerReviews.StarRating - Customer review ratings
| Feature | Original Node | Enhanced Node |
|---------|---------------|---------------|
| Resources Support | ā Limited (title only) | ā
Complete (all PA-API resources) |
| Price Information | ā Missing | ā
Full (Offers.Listings + Summaries) |
| Product Images | ā Missing | ā
Complete (Primary + Variants, all sizes) |
| Netherlands Marketplace | ā Missing | ā
Supported (amazon.nl) |
| Structured Output | ā Raw API response | ā
Clean, organized data |
| Error Handling | ā Basic | ā
Comprehensive with validation |
| Security | ā Basic | ā
Password masking + validation |
| Resource Specification | ā Incorrect format | ā
Proper PA-API 5.0 format |
NEVER commit your real Amazon PA-API credentials to Git!
- Always use placeholder values in examples
- Rotate your credentials regularly
- Use environment variables for production
- Monitor your API usage in Amazon Partner Central
``bash`Example .env file (DO NOT commit!)
AMAZON_ACCESS_KEY=your-access-key-here
AMAZON_SECRET_KEY=your-secret-key-here
AMAZON_PARTNER_TAG=your-partner-tag-here
4. Click Install$3
`bash
For n8n running locally
npm install n8n-nodes-amazon-paapi-enhancedFor Docker installations
docker exec n8n npm install n8n-nodes-amazon-paapi-enhanced
docker restart n8n
`$3
`bash
Clone the repository
git clone https://github.com/yourusername/n8n-nodes-amazon-paapi-enhanced.git
cd n8n-nodes-amazon-paapi-enhancedInstall dependencies
npm installBuild the node
npm run buildInstall in your n8n environment
npm install /path/to/n8n-amazon-paapi-enhanced
`š§ Configuration
$3
Create new credentials in n8n:
- Type: Amazon PA-API Enhanced
- Access Key ID: Your Amazon PA-API Access Key
- Secret Access Key: Your Amazon PA-API Secret Key
- Partner Tag: Your Amazon Associate ID
- Marketplace: Choose your marketplace (e.g., www.amazon.nl)$3
1. Add the "Amazon PA-API Enhanced" node to your workflow
2. Select your credentials
3. Choose the desired operation:
- Get Items: Retrieve product info by ASIN(s)
- Search Items: Search products with keywords
- Get Browse Nodes: Retrieve category information$3
Choose which product information to retrieve:
- For prices: Select "Offers - Listings Price" and "Offers - Summaries"
- For images: Select "Images - Primary Medium/Large" and "Images - Variants"
- For product details: Select "Item Info - Features" and "Item Info - Technical Info"š Output Structure
The node returns structured, clean data:
`json
{
"operation": "getItems",
"itemCount": 1,
"items": [
{
"asin": "B08N5WRWNW",
"title": "Product Title",
"features": ["Feature 1", "Feature 2"],
"primaryImage": {
"small": "https://...",
"medium": "https://...",
"large": "https://..."
},
"offers": [
{
"price": "ā¬29.99",
"currency": "EUR",
"availability": "In Stock",
"condition": "New",
"merchant": "Amazon.nl",
"isPrime": true
}
],
"priceSummary": [
{
"condition": "New",
"lowestPrice": "ā¬29.99",
"highestPrice": "ā¬39.99",
"offerCount": 5
}
]
}
]
}
`š Usage Examples
$3
`
Operation: Get Items
Item IDs: B08N5WRWNW
Resources:
- ItemInfo.Title
- ItemInfo.Features
- Images.Primary.Medium
- Offers.Listings.Price
`$3
`
Operation: Search Items
Keywords: wireless headphones
Search Index: Electronics
Item Count: 10
Resources:
- ItemInfo.Title
- Images.Primary.Medium
- Offers.Summaries.HighestPrice
`$3
`
Operation: Get Items
Item IDs: B08N5WRWNW,B07XJ8C8F5,B09KMVNY87
Resources:
- ItemInfo.Title
- Offers.Listings.Price
- Images.Primary.Large
`š ļø Development
$3
`
n8n-amazon-paapi-enhanced/
āāā credentials/
ā āāā AmazonPaApiEnhanced.credentials.ts
āāā nodes/
ā āāā AmazonPAEnhanced/
ā āāā AmazonPAEnhanced.node.ts
ā āāā amazon.svg
āāā dist/ # Compiled output
āāā package.json
āāā tsconfig.json
āāā README.md
`$3
`bash
npm run build # Compile TypeScript + copy icons
npm run dev # Watch mode for development
npm run lint # ESLint checking
npm run format # Prettier formatting
`$3
`bash
Run tests
npm testTest specific functionality
npm run test:api
`šØ Troubleshooting
$3
"Bad Request" Error
- Ensure you're using the correct Resource specifications (e.g.,
Images.Primary.Medium not Images.Primary)
- Verify your credentials are valid and have PA-API access
- Check that your Partner Tag is active and approvedMissing Product Data
- Select appropriate Resources for the data you need
- Some products may not have all data available (e.g., prices, reviews)
- Verify the ASIN exists in your selected marketplace
Rate Limiting
- Amazon PA-API has rate limits (1 request per second for new associates)
- Implement proper delays between requests
- Use batch processing to retrieve multiple items efficiently
š Requirements
- n8n version 0.190.0 or higher
- Valid Amazon PA-API credentials
- Active Amazon Associates account
- Node.js 16+ (for development)
š¤ Contributing
Contributions are welcome! Please follow these steps:
1. Fork the repository
2. Create a feature branch (
git checkout -b feature/amazing-feature)
3. Commit your changes (git commit -m 'Add amazing feature')
4. Push to the branch (git push origin feature/amazing-feature`)This project is licensed under the MIT License - see the LICENSE file for details.
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- n8n Community: n8n Community Forum
- Built on top of the amazon-paapi library
- Inspired by the original n8n-nodes-amazon-paapi community node
- Thanks to the n8n community for feedback and testing
- Amazon PA-API 5.0 Documentation
- n8n Community Nodes
- Amazon Associates Program
---
Made with ā¤ļø for the n8n community