Price History & Real-Discount Check (EU 30-day rule) avatar

Price History & Real-Discount Check (EU 30-day rule)

Pricing

from $0.70 / 1,000 checked products

Go to Apify Store
Price History & Real-Discount Check (EU 30-day rule)

Price History & Real-Discount Check (EU 30-day rule)

Returns, for each product from any shop scraper dataset or URL: current price, stated original price, lowest price in the 30 days before the discount, real vs claimed discount %, an EU Omnibus verdict and alerts (target price, drop, new low). Keeps price history across runs.

Pricing

from $0.70 / 1,000 checked products

Rating

0.0

(0)

Developer

Enrique Wood

Enrique Wood

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Categories

Features

Limited permissions

Share

Checks whether a shop's discount is real. Feed it the products another scraper already collected, or product URLs, and run it daily. For each product it keeps the price history in your Apify account and returns:

  • current price, the "original" price the shop shows and the claimed discount %
  • the lowest price in the 30 days before the reduction started, and the real discount against it
  • a verdict under the EU price-indication rule (Omnibus Directive), with a one-sentence explanation
  • alerts: target price reached, price drop or rise, new 90-day low, questionable discount

It does not scrape shops itself (except for single product URLs). It sits on top of the scrapers you already use, so it works with any shop they cover.

When to use it

  • Deal hunting and price alerts: "tell me when this drops below €199" and "is this Black Friday deal actually a deal?"
  • AI agents and assistants: one call answers "is this a good price right now?", with a structured verdict an agent can act on.
  • Pricing and compliance teams: spot products whose reference price is above the 30-day low, on your shop or a competitor's.
  • Market research: real discount depth per shop or category over time.

Works with

Field names are detected automatically, including these formats:

SourceHow
Amazon scrapers (price.value, listPrice.value, asin)Integration or dataset ID
Apify E-commerce Scraping Tool (offers.price, offers.priceCurrency)Integration or dataset ID
Alza, Datart, Mironet and Planeo scrapers by the same author (price, regularPrice)Integration or dataset ID
Any product page with schema.org Product dataProduct page URLs
Shopify shops (any theme): price and the shop's compare-at price from the public /products/<handle>.jsProduct page URLs

In URL mode the shop's original price is read from schema.org data (a StrikethroughPrice or ListPrice) or, on Shopify shops, from the product's public JSON. Many other shops don't publish it at all, so for discount verdicts a shop scraper dataset gives more complete results. URL mode uses Apify datacenter proxy or your own proxy URLs; residential proxy is not available here. Shops that block datacenter IPs are better read with a dedicated scraper whose dataset you pass to this Actor.

For other datasets, set Field mapping, e.g. {"price": "offer.amount", "originalPrice": "was", "id": "sku"}.

How to run it

As an integration (recommended). Open your shop scraper → Integrations → Connect Actor → choose this Actor. Every time the scraper finishes, this Actor reads its dataset and updates the history. Schedule the scraper daily.

With a dataset ID. Pick a dataset in Products dataset.

With URLs. Paste product pages in Product page URLs, or add a Watchlist with target prices:

{
"watchlist": [
{ "url": "https://www.example-shop.com/product/123", "targetPrice": 199 }
],
"output": "alerts",
"webhookUrl": "https://hooks.example.com/price-alerts"
}

Input

FieldDefaultMeaning
datasetId–Dataset from another Actor. Empty in an integration: the triggering run's dataset is used.
urls–Product pages to read directly (robots.txt is respected).
watchlist–[{url, targetPrice}]; adds AT_OR_BELOW_TARGET alerts.
historyNamedefaultSeparate histories, e.g. per client. Stored as the key-value store rdc-history-<name>.
historyStoreId–Optional: an existing key-value store to keep the history in (picked from your storage).
outputallall, discounts, questionable or alerts. All products are always added to the history.
webhookUrl–One POST per run with all alerts.
fieldMap{}Dotted paths for unusual field names.
lookbackDays30Window before the reduction.
tolerancePct1Price differences below this count as equal.
maxItems10000Safety limit per run.

Output

One row per product. This one is from a real run on 30 October 2026 (Alza.at TVs). It was the first day of history for the product, so the verdict is still INSUFFICIENT_HISTORY. Once there are observations from before the current price started, lowestPrior30 and realDiscountPct are filled in and the verdict becomes GENUINE or REFERENCE_ABOVE_30_DAY_LOW.

{
"id": "WK690g5fc",
"name": "98\" TCL 98Q6C",
"url": "https://www.alza.at/98-tcl-98q6c-d12883294.htm",
"shop": "alza.at",
"currency": "EUR",
"price": 1699,
"statedOriginalPrice": 1999,
"claimedDiscountPct": 15,
"lowestPrior30": null,
"realDiscountPct": null,
"verdict": "INSUFFICIENT_HISTORY",
"verdictExplanation": "A discount is claimed, but we have no observations from the 30 days before the current price started. Keep running daily; the verdict appears once history exists.",
"currentPriceSince": "2026-10-29",
"lowest30d": 1699,
"average90d": 1699,
"highest90d": 1699,
"previousPrice": null,
"changePct": null,
"observations": 1,
"firstSeen": "2026-10-29",
"alerts": [],
"targetPrice": null,
"publishedLowest30": null,
"source": "dataset",
"checkedAt": "2026-10-29"
}

Dates are UTC days.

The run summary (counts per verdict, alerts) is in the key-value store record SUMMARY.

Verdicts

VerdictMeaning
NO_DISCOUNT_CLAIMEDNo higher original price is shown.
GENUINEThe stated original price matches the lowest price of the 30 days before the reduction.
REFERENCE_ABOVE_30_DAY_LOWThe stated original price is higher than that lowest price. The real discount is smaller than claimed.
REFERENCE_ABOVE_PUBLISHED_30_DAY_LOW / CONSISTENT_WITH_PUBLISHED_30_DAY_LOWNo own history yet; compared with the 30-day lowest price the shop itself publishes (if the scraper returns it).
INSUFFICIENT_HISTORYA discount is claimed but there is no history from before it. Keep running daily.

realDiscountPct can be negative: the current price is higher than the lowest price before it.

How the 30-day check works

The EU rule (Directive 98/6/EC, art. 6a) says the "prior price" in a price reduction must be the lowest price applied in at least the 30 days before the reduction. The Actor finds the day the current price started, takes its own observations from the 30 days before that day, and compares the shop's stated original price with the lowest of them. A product needs at least one observation before the reduction, so verdicts improve as history builds up. One observation per product per day is kept, for 400 days.

This is a data check, not legal advice. Shops outside the EU are not bound by this rule, and a shop's own records can differ from what a scraper observed.

Pricing

Pay per event:

  • Product checked: each product added to the history and analysed.
  • Page fetched: each product page read in URL mode (on top of Product checked).

Set a max charge per run in the run options; the Actor stops cleanly at that limit and never checks products it cannot charge for.

Storage and privacy

The history is a named key-value store in your own account (rdc-history-<historyName>, or the store you pick in History store), split into 256 records. Delete it to start over. Running two runs with the same history name at the same time can lose one day's updates; use different names or schedule them apart. Only product data is stored.

Use with AI agents

Through the Apify MCP server, an agent can run this Actor with a watchlist and read verdict, realDiscountPct and alerts directly. Field names and verdict codes are stable.

Shop scrapers by the same author. Their datasets work here without field mapping; connect one as an integration and every scheduled run updates the price history.

Built by Enrique Wood, Prague.