eMAG Price Tracker
AI-generatedSummary
Tracks price changes on an eMAG product page and optionally alerts on a configured price‑drop percentage.
Inputs
- productUrl (required) — URL of the eMAG product page to track
- priceDropPercent — Percentage drop that triggers an alert; set 0 or omit to disable alerts
Output shape
an array of objects representing tracked product data
Each object contains title, price, oldPrice, discount, inStock, stockLabel, image, productId, url, priceDropAlert, priceDropAmount, lastTrackedPrice, history (up to 5 recent entries), and scrapedAt; priceDropAlert and priceDropAmount appear only when priceDropPercent > 0.
Examples
Example 1: Simple price tracking without alerts
productUrl set to target URL; priceDropPercent left at default 0, so only price data is emitted.
Example 2: Alert on price drops of 10% or more
productUrl provided; priceDropPercent set to 10, causing priceDropAlert and priceDropAmount fields to be included when applicable.