npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

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

Readme

Amazon Data Extractor — Activepieces Piece

npm version License: MIT

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-extractor

Then 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