n8n-nodes-amazon-creators
v1.0.0
Published
n8n community node for Amazon Creators API (replacement for PA-API 5.0): SearchItems, GetItems, GetBrowseNodes, GetVariations with OAuth 2.0 auth and token caching.
Maintainers
Readme
n8n-nodes-amazon-creators
n8n community node for the Amazon Creators API — the OAuth 2.0 successor to the deprecated Product Advertising API 5.0 (PA-API 5). It lets you search the Amazon catalog, look up items by ASIN, browse nodes, and variations, all from an n8n workflow.
PA-API 5 is deprecated. Calls to
webservices.amazon.com/paapi5/*now return403 AccessDeniedException. This package replaces the old@henkey/n8n-nodes-amazon-paapinode with a fork that talks to the newcreatorsapi.amazon/catalog/v1/*endpoints using OAuth 2.0 with built-in token caching.
n8n is a fair-code licensed workflow automation platform.
Installation
Follow the installation guide in the n8n community nodes documentation.
npm install n8n-nodes-amazon-creatorsNodes
Amazon Creators API
Full-coverage node exposing the four Creators API operations:
- Search Items — keyword/category search with filters (brand, price, reviews, condition, delivery flags, currency, sort, pagination).
- Get Items — detail lookup by ASIN (up to 10 per request).
- Get Browse Nodes — browse node information.
- Get Variations — variations for a parent ASIN.
Each request lets you pick which Resources to return. Only resources valid for the selected operation are sent to the API. The node uses OffersV2 (the new offers resource) since the legacy Offers.* resources were removed in the Creators API.
Output preserves the legacy envelope { success, errorMessage?, originalResponse?, ... } so existing downstream nodes keep working after migration.
Amazon Product Search (tool-friendly)
A simpler node usable as an AI agent tool:
- Search Products — keyword search returning normalized products (title, asin, url, price, image, features, brand).
- Get Product Details — ASIN lookup (single or comma-separated).
Credentials
Register for the Creators API in Amazon Associates Central (Tools → CreatorsAPI → Create Application → Create Credential). You will receive:
- Credential ID (replaces the old AWS Access Key)
- Credential Secret (replaces the old AWS Secret Key)
- Version (e.g.
2.1,3.1) — determines the OAuth flow:2.x→ AWS Cognito token endpoint;Authorization: Bearer <token>, Version <version>on API calls.3.x→ Login with Amazon (LwA) token endpoint;Authorization: Bearer <token>on API calls.- The second digit encodes the region:
1= NA,2= EU,3= FE.
- Region (NA / EU / FE) — fallback used to pick the token endpoint if the version can't be parsed.
In n8n, create an Amazon Creators API credential with those four values plus your Partner Tag and Marketplace. Your credential is valid across all marketplaces — to query a different locale just change the marketplace and use a Partner Tag issued in that region.
Access tokens are cached in memory for ~1 hour and refreshed automatically ~5 minutes before expiry.
Migration from PA-API 5
- Create new Creators API credentials as above (old AWS keys do not work).
- Install this node and remove/replace the old Amazon PA API node and credential in your workflows.
- Re-select the Amazon Creators API credential on each node.
- The JSON output shape is unchanged, so expressions and downstream nodes should keep working. If you were requesting
Offers.*resources, switch to the providedOffersV2.*resources.
See the official migration guide.
Compatibility
- Requires n8n 1.x and Node.js >= 18.10 (uses the built-in global
fetch). - Works as a workflow node and as an AI agent tool (the Product Search node).
Resources
License
This package is a fork of HenkDz/n8n-nodes-amazon-paapi, rewritten for the Amazon Creators API. Credits to the original author.
