amazone-data-extractor-piece
v0.2.0
Published
Activepieces piece to extract product details from Amazon by link or ASIN — title, price, images, discount, description, and more.
Downloads
323
Maintainers
Readme
Amazon Data Extractor — Activepieces Piece
An Activepieces community piece that extracts product details from Amazon by product link or ASIN. No API key required.
Features
- 🔍 Extract by ASIN or full Amazon URL
- 🌍 22 Amazon marketplaces supported (US, UK, DE, FR, IT, ES, JP, CA, AU, IN, BR, MX, and more)
- 💰 Price extraction with locale-aware parsing (USD, EUR, GBP, JPY, etc.)
- 🖼️ Hi-res image URLs extraction
- 📊 Comprehensive data: title, price, original price, discount, description, images, rating, reviews, availability, brand
Installation
Self-hosted Activepieces
Add the piece to your Activepieces instance:
npm install @activepieces/piece-amazon-data-extractorThen register it in your Activepieces configuration.
Actions
1. Extract Product by ASIN
Extract product details using an Amazon ASIN code.
Inputs:
| Property | Type | Required | Description | |----------|------|----------|-------------| | ASIN | Text | ✅ | 10-character Amazon product identifier | | Country | Dropdown | ✅ | Amazon marketplace (default: US) | | Currency | Dropdown | ❌ | Override output currency |
2. Extract Product by URL
Extract product details from a full Amazon product URL.
Inputs:
| Property | Type | Required | Description | |----------|------|----------|-------------| | Product URL | Text | ✅ | Full Amazon product URL | | Currency | Dropdown | ❌ | Override output currency |
Output (Both Actions)
{
"productUrl": "https://www.amazon.com/dp/B0BSHF7WHW",
"title": "Product Name",
"currentPrice": "$29.99",
"currentPriceValue": 29.99,
"originalPrice": "$39.99",
"originalPriceValue": 39.99,
"discountPercentage": "-25%",
"currency": "USD",
"currencySymbol": "$",
"description": ["Feature 1", "Feature 2"],
"fullDescription": "Detailed product description...",
"imageUrls": ["https://images-na.ssl-images-amazon.com/..."],
"mainImageUrl": "https://images-na.ssl-images-amazon.com/...",
"asin": "B0BSHF7WHW",
"rating": "4.5 out of 5 stars",
"reviewCount": "1,234 ratings",
"availability": "In Stock",
"brand": "BrandName",
"countryCode": "US"
}Supported Marketplaces
| Country | Domain | Currency | |---------|--------|----------| | 🇺🇸 United States | amazon.com | USD | | 🇬🇧 United Kingdom | amazon.co.uk | GBP | | 🇩🇪 Germany | amazon.de | EUR | | 🇫🇷 France | amazon.fr | EUR | | 🇮🇹 Italy | amazon.it | EUR | | 🇪🇸 Spain | amazon.es | EUR | | 🇯🇵 Japan | amazon.co.jp | JPY | | 🇨🇦 Canada | amazon.ca | CAD | | 🇦🇺 Australia | amazon.com.au | AUD | | 🇮🇳 India | amazon.in | INR | | 🇧🇷 Brazil | amazon.com.br | BRL | | 🇲🇽 Mexico | amazon.com.mx | MXN | | 🇳🇱 Netherlands | amazon.nl | EUR | | 🇸🇬 Singapore | amazon.sg | SGD | | 🇸🇦 Saudi Arabia | amazon.sa | SAR | | 🇦🇪 UAE | amazon.ae | AED | | 🇹🇷 Turkey | amazon.com.tr | TRY | | 🇸🇪 Sweden | amazon.se | SEK | | 🇵🇱 Poland | amazon.pl | PLN | | 🇧🇪 Belgium | amazon.com.be | EUR | | 🇪🇬 Egypt | amazon.eg | EGP | | 🇿🇦 South Africa | amazon.co.za | ZAR |
Important Notes
⚠️ Rate Limiting: Amazon may temporarily block requests if too many are made in a short period. The piece includes user-agent rotation and proper headers to minimize this.
⚠️ CAPTCHA: If Amazon detects automated access, it may show a CAPTCHA page. The piece will throw a clear error if this happens. Wait a few minutes and retry.
⚠️ Selector Changes: Amazon occasionally updates their HTML structure. If extraction stops working for certain fields, the piece may need a selector update.
License
MIT
